NLB 偵測到不相等數目的虛擬 IP (VIP) 位址與網路遮罩

Microsoft.Windows.NetworkLoadBalancing.6.2.NLB.detected.an.unequal.number.of.virtual.IP.addresses.and.network.masks (Rule)

Knowledge Base article:

摘要

將網路負載平衡 (NLB) 叢集中的主機設定為負載平衡網路流量。使用 NLB 管理員設定主機設定,若沒有正確設定主機設定,NLB 叢集可能無法正常運作。

解決方式

確保虛擬 IP 位址和子網路遮罩的數目一致

在所有網路負載平衡 (NLB) 叢集主機上,虛擬 IP 位址的數目必須與指定的子網路遮罩數目相同。

確保虛擬 IP 位址的數目與子網路遮罩的數目相同:

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.an.unequal.number.of.virtual.IP.addresses.and.network.masks" 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>110</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.NLB.detected.an.unequal.number.of.virtual.IP.addresses.and.network.masks.AlertMessage"]$</AlertMessageId>
<EnableAlert>true</EnableAlert>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.CollectEvent">
<CollectEvent>false</CollectEvent>
</WriteAction>
</WriteActions>
</Rule>