We use vRanger to perform weekly BUPs of our VMs.
This week vRanger began its BUP of one of the VMs and never completed. Now the VM is hung. I cannot power it down with any of the GUI power-down operations.
How can I force this VM to shutdown? Is there a way to kill the world ID?
Thanks,
-MattG
try stopping it via the command line:
vmware-cmd -l = list all the vm's running, copy and paste the full path to the below command.
vmware-cmd <config> stop trysoft
if trysoft doesn't work you could always kill the process ->
ps -ef | more
find the proces related to the world
kill it.
Duncan
My virtualisation blog:
If you find this information useful, please award points for "correct" or "helpful".
ps -auxwww | grep -i to kill it..
/Rubeck
I get this when issuing the stop command.
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
-MattG
Ohh... BTW:
When using vm-support -X to define output dir if needed)
The script will run for a few minutes..
/Rubeck
vm-support -X worked.
For some strange reason it disconnected my host from VC, but it worked. I am rebooting the VC server to see if it can manage the host again.
Thanks,
-MattG
So it appears that the VC Agent on my host is in a confused state now.
Can I just restart the VC agent on the host? If so, how?
Thanks,
-MattG
service mgmt-vmware restart
/Rubeck
That did it.
Thanks,
-MattG
>>For some strange reason it disconnected my host from VC, but it worked. I am rebooting the VC server to see if it can manage the host again.
Now that's scary. I am running into this exact same problem but after reading what happened to Matt. I will have to look for another solution because I can not have my host disconnected. That I can not afford.
I'll probably have to migrate all the VM's to another host and then power cycle this host that has this VM stuck on it.
Ive killed VMS by telling the machine to shutdown through the console, and by killing the process manually (two different issues). I havent had any issues with the ESX host disconnecting from the VC.
Is there any specific reason you cant have your ESX host enter a "disconnected" state with your VC?
The disconnect from VC won't hurt you. All the VMs will still run until you get the ESX host connected again.