Virtual machines are orphaned after rebooting the ESXi host on which they reside
book
Article ID: 340247
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Symptoms: Virtual machines become orphaned when you reboot the ESXi host on which they are running.
Environment
VMware vCenter Server 5.0.x VMware vSphere ESXi 5.0
Cause
This issue occurs if the host is rebooted within an hour after the virtual machines are moved or powered on, as the vmInventory.xml file does not persist and hostd does not report these virtual machines as registered on the host. In an HA enabled cluster, this condition impacts only the virtual machines with HA restart disabled.
Resolution
This is a known issue.
To workaround this issue:
Power off the virtual machine.
Use vCenter Server to un-register the affected virtual machine from the inventory and register it back again.