Configuring an ESX or ESXi host to display FQDN instead of IP address in vCenter without losing performance data

Purpose

This article provides steps for displaying an ESX or ESXi host's Fully Qualified Domain Name (FQDN) instead of its IP address in the vCenter Inventory without losing performance data for the ESX host while making the change.

Resolution

To configure an ESX host to display the FQDN in the vCenter inventory:

  1. Disconnect the ESX host from the Inventory in vCenter. Do not remove it from the Inventory.
  2. Log into the ESX host as root using an SSH client. If it is not possible to log in with an SSH client, log into the physical console of the ESX host as the root user.
  3. Delete the vpxuser account with the command:

    userdel vpxuser

    Note: The vpxuser account facilitates communication between the ESX host and vCenter. It is created again when the ESX host is reconnected to the Inventory in vCenter.

  4. Right-click the ESX host in vCenter and choose Connect.

    In vCenter Server 4.0, you see this error:

    Cannot complete due login due to an incorrect username or password

    In vCenter Server 2.5, you see this error:

    Login failed due to a bad username or password

    These messages can be safely ignored.

  5. Enter the FQDN for the ESX host and login credentials for the root user to add the ESX host to the Inventory in vCenter using its FQDN.

To configure an ESXi host to display the FQDN in the vCenter inventory:

  1. Disconnect the ESXi host from the Inventory in vCenter. Do not remove it from the Inventory.
  2. Connect to the host with the vSphere Client.
  3. Click the Local Users & Groups tab.
  4. Right-click vpxuser and click Remove.

    Note: The vpxuser account facilitates communication between the ESXi host and the vCenter Server. It is created again when the ESXi host is reconnected to the inventory in the vCenter Server.

  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.
    
    Based on VMware KB 1014030
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...