This is an archive version of the document. To get the most up-to-date information, see the current version.

Maintenance Mode Synchronization

Veeam MP for VMware will track vSphere Maintenance Mode for a host, and automatically respond by placing the host in Ops Mgr Maintenance Mode.

This feature uses scripts triggered on the Ops Mgr Management Server by the monitor “Veeam VMware: vSphere Host Maintenance Mode Tracker“, and is enabled by default.

The monitor targets the Maintenance Mode Synchronization object, shown in the screenshot below. Note that the Maintenance Mode Synchronization object is set to Yellow (Warning) state when vSphere Maintenance Mode is detected. The Maintenance Mode Synchronization object itself does not enter Ops Mgr Maintenance Mode, as it is also used to remove the host from Maintenance Mode when the status in vCenter changes, therefore it must remain active.

Maintenance Mode Synchronization Object

The operation steps of the Maintenance Mode Synchronization feature are described below.

  1. Put a vSphere host in maintenance mode in vCenter.
  2. Veeam MP for VMware monitor responds by:
  1. Setting host Maintenance Mode Synchronization object to Warning, and raising warning alert “Veeam VMware: Maintenance Mode Tracker
  2. Monitor Recovery Action runs the server-side script to put host and child objects (HBAs, NICs, and hardware sensors) in Ops Mgr maintenance mode.
  3. These child objects of host will NOT go in Ops Mgr maintenance mode — the Maintenance Mode Synchronization object itself, and the VM-Container object (including contained VMs).
  1. The host will stay in Ops Mgr maintenance mode until one of the conditions below is met:
  1. Maintenance mode is Exited in vCenter for the host, or
  2. The duration set by the hours parameter on the monitor recovery action expires (default 24 hours)
  1. When the host is removed from maintenance mode in vCenter
  1. Host Maintenance Mode Synchronization object state will go green, maintenance mode alert will close
  2. Script will take the host and relevant host objects out of Ops Mgr maintenance mode
  3. Normal monitoring of this host will resume

Note that there is a method to dynamically extend the duration of Ops Mgr maintenance mode, if the planned duration in vCenter is unknown, or the default duration of 24 hours needs to be increased after the monitor has already fired. To accomplish this, enable the rule (not monitor) named “vSphere Maintenance Mode Sync - Duration Extension Rule”. This rule will re-trigger the server-side script to extend Ops Mgr maintenance mode as long as the duration of maintenance mode in vCenter.