Esta es la forma de poner un esx en modo mantenimiento, es un post de techstarts publicado en: http://vmzare.wordpress.com/2007/08/24/how-to-set-esx-host-into-maintenance-mode-from-service-console/
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}'
No comments:
Post a Comment