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 is a Senior Consultant for Xtravirt. If it's got buttons or flashy lights on it then it'll probably be on his radar. When not "mending computers" (it's sometimes easier than explaining "cloud" to relatives), Michael provides essential education, entertainment and trampoline services to his two children.