NLB 節點狀態

Microsoft.Windows.NetworkLoadBalancing.NodeStatus (UnitMonitor)

Knowledge Base article:

摘要

此監視會查看 NLB 叢集中目前節點的成員資格狀態。若節點狀態為已交集,則表示該節點正在加入業集,該監視的狀態將為良好。若節點狀態為已交集以外的其他情況,則該監視的狀態將為不正常。如果節點已停止,監視健全狀況狀態將會是重大。如果節點已暫止、正在清空、未正確設定或是正在交集,則監視健全狀況狀態將會是警告。

原因

如果此節點不屬於叢集的一部分,則監視狀態將會是狀況不良。

解決方式

若要解決問題,請使用以下提供的內嵌工作或 [網路負載平衡管理員] 來啟動 NLB 節點。若節點狀態為已暫停,則您需要首先恢復節點,然後再啟動節點。

恢復 NLB 節點

啟動 NLB 節點

設定

您可以覆寫此監視的 Interval 和 Timeout 參數。

Element properties:

TargetMicrosoft.Windows.NetworkLoadBalancing.ServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.NetworkLoadBalancing.NodeStatusMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NLB 節點不再屬於叢集的一部分
{0} ({1}) 節點不再是 {2} NLB 叢集的成員。請檢視警示內容以了解此節點的實際狀態。
RunAsMicrosoft.Windows.NetworkLoadBalancing.PrivilegedAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.NetworkLoadBalancing.NodeStatus" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.NetworkLoadBalancing.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.NetworkLoadBalancing.PrivilegedAccount" TypeID="Microsoft.Windows.NetworkLoadBalancing.NodeStatusMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.NetworkLoadBalancing.NodeStatus.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/NodeName$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/ClusterIP$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Stopped" MonitorTypeStateID="StoppedState" HealthState="Error"/>
<OperationalState ID="Suspended_Draining_Converging_Misconfigured_State" MonitorTypeStateID="Suspended_Draining_Converging_Misconfigured_State" HealthState="Warning"/>
<OperationalState ID="Converged" MonitorTypeStateID="ConvergedState" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>180</IntervalSeconds>
<SyncTime/>
<TimeoutSeconds>300</TimeoutSeconds>
<NodeName>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/NodeName$</NodeName>
<ComputerPrincipalName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
</Configuration>
</UnitMonitor>