Sometimes a Virtual Machine can’t be stopped via the VIClient. The job just hangs. There are a number of options to stop your Virtual Machine from within the Service Console. Keep in mind that these are last resort options!
- Stopping the virtual machine by issuing the command vmware-cmd /vmfs/volumes/<datastorename>/<vmname>/<vmname>.vmx stop. This must be done on the ESX host where the Virtual Machine is running!
- If this does not work, one can issue the following command: vmware-cmd /vmfs/volumes/<datastorename>/<vmname>/<vmname>.vmx stop hard. This will try to kill the Virtual Machine instantly.
- A final solution is to kill the PID (process ID). Issue the following command: ps auxfww | grep <vmname> to locate the correct PID (BTW: this cannot be done via ESXTOP). The first number to appear in the output is your PID. The PID can be used to terminate the process by issuing kill -9 PID.
VMware: Stopping a Virtual Machine gone haywire
Vincent Vlieghe
Thu, 20 Sep 2007 11:50:00 GMT
Popularity: 23% [?]
Related posts:
- RE: VMware Virtual Machine Importer And DiskMount Utilities wow, here are two great tools for vmware. VMware Virtual...
- RE: Tutorial: How to Build an Effective Virtual Machine Template This is written for VM Workstation, but a lot of...
- VMworld 2007 Top Support Issues Session Some great information from vmware, I’m going to have...
- VMware Player This looks sweet. I just wonder about licensing of the...
- RE: Tech: Automating VMware Virtual CDROM and floppy disconnection This will be very helpful. I’ll give it a try...
Related posts brought to you by Yet Another Related Posts Plugin.











