ssh control of maintenance mode on ESXi 5 host
Change state of maintenance mode on ESXi host via command line from Linux using ssh into the ESXi host.
Prerequisite: SSH enabled to eSXi host
Begin by checking value of inMaintenancemode of VMWare ESXi host
vim-cmd hostsvc/hostsummary | grep -i maintenance
If true, exit maintenance mode with:
Enter maintenance mode with:
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
Additional thanks for the post: from Paul McSharry.
Get more information from VMWare KB.