Lets Design, Implement and do Administration of ESX3

Virtualization with VMWare Infrastructure 3.0

How to set ESX Host into maintenance mode from Service console

Posted by techstarts on August 24, 2007

Below is the command which you will have to execute from SVC Console to enter host into maintenance mode

vimsh -n -e /hostsvc/maintenance_mode_enter

To exit maintenance mode

vimsh -n -e /hostsvc/maintenance_mode_exit

Now next question is how I check whether host is in maintenance mode.Here is it…

vimsh -n -e /hostsvc/runtimeinfo | grep inMaintenanceMode | awk ‘{print $3}’

 

For more information please visit http://www.xtravirt.com and under section white papers. I’ll rate this site 5-Stars, anyone who wish to excel in VMWare.

Leave a Reply

You must be logged in to post a comment.