11
Apr
Powering off an unresponsive virtual machine on an ESXi host
Comments
- Log in as root to the ESXi using SSH.
- Get a list of running virtual machines, identified by World ID, UUID, Display Name, and path to the
.vmx
configuration file by running this command: - Take a note of the world ID of the non-responsive virtual machine. In this example the World ID is 2104633
- Power off the virtual machine from the list by running one of these commands:
esxcli vm process kill -t=soft -w=WorldID
Note:
esxcli vm process kill -t=hard -w=WorldID
esxcli vm process kill -t=force -w=WorldID- Soft is the most graceful
- Hard performs an immediate shutdown
- Force should be used as a last resort