NLB 检测到群集主机之间共享的主机优先级

Microsoft.Windows.NetworkLoadBalancing.6.2.NLB.detected.a.duplicate.host.priority.that.is.shared.between.cluster.hosts (Rule)

Knowledge Base article:

摘要

将网络负载平衡 (NLB) 群集中的主机配置为负载平衡网络流量。通过使用 NLB 管理器设置主机配置,如果未正确配置,NLB 群集可能不会正常运行。

解决方案

确保所有的 NLB 节点具有唯一的主机优先级

如果网络负载平衡 (NLB) 主机的主机优先级与另一台主机的主机优先级相同,或该主机优先级无效,则只有纠正问题后群集才会聚合。主机优先级必须为 1 到 32 之间的数字,该值必须对群集中的所有主机都是唯一的。

确保所有的 NLB 主机都具有唯一的主机优先级:

Element properties:

TargetMicrosoft.Windows.NetworkLoadBalancing.6.2.ServerRole
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.NetworkLoadBalancing.EventProvider Default
WA WriteAction Microsoft.Windows.NetworkLoadBalancing.6.2.GenerateAlert.SuppressByDescription Default
WriteToDB WriteAction Microsoft.Windows.NetworkLoadBalancing.6.2.CollectEvent Default

Source Code:

<Rule ID="Microsoft.Windows.NetworkLoadBalancing.6.2.NLB.detected.a.duplicate.host.priority.that.is.shared.between.cluster.hosts" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.NetworkLoadBalancing.6.2.ServerRole" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.EventProvider">
<Criteria>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>17</Value>
</ValueExpression>
</SimpleExpression>
</Criteria>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.GenerateAlert.SuppressByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.NetworkLoadBalancing.6.2.NLB.detected.a.duplicate.host.priority.that.is.shared.between.cluster.hosts.AlertMessage"]$</AlertMessageId>
<EnableAlert>true</EnableAlert>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.CollectEvent">
<CollectEvent>false</CollectEvent>
</WriteAction>
</WriteActions>
</Rule>