已經到達 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>