共用方式為


叢集

Cluster 包含用來指定叢集詳細資料的設定,例如其介面、IP 位址、portrules 等等。

注意

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

子元素

設定 描述
BDATeam 指定 BDA) 小組 (雙向親和性的詳細資料。
ClusterIpAddress 指定叢集主要 IP 位址。
ClusterIpToClusterMacEnabled 指定是否從主要叢集 IP 位址自動計算叢集 MAC 位址。
ClusterMacAddress 指定設定單播叢集時要使用的叢集 MAC 位址。
ClusterMode 指定叢集的模式。
ClusterName 指定叢集的完整網際網路名稱。
ClusterNetMask 指定叢集 IP 位址的子網路遮罩。
DedicatedIpAddresses 指定主機的唯一 IP 位址。
HostIdentifier 指定此叢集所使用的主機識別碼。
ICMPFilteringEnabled 指定是否為叢集啟用網際網路控制訊息通訊協定 (ICMP) 篩選。
IdentityHeartbeatPeriod 指定在 NetworkLoadBalancing 叢集主機之間傳輸身分識別活動訊號的週期間隔。
InitialHostState 指定叢集的初始正本狀態。
介面 指定要系結至網路負載平衡的介面名稱, (NLB) 。 這是必要的設定。
MaskSourceMacEnabled 指定是否使用來源媒體存取控制 (MAC) 位址遮罩。
MaximumConnectionDescriptors 指定叢集每個配置的描述項數目上限。
MembershipHeartbeatLossTolerance 指定安裝程式考慮網路負載平衡叢集主機非作用中並起始聚合之前遺失的活動訊號訊息數目。
MembershipHeartbeatPeriod 指定傳送網路負載平衡叢集活動訊號訊息之間的期間。
MulticastSpoofEnabled 指定位址解析通訊協定 (ARP) 流量是否應詐騙。
NetBTSupportEnabled 指定是否啟用叢集的 NetBT 支援。
PersistSuspendedState 指定當 Windows 啟動時,處於暫停狀態時關閉的主機是否會保持暫停狀態。
Portrules 指定用於叢集的連接埠規則詳細資料,包括連接埠規則的名稱、虛擬 IP 位址、通訊協定、模式等等。
UnicastInterHostCommunicationSupportEnabled 指定叢集是否啟用單播、Interhost 通訊支援。
VirtualIpAddresses 指定叢集的虛擬 IP 位址。

有效的設定階段

特殊化

父階層

Microsoft-Windows-NetworkLoadBalancing-Core | 集群 | 集群

套用至

如需此元件支援的 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>

叢集