Forums.ATC.no
Teknisk => Generelt teknisk => Emne startet av: ATC på 14. Februar 2011, 17:40 pm
-
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.
-
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