Unable to power off a VM , Hangs at 95%
I had a problem with a Dev Machine that had become completely unresponsive , we were unable to ping it , and unable to control it using vsphere.
I tried to power it down but the progress halted at 95% ,
I putty'd in to the host and tried to power it down using
vim-cmd vmsvc/getallvms and getting the vmid
then
vim-cmd vmsvc/power.off XX i then checked the power state
vim-cmd vmsvc/power.getsate XX and found that the machine was still up
I then tried to pull the rug from under the VM by running
esxcli vm process list - obtained the worldID of the misbehaving VM
esxcli vm process kill --type=soft --world-id=XXXX
Checked powerstate with
vim-cmd vmsvc/power.getsate XX - failed tried a hard kill
esxcli vm process kill --type=hard --world-id=XXXX-Failed again , so last chance saloon
esxcli vm process kill --type=force --world-id=XXXX
No comments:
Post a Comment