I tried to reset a VM, however, the VM stopped at 95% in the taskbar. Any option in VC is not working, both when connecting to VC server and using VCC to connect to the host. Tried with vmware-cmd to stop the task, but it did not work as you can see
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx stop
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx getstate
getstate() = on
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx stop
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx reset
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx start
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
# vmware-cmd /vmfs/volumes/CX3-20-LUN\ 0-PROD1-ZH-FC/Avamar_benchmark/Avamar_benchmark.vmx stop
VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress.)
Anyone knows how i can reset this vm ? Thanks for your help.
Thomas
A couple of suggestions:
1. Restart the VC service to see if it clears the 'another task is in progress' error
2. Try the stop hard command
3. If both of these fail use the "kill -9 <pid of vm>" command.
Chris
Sorry, would you please tell me what the ""stop hard command" is ?
Thank you
Just add the word 'hard' after the word 'stop'
maybe this can help
Kill a Virtual Machine that is stuck
o Connect to ESX server with Putty
o Check VM state by typing vmware-cmd /<path to VM directory>/server.vmx getstate
o Type ps -ef | grep <virtualmachinename>
o Second column is your pid of the vmkload_app of the Virtual Machine, you can also type ps -eaf to see all running processes.
o Type kill -9 <pid>
o Check VM state again, it should now be off
o Type vmware-cmd /<path to VM directory>/server.vmx start to power on VM
think the VMX file was corrupt of this VM. even after reboot of the esx host, i ended up with the same problem trying to start this VM. Have now recreate the VM from the original files recived by emc and it works now.