群集

Cluster 包含指定群集相关详细信息的设置,例如其接口、IP 地址、端口规则等。

注意

要启用此网络负载平衡设置,必须在要安装的 Windows 映像中启用 NetworkLoadBalancingFullServer 包。 为此,请使用 Windows 系统映像管理器将 Microsoft-Windows-Foundation-Package 添加到你的应答文件,然后配置 NetworkLoadBalancingFullServer 包以启用该包。 有关添加和配置包的详细信息,请参阅 Windows 评估和部署 (Windows ADK) 技术参考

子元素

设置 说明
BDATeam 指定有关双向关联 (BDA) 团队的详细信息。
ClusterIpAddress 指定群集主 IP 地址。
ClusterIpToClusterMacEnabled 指定是否根据主群集 IP 地址自动计算群集 MAC 地址。
ClusterMacAddress 指定在配置单播群集时使用的群集 MAC 地址。
ClusterMode 指定群集模式。
ClusterName 指定群集的完整 Internet 名称。
ClusterNetMask 指定群集 IP 地址的子网掩码。
DedicatedIpAddresses 指定主机的唯一 IP 地址。
HostIdentifier 指定群集使用的主机标识符。
ICMPFilteringEnabled 指定是否为群集启用 Internet 控制消息协议 (ICMP) 筛选。
IdentityHeartbeatPeriod 指定在 NetworkLoadBalancing 群集主机之间传输标识检测信号的重复间隔。
InitialHostState 指定群集的初始主机状态。
Interface 指定要绑定到网络负载均衡 (NLB) 的接口名称。 这是一个必需的设置。
MaskSourceMacEnabled 指定是否使用源媒体访问控制 (MAC) 地址掩码。
MaximumConnectionDescriptors 指定群集的每个分配的最大描述符数量。
MembershipHeartbeatLossTolerance 指定在安装程序认为网络负载均衡群集主机处于非活动状态并启动收敛之前丢失的检测信号消息数。
MembershipHeartbeatPeriod 指定发送网络负载均衡群集检测信号消息的间隔时间。
MulticastSpoofEnabled 指定是否欺骗地址解析协议 (ARP) 流量。
NetBTSupportEnabled 指定是否为群集启用 NetBT 支持。
PersistSuspendedState 指定在处于挂起状态时关闭的主机在 Windows 启动时是否将保持挂起状态。
Portrules 指定有关用于群集的端口规则的详细信息,包括端口规则的名称、虚拟 IP 地址、协议、模式等。
UnicastInterHostCommunicationSupportEnabled 指定是否为群集启用单播主机间通信支持。
VirtualIpAddresses 指定群集的虚拟 IP 地址。

有效配置阶段

specialize

父层次结构

Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster

应用于

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-NetworkLoadBalancing-Core

XML 示例

以下 XML 输出演示了如何指定有关群集的详细信息。

<Cluster>
   <Interface>Local Area Connection 2</Interface>
   <ClusterIpAddress>10.100.0.234</ClusterIpAddress>
   <ClusterNetMask>255.255.255.0</ClusterNetMask>
   <VirtualIpAddresses>
      <IpAddress wcm:keyValue="Ip1">
         <IpAddress>10.192.45.1</IpAddress>
         <NetworkMask>255.255.255.0</NetworkMask>
      </IpAddress>
      <IpAddress wcm:keyValue="Ip2">
         <IpAddress>fe80::204:23ff:feb9:1111</IpAddress>
      </IpAddress>
   </VirtualIpAddresses>
   <Portrules>
      <Portrule wcm:keyValue="Portrule1">
         <VirtualIpAddress>255.255.255.255</VirtualIpAddress>
         <Protocol>TCP</Protocol>
         <StartPort>0</StartPort>
         <EndPort>65535</EndPort>
         <Mode>MultipleHost</Mode>
         <EqualLoad>true</EqualLoad>
         <ClientAffinity>None</ClientAffinity>
      </Portrule>
      <Portrule wcm:keyValue="Portrule2">
         <VirtualIpAddress>10.100.0.223</VirtualIpAddress>
         <Protocol>Both</Protocol>
         <StartPort>80</StartPort>
         <EndPort>80</EndPort>
         <Mode>MultipleHost</Mode>
         <LoadWeight>100</LoadWeight>
         <ClientAffinity>Single</ClientAffinity>
      </Portrule>
      <Portrule wcm:keyValue="Portrule3">
         <VirtualIpAddress>10.100.0.99</VirtualIpAddress>
         <Protocol>TCP</Protocol>
         <StartPort>23</StartPort>
         <EndPort>23</EndPort>
         <Mode>Disabled</Mode>
      </Portrule>
      <Portrule wcm:keyValue="Portrule4">
         <VirtualIpAddress>255.255.255.255</VirtualIpAddress>
         <Protocol>UDP</Protocol>
         <StartPort>25</StartPort>
         <EndPort>25</EndPort>
         <Mode>MultipleHost</Mode>
         <EqualLoad>true</EqualLoad>
         <ClientAffinity>Network</ClientAffinity>
      </Portrule>
      <Portrule wcm:keyValue="Portrule5">
         <VirtualIpAddress>10.100.0.223</VirtualIpAddress>
         <Protocol>TCP</Protocol>
         <StartPort>3389</StartPort>
         <EndPort>3389</EndPort>
         <Mode>SingleHost</Mode>
         <HostPriority>1</HostPriority>
      </Portrule>
   </Portrules>
   <DedicatedIpAddresses>
      <IpAddress wcm:keyValue="Ip1">
         <IpAddress>10.192.45.1</IpAddress>
         <NetworkMask>255.255.255.0</NetworkMask>
      </IpAddress>
      <IpAddress wcm:keyValue="Ip2">
         <IpAddress>fe80::204:23ff:feb9:1111</IpAddress>
      </IpAddress>
   </DedicatedIpAddresses>
   <HostIdentifier>6</HostIdentifier>
   <ClusterMacAddress>02-bf-01-02-03-04</ClusterMacAddress>
   <ClusterName>mycluster.domain.com</ClusterName>
   <ClusterMode>Multicast</ClusterMode>
   <InitialHostState>Started</InitialHostState>
   <PersistSuspendedState>false</PersistSuspendedState>
   <MembershipHeartbeatPeriod>1000</MembershipHeartbeatPeriod>
   <MembershipHeartbeatLossTolerance>5</MembershipHeartbeatLossTolerance>
   <IdentityHeartbeatPeriod>2000</IdentityHeartbeatPeriod>
   <MulticastSpoofEnabled>false</MulticastSpoofEnabled>
   <MaskSourceMacEnabled>true</MaskSourceMacEnabled>
   <ICMPFilteringEnabled>false</ICMPFilteringEnabled>
   <NetBTSupportEnabled>true</NetBTSupportEnabled>
   <ClusterIpToClusterMacEnabled>true</ClusterIpToClusterMacEnabled>
   <UnicastInterHostCommunicationSupportEnabled>true</UnicastInterHostCommunicationSupportEnabled>
   <MaximumConnectionDescriptors>512</MaximumConnectionDescriptors>
   <BDATeam>
      <Team>{BF967924-0DE6-11D0-A285-00AA003049E2}</Team>
      <Master>true</Master>
      <ReverseHash>true</ReverseHash>
   </BDATeam>
</Cluster>

群集