VMware Cloud Community
lvln
Enthusiast
Enthusiast
Jump to solution

Rename esxi 6 host

Hello,

I try to rename my esxi host via :

- dcui -> DNS Configuration / Hostname

- vsphereclient

- webui

or

esxcli system hostname set --fqdn localhost.domain

But my system keep my old hostname ... Did I missed something ?

Thanhs for your help,

1 Solution

Accepted Solutions
lvln
Enthusiast
Enthusiast
Jump to solution

Hello,

My esx is a standalone esx (no cluster, no vca, or vsphere managment) . I just try to rename a system.

And when I use the vsphere client and apply the description you described above it did not worked even after a reboot.

What is working :

esxcfg-advcfg -s newhostname /Misc/hostname

and

reboot

Thanks Anyway !!

View solution in original post

3 Replies
IT_pilot
Expert
Expert
Jump to solution

If the ESXi host is managed by vCenter Server, disconnect and remove the ESXi host from the vCenter Server

http://it-pilot.ru
0 Kudos
thompsoa
Enthusiast
Enthusiast
Jump to solution

Hi there!

Please refer to the following Kb VMware Knowledge Base

To rename a VMware ESXi host:

  1. If the ESXi host is part of a cluster, first enter the Maintenance mode to remove it from the cluster.
  2. If the ESXi host is managed by VirtualCenter/vCenter Server, disconnect and remove the ESXi host from the vCenter Server.
  3. Connect to the host directly with a vSphere Client.
  4. Click ESXi host.
  5. Click the Configuration tab.
  6. Click DNS and Routing.
  7. Click Properties.
  8. In the DNS Configuration tab, edit the Name field. Change anything else that is necessary in your environment.
  9. Click OK.
  10. Join the ESX host to VirtualCenter/vCenter Server and clusters.

Hope it helps!

Alicia T

Alicia Thompson www.bakingclouds.com Twitter:@bakingclouds
0 Kudos
lvln
Enthusiast
Enthusiast
Jump to solution

Hello,

My esx is a standalone esx (no cluster, no vca, or vsphere managment) . I just try to rename a system.

And when I use the vsphere client and apply the description you described above it did not worked even after a reboot.

What is working :

esxcfg-advcfg -s newhostname /Misc/hostname

and

reboot

Thanks Anyway !!