To determine if the ESX/ESXi host is currently in maintenance mode:
ESX: # vimsh -n -e /hostsvc/hostsummary | grep inMaintenanceModeTo exit from a hung maintenance mode, try one of these options:
Disconnect the vSphere Client (by closing it) and reconnect to the ESX host to see if the option to exit maintenance mode appears. If this works, there was a problem refreshing the information known to the vSphere Client.
ESX: # vimsh -n -e /hostsvc/maintenance_mode_exitRestart the management agents on the host. For more information, see Restarting the Management agents on an ESX or ESXi Server (1003490).
/var/log/vmware/hostd.log
to determine if the hostd management agent is experiencing an issue connecting to the vmware-authd
service. For more information, see Location of log files for VMware products (1021806)./var/log/vmware/hostd log
files for messages similar to:[VpxVmdbCnx] Authd error: 514 Error connecting to hostd-vmdb service instance.
[VpxVmdbCnx] Failed to connect to host :902. Check that authd is running correctly (lib/connect error 11)
vmware-authd
and xinetd
services using the commands:# chkconfig vmware-authd off
# service xinetd restart
# chkconfig --level 3 vmware-authd on
# service xinetd restart