I’m not convinced that this is supported, but it did work. As with anything on a blog, use at your own risk.
I was working on rebuilding my home lab and wanted to clear down the host that my vCenter VM was sitting on. Before doing that I wanted to rescue some files from it (long story). For some reason it hung on me and wouldn’t respond so I tried to reset it. This process got as far as 95% and then got stuck
One way to unstick such a VM is to SSH onto the hosts that it’s running on and use the vm-support command. How?
Run “vm-support -x” to show the world IDs of the running VMs on the host:
The one that I wanted was 9190. Using “vm-support -X 9190″ and answering “y” to the three questions that follow will, eventually, result in you getting control back of the VM without affecting anything else. Just remember, try it at your own risk
Michael Poore is a Senior Consultant for Virtual Clarity, a small virtualisation / cloud consultancy based in London and San Francisco. Michael works on all aspects of datacenter virtualisation, automation, orchestration and management for various global companies. He started the vSpecialist blog in 2008 and convinced co-author Jeremy Bowman to join in over a beer a while later.