VMware Cloud Community
Pavellu
Contributor
Contributor

Rename ESXI in Vcenter 6.5

Hi

How  can I rename my ESXi in Vcenter?

Now it looks like IP.

I want to change it to custom name OR FQDN

Find this kb: VMware Knowledge Base , but I can't find vpxuser in webclient and getting "userdel: not found" on shell.

Thanks

Reply
0 Kudos
5 Replies
senthilkumarms8
Enthusiast
Enthusiast

If it is not part of a VDS then you can remove the ESXi host from vCenter and add it back to the vCenter with FQDN.

If the host is part of VDS then you have to migrated all the network to VSS and remove the host from vCenter add it back with FQDN then migrate the network form VSS to VDS

Reply
0 Kudos
Pavelll
Contributor
Contributor

Is it possible to do this without remove esxi from vcenter?

Reply
0 Kudos
Finikiez
Champion
Champion

Reply
0 Kudos
rwk1982
Enthusiast
Enthusiast

Try this:

  1. Enable SSH on the ESXi Host
  2. Disconnect the ESXi host from the Inventory in vCenter. Do not remove it from the Inventory.
  3. Connect to the host with SSH.
  4. delete the vpxuser: "esxcli system account remove --id=vpxuser"
  5. Right-click the ESXi host in vCenter Server and click Connect. You may see an error:

    Cannot complete due login due to an incorrect username or password

  6. Enter the FQDN for the ESXi host and login credentials for the root user to add the host back into Inventory.
Drink coffee.. Do stupid things faster with more energy...
Reply
0 Kudos
Pavellu
Contributor
Contributor

Try this:

  1. Enable SSH on the ESXi Host
  2. Disconnect the ESXi host from the Inventory in vCenter. Do not remove it from the Inventory.
  3. Connect to the host with SSH.
  4. delete the vpxuser: "esxcli system account remove --id=vpxuser"
  5. Right-click the ESXi host in vCenter Server and click Connect. You may see an error:

    Cannot complete due login due to an incorrect username or password

  6. Enter the FQDN for the ESXi host and login credentials for the root user to add the host back into Inventory.

hostname field disabled (gray) and cant be change

Reply
0 Kudos