將網路負載平衡 (NLB) 叢集中的主機設定為負載平衡網路流量。使用 NLB 管理員設定主機設定,若沒有正確設定主機設定,NLB 叢集可能無法正常運作。
確保虛擬 IP 位址和子網路遮罩的數目一致
在所有網路負載平衡 (NLB) 叢集主機上,虛擬 IP 位址的數目必須與指定的子網路遮罩數目相同。
確保虛擬 IP 位址的數目與子網路遮罩的數目相同:
請依序按一下 [開始]、[系統管理工具] 及 [網路負載平衡管理員]。您也可以藉由在命令提示字元中輸入 Nlbmgr 開啟 NLB 管理員。
若 NLB 管理員未列出叢集,請連線至叢集。
在要設定的主機上按一下滑鼠右鍵,然後按一下 [主機內容]。
按一下 [主機參數] 索引標籤。
在 IP 位址和子網路遮罩中,驗證每個虛擬 IP 地址是否都有一個對應的子網路遮罩。如有必要,輸入有效的虛擬 IP 位址或子網路遮罩。
Target | Microsoft.Windows.NetworkLoadBalancing.6.2.ServerRole |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
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 |
<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>