Fault Description: The VM is grayed out in the Vcenter list, the data store is opened in the Vcenter interface, "Add to Manifest" is grayed out, and the ESXi host where the VM resides is displayed as "Unknown" status
Processing process:
1. Use SSH to connect to the ESXi host where the VM is currently located;
2. Use the following command to confirm which ESXi host the VM is currently locked into:
Vmkfstools-d absolute path to the virtual machine VMX
Legend (from Network):
650) this.width=650; "src=" Http://image.mamicode.com/info/201511/20180921045441451182.png "alt=" 151318313396125. PNG "/>
As shown on the yellow line is a physical NIC MAC address for the ESXi host that currently locks the VM, which can be confirmed in the ESXI host-network adapter column in vcenter;
3, use the following command, list the current lock ESXi host, all the VMS;
Vim-cmd Vmsvc/getallvms
Check to see if there is a problem with the VM that is being viewed, and that the problem is not listed by the VM;
4. Then use the following command to see if there is an active process for the problem VM on the host;
PS | grep VM Name
After viewing, there are active processes:
5. Then use the following command to kill all processes of the problem VM:
Kill-9 the parent process number of the VM
(Note: The parent process number for the VM is the second column number, which is the same number)
6. Then connect the ESXi host directly and add the VM back to the manifest.
Cause of failure:
This problem occurs when the VM has been unregistered on that host, but there are still active processes residing on that host, most of which are caused by an exception to the VM.
Fault Description: VM appears as unknown status in vcenter list