Veeam VMware: vSphere Host Maintenance Mode Tracker

Veeam.Virt.Extensions.VMware.Integration.VMHOST.Monitor.MaintenanceMode (UnitMonitor)

Knowledge Base article:

Summary

This monitor tracks whether any vSphere hosts are put into the Maintenance Mode, and synchronizes the VMware vSphere and Ops Mgr Maintenance Modes.

Causes

When you place a vSphere host in the VMware vSphere Maintenance Mode using the vSphere Client, this monitor notifies the Ops Mgr Management Server to put the host into the Ops Mgr Maintenance Mode.

By design, only the host itself and host components (hardware sensors, HBAs, and NICs) will enter the Ops Mgr Maintenance Mode. This does not apply to VMs running on the host and Ops Mgr agents inside the VMs.

Resolutions

No resolution is required. This monitor automatically tracks the host status. When the host exits the VMware vSphere Maintenance Mode, the monitor triggers a recovery action to run a script that will remove the host from the Ops Mgr Maintenance Mode.

If the Ops Mgr Maintenance Mode is not required, you can bring the host and its components back to the normal operational mode manually in the Ops Mgr console. To do that, follow the instructions provided in the Microsoft System Center Operations Guide.

If future synchronization of the VMware vSphere and Ops Mgr Maintenance Modes is not required, configure an override to disable this monitor.

The initial default duration of the Ops Mgr Maintenance Mode is set to 24 hours. In case the VMware vSphere Maintenance Mode persists for more than 24 hours, it will expire in the Ops Mgr and the host will enter the normal operational mode. You can configure an override to change the duration setting. To extend the Maintenance Mode duration automatically, you can also enable the companion rule for this monitor - 'Veeam VMware Maintenance Mode Tracker - Duration Extension Rule'. This rule will re-run the script if the VMware vSphere Maintenance Mode duration breaches the specified setting.

Use the Alerts View to see all current open issues for this object. Use the Events View to review any error and warning events for this object. Open a Performance View to see the performance metrics for this object and all contained objects. Open a Diagram View to analyse the relationships of this object to other components.

External

See the Help Center for more information including reference lists of all Rules and Monitors and full set of User Guides for the Veeam MP for VMware.

See the VMware Online Documentation for more information on VMware vSphere, in particular:

Element properties:

TargetVeeam.Virt.Extensions.VMware.VMHOST.MaintenanceModeTarget
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeVeeam.Virt.Extensions.VMware.Integration.HostMaintenanceMode.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Veeam VMware: Maintenance Mode Tracker
This vSphere Host entered Maintenance Mode in vCenter. The Veeam MP will synchronize by putting the Host into Ops Mgr Maintenance Mode. Note that VMs on this Host (and contained Ops Mgr agents , if any) will NOT enter Maintenance Mode.
RunAsDefault

Source Code:

<UnitMonitor ID="Veeam.Virt.Extensions.VMware.Integration.VMHOST.Monitor.MaintenanceMode" Accessibility="Public" Enabled="onEssentialMonitoring" Target="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMHOST.MaintenanceModeTarget" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Veeam.Virt.Extensions.VMware.Integration.HostMaintenanceMode.MonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Veeam.Virt.Extensions.VMware.Integration.VMHOST.Monitor.MaintenanceMode_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="HostRunning" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="HostInMaintenanceMode" MonitorTypeStateID="InMaintenanceMode" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<HostName>$Target/Host/Property[Type="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMHOST"]/id$</HostName>
</Configuration>
</UnitMonitor>