Hello
I have been entangled in the situation, a VM, neither has been rebooted nor shutdown, which is run on ESXi 6.5 host. I also tied via cmd nothing worked.
I ran the following cmd to accomplished the task
vim-cmd vmsvc/getallvms
vmid
10 vmxxxxxx
vim-cmd vmsvc/power.getstate 10
power state online
vim-cmd vmsvc/power.shutdown 10
vim-cmd vmsvc/power.off 10
then ran to kill the world of VM
esxcli vm process list
esxcli VM process kill --type= soft, hard, force --world-id=47xxxxxx
it killed the world id
but VM was still in running mode.
tried to kill the process of VM
ps | grep vmx
list of vmx with process and parent process id
ran kill 47xxxxx
sh: can't kill PID 47xxxxxx: No such process
kill -9 47xxxxx
sh: can't kill PID 47xxxxxx: No such process
GUI: VM show already another task in the process
Please suggest any other set which will resolve my issue ASAP
You're welcome to take a sledgehammer to it and just powercycle the entire host.
Thanks