ESXi Hosts Disconnected After Reverting vCenter Server to a Snapshot

When reverting a vCenter Server to an earlier snapshot, you may find that one or more ESXi hosts appear as Disconnected in the vSphere Client.

One possible reason is a mismatch in the vpxuser credentials.

Why does this happen?

vCenter Server uses the internal vpxuser account to communicate with and manage ESXi hosts. By default, its password is automatically rotated every 30 days.

Consider the following scenario:

  1. You take a snapshot of your vCenter Server.
  2. Some time later, vCenter automatically rotates the vpxuser password on the ESXi hosts.
  3. For some reason, you revert vCenter Server to the previous snapshot.
  4. The vCenter database now contains the old vpxuser password, while the ESXi hosts have the new password.

As a result, vCenter can no longer authenticate to the affected ESXi hosts, and they appear as disconnected.

How to fix it

Fortunately, the recovery process is straightforward.

  1. Log in to the vSphere Client.
  2. Navigate to Hosts and Clusters.
  3. Right-click the affected ESXi host and select Connection → Disconnect.
  4. Once disconnected, right-click the host again and select Connection → Connect.
  5. When prompted, provide the ESXi host’s root credentials.
  6. Accept the certificate if prompted and wait for the host to reconnect.

During this process, vCenter resets the vpxuser credentials and establishes a new management connection.

Important: There is normally no need to remove and re-add the ESXi host from inventory. Disconnecting and reconnecting it with root credentials is sufficient for this scenario.

References

Leave a Reply

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