vSphere 5- virtuelle Maschine beenden

Ab und an kann es vorkommen, dass virtuelle Maschinen auf Steuerungskommandos des vCenters oder auch der Maschine an sich nicht mehr reagieren. Meist äußert sich das darin, dass die virtuelle Maschine im Status "wird heruntergefahren" ist, und diesen Status auch nicht mehr ändert.
Hier hilft außer dem Neustart des kompletten Wirtsystems nur noch ein Eingriff über die Kommandozeile.
Zuerst muß man die sogenannte World ID in Erfahrung bringen. Dies kann man zum Beispiel wie folgt machen:  
~ # esxcli vm process list 
ponos
World ID: 1058216
Process ID: 0
VMX Cartel ID: 1058214
UUID: 50 09 28 9a a2 02 8b 4f-14 f1 e4 a8 40 61 b1 cd
Display Name: ponos
Config File: /vmfs/volumes/4ad326b6-c549070c-0d7e-001b210b6eb9/ponos/ponos.vmx

lb01
World ID: 1058217
Process ID: 0
VMX Cartel ID: 1058215
UUID: 50 09 ad db 5c ad d4 c5-0c c6 75 50 eb 6b 94 bf
Display Name: lb01
Config File: /vmfs/volumes/4ad326b6-c549070c-0d7e-001b210b6eb9/lb01/lb01.vmx

atlas
World ID: 1058588
Process ID: 0
VMX Cartel ID: 1058587
UUID: 50 09 13 aa 6d f4 c2 50-11 b2 1e 1b 7b fc e2 ed
Display Name: atlas
Config File: /vmfs/volumes/4ad326b6-c549070c-0d7e-001b210b6eb9/atlas/atlas.vmx
...
  Will man nun die virtuelle Maschine "atlas" beenden, so hilft folgendes Kommando:  
 
 
~ # esxcli vm process kill -t soft -w 1058588
  Dies versucht erstmal "sanft" die Maschine in einen geordneten Status zu bringen. Hilft auch das nichts, so gibt es für den Parameter -t noch weitere Werte. Hier ein Auszug aus der Hilfe:  
Cmd options: 
-t|--type=<str> The type of kill operation to attempt. There are three
types of VM kills that can be attempted: [soft, hard, force]. Users
should always attempt 'soft' kills first, which will give the VMX
process a chance to shutdown cleanly (like kill or kill -SIGTERM). If
that does not work move to 'hard' kills which will shutdown the process
 immediately (like kill -9 or kill -SIGKILL). 'force' should be used as
a last resort attempt to kill the VM. If all three fail then a reboot
is required. (required)
  Meist genügt jedoch die sanfte Methode.