Teknisk > Generelt teknisk

VMware: Force reset of VM from CLI

(1/1)

ATC:
I have only SSH available and I need to reset a VM remotely that runs on ESX 3.5. "vmware-cmd" fails because vmware-tools is currently not running.

ATC:
Use vmware-vim-cmd instead. First get the VM id, let's say we're looking for a VM called "SSL-EXPLORER":

[root@host root]# vmware-vim-cmd vmsvc/getallvms | grep SSL
187632   SSL-EXPLORER        [VmwareSAN02] SSL-EXPLORER/SSL-EXPLORER.vmx              otherLinuxGuest         vmx-04

The number in the first column is the VM id. Now reset it:
[root@host root]# vmware-vim-cmd vmsvc/power.reset 187632

Navigering

[0] Oversikt

Skift til full visning