NLB 节点取决于网络适配器

Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnNetworkAdapter (DependencyMonitor)

Knowledge Base article:

摘要

这是汇总 NLB 节点所用的网络接口运行状况状态的依赖关系汇总监视器。此监视器的用途是确保网络适配器中出现的问题会影响 NLB 节点的运行状况状态,因为网络接口是 NLB 的核心依赖关系之一。网络接口的运行状况实际上由 Windows 基本操作系统管理包确定。

解决方案

使用运行状况资源管理器确定此问题的根本原因。

Element properties:

TargetMicrosoft.Windows.NetworkLoadBalancing.ServerRole
Parent MonitorSystem.Health.AvailabilityState
AlgorithmWorstOf
Source MonitorSystem.Health.AvailabilityState
RelationshipMicrosoft.Windows.NetworkLoadBalancing.ServerRoleContainsNetworkAdapter
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
NLB 使用的网络适配器不正常
{1} 上的 NLB 节点 {0} 所使用的网络适配器不正常。NLB 节点是带有 IP {2} 的群集的一部分。

Source Code:

<DependencyMonitor ID="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnNetworkAdapter" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.NetworkLoadBalancing.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="Microsoft.Windows.NetworkLoadBalancing.ServerRoleContainsNetworkAdapter" MemberMonitor="Health!System.Health.AvailabilityState">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.NetworkLoadBalancing.ServerRoleDependsOnNetworkAdapter_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/DedicatedIPAddress$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="Microsoft.Windows.NetworkLoadBalancing.ServerRole"]/ClusterIP$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>