Clustered Data ONTAP MetroCluster: SwitchOver Detection Monitor

DataONTAP.Cluster.MetroCluster.MetroCluster.SwitchOverDetectionMonitor (UnitMonitor)

The MetroCluster SwitchOver Detection Monitor checks for the occurrence of the MetroCluster switchover event. A switchover is a MetroCluster operation that transfers service from one MetroCluster site to the other site, either as a negotiated switchover that is planned in advance and cleanly shuts down components of the target MetroCluster site or a forced switchover that immediately transfers service.

Knowledge Base article:

Summary

The MetroCluster SwitchOver Detection Monitor checks for the occurrence of the MetroCluster switchover event. A switchover is a MetroCluster operation that transfers service from one MetroCluster site to the other site, either as a negotiated switchover that is planned in advance and cleanly shuts down components of the target MetroCluster site or a forced switchover that immediately transfers service.

Resolutions

Inspect the contents of the alert to determine its cause. The alert details list the name and UUID of the cluster that is in a switchover state. Complete all steps listed in the MetroCluster recovery procedures documentation: bring down the cluster to the operational state, 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: SwitchOver Detection Monitor
The MetroCluster SwitchOver Detection Monitor checks for the occurrence of the MetroCluster switchover event. A switchover is a MetroCluster operation that transfers service from one MetroCluster site to the other site, either as a negotiated switchover that is planned in advance and cleanly shuts down components of the target MetroCluster site or a forced switchover that immediately transfers service.
RunAsDataONTAP.SecureReference.RunAsProfile

Source Code:

<UnitMonitor ID="DataONTAP.Cluster.MetroCluster.MetroCluster.SwitchOverDetectionMonitor" 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.SwitchOverDetectionMonitor.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">20130</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">20133</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">20132</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>