群集可用性取决于服务器角色

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>