By: Neemesh Patel user 23 Jun 2016 at 5:05 a.m. CDT

3 Responses
Neemesh Patel gravatar
Hi, I have been setting up the Gluu server on a development machine and have now begun to move it to the more permanent hardware. The permanent hardware runs a few other very basic services (not exclusively Gluu). The hardware server was names "serverA" in our DNS, the /etc/host file and the /etc/hostnames file as normal and there were no issues there. Since installing the Gluu server onto this hardware I notcied there were some unexpected behaviour. During setup when asked for the name of the Gluu-Server, I called it "identity.company.com" as my understanding was it needed this for the container and setting up all the metadata for Gluu. However, since installing it I have been getting some unexpected behaviour with the hostname. On the hardware server, the /etc/host file and /etc/hostnames both still say "serverA". However if I type in "hostname" to echo the hostname syetem variable value, it's now outputting "identity.company.com". Also, if I use "sudo", it works but always gives me a message "sudo: unable to resolve host identity.company.com". The problem is that we use the system variable "hostname" in our backup scripts so this is resolving an incorrect name ("identity" instead of "serverA"). Could someone explain why "hostname" has changed in the main O/S, how I could change it back and if this would cause issues from the Gluu perspective? Thanks

By Mohib Zico Account Admin 23 Jun 2016 at 5:18 a.m. CDT

Mohib Zico gravatar
Hello Neemash, >> The permanent hardware runs a few other very basic services (not exclusively Gluu). We highly recommend to use Gluu Server in one separate VM; Gluu Server itself is a huge system and need resources when it's in production peek time. >> On the hardware server, the /etc/host file and /etc/hostnames both still say "serverA". However if I type in "hostname" to echo the hostname syetem variable value, it's now outputting "identity.company.com". Keep the hostname same in whole system, that's what I can suggest you in community forum.

By Neemesh Patel user 23 Jun 2016 at 5:39 a.m. CDT

Neemesh Patel gravatar
I thought when Gluu installed, it installed to a container. Is that not the case or have I misunderstood and a container is not isolated from O/S?

By Mohib Zico Account Admin 23 Jun 2016 at 5:43 a.m. CDT

Mohib Zico gravatar
Yeah... Gluu Server is installed in a container but the hostname of VM should match the installation copy.