叢集可用性視伺服器角色而定

Microsoft.Windows.NetworkLoadBalancing.ClusterDependsOnServerRoles (DependencyMonitor)

Knowledge Base article:

摘要

這是相依性彙總套件監視,可根據叢集中的節點狀態判定 NLB 叢集的狀態。依預設,如果叢集中至少有一個節點狀況良好,則叢集的整體狀態將會判定為狀況良好。

解決方式

使用健全狀況總管來判定 NLB 叢集處於錯誤或警告狀態的根本原因。

Element properties:

TargetMicrosoft.Windows.NetworkLoadBalancing.Cluster
Parent MonitorSystem.Health.AvailabilityState
AlgorithmBestOf
Source MonitorSystem.Health.AvailabilityState
RelationshipMicrosoft.Windows.NetworkLoadBalancing.ClusterContainsServerRole
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
NLB 叢集無法使用
NLB 叢集 {0} ({1}) 無法使用。請使用健全狀況總管判定此問題的根本原因。

Source Code:

<DependencyMonitor ID="Microsoft.Windows.NetworkLoadBalancing.ClusterDependsOnServerRoles" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.NetworkLoadBalancing.Cluster" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="Microsoft.Windows.NetworkLoadBalancing.ClusterContainsServerRole" MemberMonitor="Health!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.NetworkLoadBalancing.ClusterDependsOnServerRoles_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.Cluster"]/IPAddress$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.Cluster"]/DnsName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<Algorithm>BestOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>