≡ Menu

maintenance mode from the command line

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.

steps

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:
vim-cmd /hostsvc/maintenance_mode_exit
Enter maintenance mode with:
vim-cmd /hostsvc/maintenance_mode_enter

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: from Paul McSharry.
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.

Next post:

Previous post: