≡ Menu

start virtual machine on ESXi via ssh

ssh control of vm on ESXi 5 host

Start or control a virtual machine on ESXi host via command line from Linux using ssh into the ESXi host.

steps

Begin by listing virtual machines
vim-cmd vmsvc/getallvms
Determine current state of the virtual machine
vim-cmd vmsvc/power.getstate vmid#
Start the virtual machine
vim-cmd vmsvc/power.on vmid#
List available methods
vim-cmd vmsvc

description

Typical access to VMWare ESXi 5 is through the vSphere Client, but for routine management from a Linux environment, other options are available. One might Download the Linux Installer (tar.gz) as the download is available for license. One might enable SSH into the ESXi host, then search Google for
ssh "ESXi 5" start vm

external links

Additional thanks for the post: help.
Get more information from VMWare KB.


{ 0 comments… add one }

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.