Clustered Data ONTAP MetroCluster: SwitchBack Effect Monitor

DataONTAP.Cluster.MetroCluster.MetroCluster.SwitchBackEffectMonitor (UnitMonitor)

The MetroCluster switchback operation returns a MetroCluster configuration to its normal operating state. This monitor checks that after a switchback operation, all aggregates or disks left behind have been restored to their owner. The monitor generates an alert if they are not fully restored. A check is done at the end of a switchback operation to ensure that all aggregates or volumes came back online but an administrator can override this check. The administrator can manually reassign disks to replace any missing disks that were not reassigned.

Knowledge Base article:

Summary

The MetroCluster switchback operation returns a MetroCluster configuration to its normal operating state. This monitor checks that after a switchback operation, all aggregates or disks left behind have been restored to their owner. The monitor generates an alert if they are not fully restored. A check is done at the end of a switchback operation to ensure that all aggregates or volumes came back online but an administrator can override this check. The administrator can manually reassign disks to replace any missing disks that were not reassigned.

Resolutions

Inspect the contents of the alert to determine its cause. The alert details list the name and UUID of the cluster for which aggregates or disks were not restored to their owner. Perform all steps listed in the MetroCluster documentation to heal the aggregates and perform a switchback operation to bring the MetroCluster configuration back to a normal state.

Element properties:

TargetDataONTAP.Cluster.MetroCluster.MetroCluster
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Clustered Data ONTAP MetroCluster: SwitchBack Effect Monitor
The MetroCluster switchback operation returns a MetroCluster configuration to its normal operating state. This monitor checks that after a switchback operation, all aggregates or disks left behind have been restored to their owner. The monitor generates an alert if they are not fully restored. A check is done at the end of a switchback operation to ensure that all aggregates or volumes came back online but an administrator can override this check. The administrator can manually reassign disks to replace any missing disks that were not reassigned.
RunAsDataONTAP.SecureReference.RunAsProfile

Source Code:

<UnitMonitor ID="DataONTAP.Cluster.MetroCluster.MetroCluster.SwitchBackEffectMonitor" Accessibility="Public" Enabled="true" Target="DataONTAP.Cluster.MetroCluster.MetroCluster" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false" RunAs="DS!DataONTAP.SecureReference.RunAsProfile">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="DataONTAP.Cluster.MetroCluster.MetroCluster.SwitchBackEffectMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Success"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FirstComputerName/>
<FirstLogName>OnCommand</FirstLogName>
<FirstExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20170</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20173</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Clustered Data ONTAP MetroCluster MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="DataONTAP.Cluster.MetroCluster.MetroCluster"]/ClusterUUIDs$</Pattern>
</RegExExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName/>
<SecondLogName>OnCommand</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20172</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Clustered Data ONTAP MetroCluster MP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="DataONTAP.Cluster.MetroCluster.MetroCluster"]/ClusterUUIDs$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>