VMware Troubleshooting: VM's grayed out as Disconnected, Inaccessible, Orphaned or Invalid

On daily basis we face lots of connectivity issue on virtual machine and here some troubleshooting hints to find/fix the issue.
Disconnected
A virtual machine is marked as disconnected when the vCenter has lost communication to the ESXi host where the virtual machine is running. The host is marked as not responding. This state is usually caused by a host that has been crashed. Other reasons could be network issues or problems with the vpxa service running on the host.
In this state vSphere HA would usually comes into play and tries to restart the virtual machine on another host in the cluster.

Solution
You can quickly reproduce that state by stopping vpxa (~ # /etc/init.d/vpxa stop)
Inaccessible
A virtual machine is marked as inaccessible when the host can no longer access the virtual machine configuration (.vmx) file.

Solution
That state can be caused by problems with the storage array or a renamed folder in the datastore.
When there is no issue with the storage array, remove and re-add the virtual machine to the inventory to solve this problem.
Orphaned
The virtual machine is no longer registered on the host it is associated with. That state can be caused by deleting a virtual machine directly on a host.

Solution
To fix this issue remove the orphaned entry form the vCenter Server. How to remove orphaned linked clones in a horizon view environment is explained here.

Invalid
A virtual machine is marked as invalid when the virtual machine configuration format is invalid. It is accessible on disk, but corrupted in a way that does not allow the server to read the content.

Solution
Examine the virtual machine configuration and re-add the virtual machine to the inventory. Check vmware.log in the virtual machine directory for error messages.


Comments

Popular posts from this blog

Part - 1 : Windows Administrator: L1: Interview question & Answer for AD, DNS, DHCP, WINS & DFS

Windows: Interview Q & A: L1 & L2 Interview question

How to create a Bootable ESXi Installer using USB Flash Drive