czwartek, 3 września 2015

Manually stopping virtual machines with ESXCLI on ESXi

    In some cases, virtual machines do not respond to the normal shutdown or stop commands.Not responding in vSphere Client on Vcenter. In these cases, it might be necessary to manually shut down the virtual machines.

# List all running virtual machines on the system to see the World ID of the virtual machine that you want to stop:
esxcli vm process list
# Kill (stop) the virtual machine by running the following command:
esxcli vm process kill [cmd options]
Example:

# List all running virtual machines on the system to see the World ID of the virtual machine that you want to stop:

~ # esxcli vm process list
AHSDC
   World ID: 2331910
   Process ID: 0
   VMX Cartel ID: 250197
   UUID: 42 2d 2c 6c 29 38 96 81-c7 65 5a 4d 2e f4 81 5f
   Display Name: AHSDC
   Config File: /vmfs/volumes/554a239a-6285f416-7db9-000ae4847e00/AHSDC/AHSDC.vmx



# Kill (stop) the virtual machine by running the following command:

~ # esxcli vm process kill -t force -w 2331910

 I hope this informative for you. Thanks for Reading!. Be Social and share it in social media, if you feel worth sharing it


Helpfull links::

Brak komentarzy: