Ressource-Statusüberwachung

Microsoft.Windows.Cluster.Resource.StateMonitoring (UnitMonitor)

Implementiert einen Monitor für die Ressource, die vom lokalen Clusterknoten überwacht wird.

Knowledge Base article:

Zusammenfassung

Dieser Monitor überprüft den Status einer Clusterressource, soweit diese dem lokalen Clusterknoten bekannt ist.

Status

Operations Manager-Status

ClusterResourceInherited

Erfolgreich

ClusterResourceOnline

Erfolgreich

ClusterResourceInitializing

Warnung

ClusterResourcePending

Warnung

ClusterResourceOnlinePending

Warnung

ClusterResourceOfflinePending

Warnung

ClusterResourceStateUnknown

Fehler

ClusterResourceOffline

Fehler

ClusterResourceFailed

Fehler

Ursachen

Ein fehlerhafter Status für diesen Monitor weist darauf hin, dass die Clusterressource nicht online ist. Dies kann folgende Ursachen haben:

Ressourceneigenschaften auflisten

Ressourcenabhängigkeiten auflisten

Lösungen

Sie können versuchen, die Clusterressource mit folgendem Link wieder online zu schalten:

Ressource online schalten

Element properties:

TargetMicrosoft.Windows.Cluster.Resource
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Cluster.CheckStatePoll
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Cluster.Resource.StateMonitoring" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ClusLibrary!Microsoft.Windows.Cluster.Resource" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="ClusLibrary!Microsoft.Windows.Cluster.CheckStatePoll" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Online" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Partial" HealthState="Warning"/>
<OperationalState ID="Error" MonitorTypeStateID="NotOnline" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ClusterObjectName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Resource']/EscapedResourceName$</ClusterObjectName>
<PollInterval>300</PollInterval>
<SyncTime>12:10</SyncTime>
<ClusterObjectClass>MSCLUSTER_Resource</ClusterObjectClass>
<OnlineExpression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(0|2)$</Pattern>
</RegExExpression>
</OnlineExpression>
<OnlineExpressionOnDemand>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(0|2)$</Pattern>
</RegExExpression>
</OnlineExpressionOnDemand>
<PartialExpression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(1|128|129|130)$</Pattern>
</RegExExpression>
</PartialExpression>
<PartialExpressionOnDemand>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(1|128|129|130)$</Pattern>
</RegExExpression>
</PartialExpressionOnDemand>
<NotOnlineExpression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(-1|3|4)$</Pattern>
</RegExExpression>
</NotOnlineExpression>
<NotOnlineExpressionOnDemand>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(-1|3|4)$</Pattern>
</RegExExpression>
</NotOnlineExpressionOnDemand>
<WMIFields>Name, State</WMIFields>
</Configuration>
</UnitMonitor>