Skip to content

esxi-enable-maint-mode

Put host in maintenance mode

Set maintenanceMode on an ESXi system. In addition to setting it on the system, also record the state on DRP in the Param esxi/maintenance-mode.

Subsequently, when maintenance mode is disabled, BOTH the system state must be in maintenance (Enabled), and the DRP Param set to Enabled. This is a safety check to insure that DRP set the maintenance mode, and to not disable it unless we've set it.

Uses the esxi-params.py.tmpl python code to set/manage Params on the system.

Objects that Reference esxi-enable-maint-mode

Objects used by esxi-enable-maint-mode