As mentioned, for a installation in a clients datacenter, I have been requested to rename a recently installed ESX host name
Following instructions foundin previous post:
1. Edit the /etc/hosts file to reflect the new name
2. Edit the /etc/sysconfig/network file to reflect the new name
3. execute the hostname <new name> command
4. Restart the mgmt-vmware service
Since restarting the mgmt-vmware service and subsequently the entire server, I'm unable to connect to the server via VI clien which exits with the following error:
Details: The server could not interpret the communication from the client. (The server returned an error: (503) Server Unavailable)
The only explanation I have is that I failed to stop or migrate the VCenter server that is hosted by this ESX server.
Please could someone help resolve this issue?
Drill into the VCenter Network Configuation tab to confirm the changes are complete on the Properties of the vSwitch 0.
You may need to update VMotion and DNS info here.
I had to move the host out of the cluster (DRS) in order to change this.
Here is the process to rename a host:
To rename an ESX host:
If the ESX host is part of a Cluster, remove it from the cluster.
If the ESX host is managed by a VirtualCenter server, disconnect and remove the ESX host from the cluster.
Make the modifications in your DNS environment to reflect the correct name and IP association for the new name.
Log in as root to the console of ESX host.
Using a text editor, change the name of the host in the following files:
Reboot the ESX host.
Join the ESX host to VirtualCenter and, if appropriate, add it to a cluster.