Unable to power off VM from webclient and ESXCLI

 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

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...