Iniciar Nó de NLB

Microsoft.Windows.NetworkLoadBalancing.Library.StartNodeRecovery (Recovery)

Element properties:

TargetMicrosoft.Windows.NetworkLoadBalancing.ServerRole
MonitorMicrosoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnAnotherServerRole
Reset MonitorFalse
RemotableFalse
Timeout300
CategoryCustom
Enabledfalse
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.NetworkLoadBalancing.ControlNode.WriteAction Default

Source Code:

<Recovery ID="Microsoft.Windows.NetworkLoadBalancing.Library.StartNodeRecovery" Accessibility="Internal" Enabled="false" Target="Microsoft.Windows.NetworkLoadBalancing.ServerRole" Monitor="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnAnotherServerRole" ResetMonitor="false" ExecuteOnState="Success" Remotable="false" Timeout="300">
<Category>Custom</Category>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>StateChange/DataItem/OldHealthState</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteAction ID="WA" TypeID="Microsoft.Windows.NetworkLoadBalancing.ControlNode.WriteAction">
<NodeName>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/NodeName$</NodeName>
<ComputerPrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
<TimeoutSeconds>300</TimeoutSeconds>
<Command>Start</Command>
<EventID>6101</EventID>
<EventMessage>"Starting NLB node because the load balanced application returned to a healthy state."</EventMessage>
</WriteAction>
</Recovery>