Stop NLB Node

Microsoft.Windows.NetworkLoadBalancing.Library.StopNodeRecovery (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.StopNodeRecovery" Accessibility="Internal" Enabled="false" Target="Microsoft.Windows.NetworkLoadBalancing.ServerRole" Monitor="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnAnotherServerRole" ResetMonitor="false" ExecuteOnState="Error" Remotable="false" Timeout="300">
<Category>Custom</Category>
<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>Stop</Command>
<EventID>6102</EventID>
<EventMessage>"Stopping NLB node because the load balanced application is unhealthy."</EventMessage>
</WriteAction>
</Recovery>