Virtual Machine Intermittently Inaccessible in vCenter and Invalid on ESXi Host Client
book
Article ID: 416119
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Virtual machines (VMs) intermittently toggle between "Inaccessible" and "Normal" states in the vCenter Server inventory.
This issue often occurs following a vSphere High Availability (HA) event or storage controller reset, where conflicting inventory registrations exist across multiple ESXi hosts.
Environment
VMware vCenter Server
VMware vSphere ESXi
Cause
This issue occurs due to a "Ghost Host" scenario resulting from conflicting VM registrations
During a vSphere HA failover event, multiple ESXi hosts attempt to register and claim the VM in their respective local inventories simultaneously, though only one host successfully powers it on.
These competing registrations cause inventory synchronization and database inconsistencies within vCenter Server.
Resolution
Follow these steps to clear the stale inventory registrations and re-register the virtual machine:
Identify the Datastore Location:
In the vCenter Server UI, navigate to the affected VM.
Click the Datastores tab and note the exact datastore and folder path where the VM's configuration (.vmx) file resides.
Unregister the VM from the ESXi Host Client:
Log in directly to the ESXi Host Client for the host displaying the VM as Invalid.
Right-click the invalid VM and select Unregister.
Remove the Stale Entry from vCenter:
Return to the vCenter Server UI.
Right-click the affected VM and select Remove from Inventory.
Re-register the VM in vCenter:
In vCenter Server, navigate to Storage and select the datastore noted in Step 1.
Click Files, locate the VM folder, and find the .vmx file
Select the .vmx file and click Register VM to add it cleanly back into the inventory.