We moved a cluster to a datacenter in another city and would like to rename the hosts in the cluster accordingly (the hosts are named by the city they're located in, so I need to change from OLDCITYvmhost01, 02, 03, 04 to NEWCITYvmhost01, 02, 03, 04). I believe the process to be:
Put the host into maintenance mode.
Disconnect the host from the vCenter server.
Connect to the host directly (I am using the stand-alone client).
Go to Configuration > DNS and Routing > Click Properties... then edit the name accordingly.
Go to vCenter web client.
Go to the cluster.
RIght-click cluster and choose Add Host.
Choose renamed host and configure through wizard.
Exit maintenance mode.
Will VMs migrate back to this host, now with a new name? I suspect they will in that the host is part of the cluster and the cluster is configured for HA and DRS. However, I wasn't sure if the VMs that were migrated off of the renamed host when it was put into maintenance mode would have some issue moving back.
Please let me know if there are other locations I need to update the host name, any caveats or errors I may encounter with the cluster, or if there is a reason besides personal preference to use the host's web client to do this.