Unable to power off VM from webclient and ESXCLI
Issue:
- Tried power off/kill/reset from webclient and it hangs
- Tried from ESXI CLI with:
[root@-s1:~] vim-cmd vmsvc/power.off 323
Powering off VM:
Power off failed
[root@-s1:~]
Solution:
- SSH to ESXI
- get world ID of your VM:
[root@:~] esxcli vm process list
VM1
World ID: 2001025
Process ID: 0
VMX Cartel ID: 315952
UUID: 42 0f 13 30 90 95 b7 41-65 2f d0 37 72 89 ba 0e
Display Name: VM1
- Forcefully power off VM:
-w =>world ID
--type=soft/hard/force
[root@1:~] esxcli vm process kill --type=hard -w=1412715
[root@1:~]
No comments:
Post a Comment