Skrevet av Emne: VMware: Force reset of VM from CLI  (Lest 4936 ganger)

ATC

  • Gjest
VMware: Force reset of VM from CLI
« på: 14. Februar 2011, 17:40 pm »
  • [applaud]0
  • [smite]0
  • 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

    • Gjest
    [Solved] VMware: Force reset of VM from CLI
    « Svar #1 på: 14. Februar 2011, 17:40 pm »
  • [applaud]0
  • [smite]0
  • 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