Knowledgebase
6 Jun
Wenn sich eine Virtual Machine so verhangen hat, dass per GUI jedweder Art nichts mehr zu machen ist, dann hilft nur noch eines: elemen elimen killen!
How can I kill a stuck virtual machine?
ESX 3.0 method
o Login to the service console
o You can check the VM state by typing “vmware-cmd /<path to VM directory>/server.vmx getstate”
o Type “ps -ef | grep <virtualmachinename>”
o The 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 VMESX 3.0 Alternate method
o Login to the service console
o Get the vmid of the VM you want to kill by typing “vm-support –x”
o Kill the VM and generate core dumps and logs by typing “vm-support –X <vmid>”
o You will be prompted if you want to include a screenshot of the VM, send an NMI to the VM and send a ABORT to the VM, you must answer Yes to the ABORT question to kill the VM. The entire process will take about 5-10 minutes to run. It will create a tar archive in the directory you run it in.
It´ll be back!
siehe VMTN
One Response for "ESX 3 – Howto kill a stuck virtual machine"
Hallo!
Wie ich sehe kämpfst du auch mit der Virtualisierung. Ich hatte zum Glück noch keine so widerwillige VM. Hab mir deinen guten Hinweis aber direkt mal notiert. Nur für alle Fälle. :-)
Grüße
Christian
Leave a reply