We help IT Professionals succeed at work.

change esxi hostname?

Xetroximyn
Xetroximyn asked
on
Anything to watch out for with changing esxi hostname?  Any common pitfalls?

http://www.vmwareandme.com/2015/02/How-to-Change-the-hostname-and-DNS-servers-of-an-ESXi-6.0-host.html#.V43ObGgrKCo
Comment
Watch Question

Cloud Architect
Commented:
Here is the official VMware KB on it. If you follow that guideline there should be no issues, done it before.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
Make sure you have a valid DNS FQDN for it.

It's not ideal, changing the name after adding to vCenter Server. I would remove from vCenter Server, and add back the FQDN.
Top Expert 2015
Commented:
In ESXi6/vCenter6 you can do it with host profiles, i tried once and it still works after (name change included IP change, i dont know if that matters)
Most stable procedure is to remove ESXi from vcenter (maintenance mode/ disconnect/ remove from inventory/ reset configuration in ESXi screen) and completely re-type management network configuration.

Author

Commented:
Make sure you have a valid DNS FQDN for it.

It's not ideal, changing the name after adding to vCenter Server. I would remove from vCenter Server, and add back the FQDN.

So perhaps scrap my vcenter server, then rename esxi, then redeploy new vcenter appliance?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
As you have a new issue with vCenter Server - YES.

Remove ESXi from vCenter Server first, just to make it easier, and before you ask, this will not affect any running VMs.