troubleshooting Question

ESXi 6.7: cannot poweroff VM

Avatar of Armitage318
Armitage318 asked on
Virtualization* eSXI 6.7VMware
7 Comments1 Solution18 ViewsLast Modified:
Hi, I put one of my ESXi hosts in maintenance mode, but that task is currently in progress because one guest VM seems to have issues.
I am unable to edit anything on that VM, in vSphere console I noticed:
"the operations is not allowed in current state. The operation cannot be performaed because VM migration is in progress"
I tried to shut down affected VM through ESXi hosts (not vCenter).
it seems guest shutdown initiated (it is a very old XP vm!), but if I type:

vim-cmd vmsvc/power.getstate 131
Retrieved runtime info
Powered on

VM still results on.
I also tried with:

esxcli vm process kill -t=hard -w=2236513
esxcli vm process kill -t=force -w=2236513
esxcli vm process kill -t=soft -w=2236513

with no luck.
What else can I try to shutdown this VM?
Thank you!

ASKER CERTIFIED SOLUTION
Armitage318

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros