叢集

Clusters 包含指定叢集詳細資料的設定。

注意

若要啟用此 [網路負載平衡] 設定,必須在您要安裝的 Windows 映像中啟用 NetworkLoadBalancingFullServer 套件。 若要這樣做,請使用 Windows 系統映像管理員將 Microsoft-Windows-Foundation-Package 新增至回應檔案,然後設定 NetworkLoadBalancingFullServer 套件以啟用它。 如需新增和設定套件的詳細資訊,請參閱 Windows 評定與部署 (Windows ADK) 技術參考

子元素

設定 描述
Cluster 指定叢集的詳細資料,例如其介面、IP 位址、連接埠規則等等。

有效的設定階段

特殊化

父階層

Microsoft-Windows-NetworkLoadBalancing-Core | 集群

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-NetworkLoadBalancing-Core

XML 範例

設定的 Clusters 下列 XML 輸出示範如何設定叢集以進行網路負載平衡。

<Clusters>
   <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>false</ReverseHash>
      </BDATeam>
   </Cluster>
</Clusters>

microsoft-windows-networkloadbalancing-core-