ESX控制台进入维护模式命令

How to set ESX Host into maintenance mode from Service console

Posted by Preetam Zare 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}’

 

你可能感兴趣的:(职场,休闲,esx)