3 Replies Latest reply on Apr 27, 2018 12:49 AM by lvln

    Rename esxi 6 host

    lvln Novice

      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. Re: Rename esxi 6 host
          IT_pilot Expert
          vExpert

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

          • 2. Re: Rename esxi 6 host
            thompsoa Novice
            vExpert

            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

            • 3. Re: Rename esxi 6 host
              lvln Novice

              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 !!