Hello,
I am trying to shutdown my VM. I tried doing through the VI it prompts "Operation failed another task in progress". I tried doing via ssh into the ESX host and do a vmware /path/vm.vmx stop hard and i get the following "VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress)". I am running few production VMs on the same ESX host, how do i turn off the VM without affecting the ESX host and the other VMs that are on it? Some process seems to be hanging on to the VM, i guess i have to safely kill that right?
Thanks in advance!
try restarting the management service on the ESX host
service mgmt-vmware restart.
If that doesn't work, if you can, restart the virtual center server service
As a last resort you can login to the esx host console and kill the process if it's still running. It would be the process starting with /usr/lib/vmware/bin/vmkload_app and ending with the path to your VM file.
You can also try these first is is a bit easyier on them if it works
To shut down VM
\# vmware-cmd /path/to/config/file.vmx stop soft
or
\# vmware-cmd /path/to/config/file.vmx stop hard
I tried hard stop but got the same error.
try restarting the management service on the ESX host
service mgmt-vmware restart.
If that doesn't work, if you can, restart the virtual center server service
What does it exactly do though? kills all process associated with the VM cleanly? We are running production VMs on the same ESX hosts w/ no support (l. e very little resources). I am basically the one man team to handle all that has to do with virtualization. So i need to be 100% sure if i take any step that it wont compromise anything or lead to a disaster. Please, advice?
thanks,
Thank you service mgmt-vmware restart. did the trick!
Restarting the mgmt-vmware service refreshes what you see in VC. if the stop or kill returned a 1 then it was off.