Data ONTAP PRO: Hyper-V VM Replication Status PRO Tip Recovery Rule

DataONTAP.PRO.Recovery.LUN.Replication.Protip.Rule (Rule)

VM Replication Status PRO Tip Recovery Rule.

Knowledge Base article:

Summary

Hyper-V VM Replication Status PRO Tip Recovery Rule.

Configuration

This rule embeds a PowerShell script that implements this PRO Tip and sets the Tip to resolve.

Resolutions

If you suspect a problem with this rule, check the OnCommand and System Center Operations Manager event log on the management server running the rule.

Element properties:

TargetDataONTAP.PRO.HyperV.Host
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
HyperVHostLogMonitored DataSource Microsoft.Windows.EventCollector DataONTAP.SecureReference.RunAsProfileVirtualization
Recovery WriteAction DataONTAP.PRO.Recovery.WriteActionModuleType Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent DataONTAP.SecureReference.RunAsProfileVirtualization

Source Code:

<Rule ID="DataONTAP.PRO.Recovery.LUN.Replication.Protip.Rule" Enabled="true" Target="DataONTAP.PRO.HyperV.Host" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="HyperVHostLogMonitored" RunAs="DS!DataONTAP.SecureReference.RunAsProfileVirtualization" TypeID="Windows!Microsoft.Windows.EventCollector">
<ComputerName/>
<LogName>Application</LogName>
<AllowProxying>false</AllowProxying>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">619</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">VMMPro</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent" RunAs="DS!DataONTAP.SecureReference.RunAsProfileVirtualization"/>
<WriteAction ID="Recovery" TypeID="DataONTAP.PRO.Recovery.WriteActionModuleType">
<EventDescription>$Data/EventDescription$</EventDescription>
<TimeoutSeconds>86400</TimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>