With vmware embedded there is no console. Is there a way with remote-cli or other to force a VM to stop ?
VM Infrastructure client show the VM as suspended and give no way to power it off. Power it on give a time out.
It may help to restart the management agents on the host - at the console press F2 (Customize) and then select the menu option to restart the management agents.
ESXi does have a very limited console that is described here http://kb.vmware.com/kb/1003677. You can access it from the console and you'll find that some of the regular ESX commands do exist on the system. For VMs you could use ps / kill to take care of a VM. In this case you might consider using
/bin/vim-cmd vmsvc/getallvms -- one of the colums will the Vmid which you'll use in the next command
/bin/vim-cmd vmsvc/power.on -- or you could use power.off / power.reset / power.getstat
As stated is the KB article these commands are run at your own risk if it's not VMware support that is telling you to run them.
The way I do it is, I path myself all the way to the VM folder and then type "vmware-cmd (vm name.vmx stop hard) you can also type start hard or reset at the end.
Hope that helped.
Just for example purposes, let make up a vm name called vmmachine. It would look like this
vmware-cmd vmmachine.vmx reset or
vmware-cmd vmmachine.vmx start hard or
vmware-cmd vmmachine.vmx stop hard
Hope that helped.
vmware-cmd is not included with ESXi nor does it seem to be included in the RCLI.
If you have the RCLI installed, you might want to try vmcontrol.pl.
I confirm I have no vmware-cmd.
vim-cmd vmsvc/getallvms list my stuck vm but I can't power it off because it's in suspend mode. Same thing with vmcontrol.pl in rcli.
I can't find it with ps so I can't kill it. Does it mean I have no way than restart my ESX server ?
Any ideas ?
OPPS, sorry, didn't know we were talking about ESXi.
cannot delete or reset VM machine - need serious help
i have same issues, so any help is appreciated