這是相依性彙總套件監視,該監視可在對應的管理套件報告時彙總負載已平衡的應用程式的狀態。在探索到 NLB 節點和負載平衡應用程式之間的關係之前,此監視的狀態將會設為未監視。
此監視有 2 個相關的復原 (預設為停用),您需要建立覆寫以啟用它們。第一個復原設為在監視狀態變更為錯誤時執行。當發生這種情況時,此復原會將此 NLB 節點從 NLB 叢集移除。第二個復原設為在監視狀態變更為成功時執行。當發生這種情況時,此復原會將此 NLB 節點重新加入 NLB 叢集。
如果負載平衡應用程式處於錯誤狀態,此監視將會進入錯誤狀態。
使用健全狀況總管來判定負載平衡應用程式處於錯誤或警告狀態的根本原因。建議您在進行負載平衡應用程式疑難排解時,將此節點從 NLB 叢集移除。這將可確定只有狀況良好的節點會接收到要求。您可使用「停止 NLB 節點」工作將 NLB 節點從叢集移除。
停止 NLB 節點
Target | Microsoft.Windows.NetworkLoadBalancing.ServerRole | ||
Parent Monitor | System.Health.AvailabilityState | ||
Algorithm | WorstOf | ||
Source Monitor | System.Health.AvailabilityState | ||
Relationship | Microsoft.Windows.NetworkLoadBalancing.ServerRoleContainsDependantServerRole | ||
Category | Custom | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
|
<DependencyMonitor ID="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnAnotherServerRole" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.NetworkLoadBalancing.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="Microsoft.Windows.NetworkLoadBalancing.ServerRoleContainsDependantServerRole" MemberMonitor="Health!System.Health.AvailabilityState">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnAnotherServerRole_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/ClusterIP$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>