To enter a ESX Server in Maintenance Mode, at the ESX console you need to type the following command:
vimsh -n -e /hostsvc/maintenance_mode_enter
To exit Maintenance Mode type:
vimsh -n -e /hostsvc/maintenance_mode_exit
To display whether the ESX Server is currently in maintenance mode or not type the following command:
vimsh -n -e"hostsvc/hostsummary" | grep inMaintenanceMode
No comments:
Post a Comment