Монитор состояния объектов кластера Windows
Microsoft.Windows.Cluster.CheckState (UnitMonitorType)
Отслеживание состояния данного кластерного объекта.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.Cluster.CheckState" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Online" NoDetection="false"/>
<MonitorTypeState ID="Partial" NoDetection="false"/>
<MonitorTypeState ID="NotOnline" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PollInterval" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClusterObjectClass" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlineExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlineExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PartialExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PartialExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NotOnlineExpression" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NotOnlineExpressionOnDemand" type="ExpressionType"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="WMIFields" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="PollInterval" Selector="$Config/PollInterval$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.Cluster.WmiEventProvider">
<ClusterObjectName>$Config/ClusterObjectName$</ClusterObjectName>
<PollInterval>$Config/PollInterval$</PollInterval>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.Windows.Cluster.WmiTriggerProbe">
<ClusterObject>$Config/ClusterObjectClass$</ClusterObject>
<WhereClause>where Name="$Config/ClusterObjectName$"</WhereClause>
<WMIFields>$Config/WMIFields$</WMIFields>
</ProbeAction>
<ConditionDetection ID="ObjectOnline" TypeID="System!System.ExpressionFilter">
<Expression>$Config/OnlineExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectPartial" TypeID="System!System.ExpressionFilter">
<Expression>$Config/PartialExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectNotOnline" TypeID="System!System.ExpressionFilter">
<Expression>$Config/NotOnlineExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectOnlineOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/OnlineExpressionOnDemand$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectPartialOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/PartialExpressionOnDemand$</Expression>
</ConditionDetection>
<ConditionDetection ID="ObjectNotOnlineOnDemand" TypeID="System!System.ExpressionFilter">
<Expression>$Config/NotOnlineExpressionOnDemand$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Online">
<Node ID="ObjectOnline">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Partial">
<Node ID="ObjectPartial">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotOnline">
<Node ID="ObjectNotOnline">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Online">
<Node ID="ObjectOnlineOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Partial">
<Node ID="ObjectPartialOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="NotOnline">
<Node ID="ObjectNotOnlineOnDemand">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>