已达到 NLB 可以跟踪的活动服务连接的最大数量

Microsoft.Windows.NetworkLoadBalancing.6.2.The.maximum.number.of.actively.serviced.connections.that.could.be.tracked.by.NLB.is.reached (Rule)

Knowledge Base article:

摘要

主机上的网络负载平衡 (NLB) 驱动程序跟踪连接,以维护在 NLB 群集上配置的客户端/网络相似性。如果驱动程序运行不正常,NLB 可能不会跟踪 TCP 连接或可能会遇到负载分配错误。

解决方案

地址 NLB 连接跟踪限值

达到了网络负载平衡 (NLB) 所能跟踪到的最大活动连接数。尽管 NLB 将继续接受新连接,但它将不再跟踪连接状态,直至关闭其他连接为止。这可能导致连接期间由驱动程序维护的相似性中断。

要解决此连接跟踪限制,可以向该 NLB 群集中添加更多主机,以便将传入的连接分发给更多的群集主机;或者提高连接跟踪限值。

向 NLB 群集中添加主机

要向 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.The.maximum.number.of.actively.serviced.connections.that.could.be.tracked.by.NLB.is.reached" 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>19</Value>
</ValueExpression>
</SimpleExpression>
</Criteria>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.GenerateAlert.SuppressByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.NetworkLoadBalancing.6.2.The.maximum.number.of.actively.serviced.connections.that.could.be.tracked.by.NLB.is.reached.AlertMessage"]$</AlertMessageId>
<EnableAlert>true</EnableAlert>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.CollectEvent">
<CollectEvent>false</CollectEvent>
</WriteAction>
</WriteActions>
</Rule>