Quickly change ESXi host name/FQDN via Putty

0
WALL PAPER is LOADING
  1. Put host in maintenance mode
  2. For safety, remove the host from vCenter if its connected to one. This will keep your vCenter clean.
  3. Make sure DNS is correct (A records point at the correct IP’s)
  4. Putty to your target host
  5. Check the current name by typing:
    esxcli system hostname get
  6. Change the hostname by typing:
    esxcli system hostname set –host=NEWHOSTNAMEHERE
  7. Change the FQDN by typing
    esxcli system hostname set –fqdn=NEWHOSTNAMEHERE.domain.name
  8. Check that the names have taken and are correct by repeating step 4
  9. Reboot by typing:
    reboot
  10. Once rebooted, check that all is well.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.