将网络负载平衡 (NLB) 群集中的主机配置为负载平衡网络流量。通过使用 NLB 管理器设置主机配置,如果未正确配置,NLB 群集可能不会正常运行。
配置群集网络 MAC 地址
如果网络媒体访问控制 (MAC) 地址不是为下列 xx-xx-xx-xx-xx-xx 格式(其中 x 为十六进制值),则需要进行重新配置。
要使用 NLB 管理器配置网络 MAC 地址,请执行以下操作:
依次单击“开始”、“管理工具”及“网络负载平衡管理器”。还可以通过在命令提示符下键入 Nlbmgr 来打开 NLB 管理器。
如果 NLB 管理器尚未列出群集,请连接群集。
右键单击群集,然后单击“群集属性”。
在网络地址中,键入有效格式(xx-xx-xx-xx-xx-xx,其中 x 为十六进制值)的网络 MAC 地址。
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 |
Alert | 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.driver.failed.to.initialize.because.the.cluster.network.address.is.invalid" 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 Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14</Value>
</ValueExpression>
</SimpleExpression>
</Criteria>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.GenerateAlert.SuppressByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.NetworkLoadBalancing.6.2.NLB.driver.failed.to.initialize.because.the.cluster.network.address.is.invalid.AlertMessage"]$</AlertMessageId>
<EnableAlert>true</EnableAlert>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="Microsoft.Windows.NetworkLoadBalancing.6.2.CollectEvent">
<CollectEvent>false</CollectEvent>
</WriteAction>
</WriteActions>
</Rule>