叢集Cluster

Cluster 包含用來指定叢集詳細資料的設定,例如其介面、IP 位址、portrules 等等。Cluster contains the settings to specify details about a cluster, such as its interface, IP address, portrules, and so on.

注意

若要啟用此 [網路負載平衡] 設定,必須在您要安裝的 Windows 映像中啟用 NetworkLoadBalancingFullServer 套件。To enable this Network Load Balancing setting, the NetworkLoadBalancingFullServer package must be enabled in the Windows image you are installing. 若要這樣做,請使用 Windows 系統映像管理員將 Microsoft-Windows-Foundation-Package 新增至回應檔案,然後設定 NetworkLoadBalancingFullServer 套件以啟用它。To do this, use Windows System Image Manager to add the Microsoft-Windows-Foundation-Package to your answer file, and then configure the NetworkLoadBalancingFullServer package to enable it. 如需新增及設定封裝的詳細資訊,請參閱 WINDOWS ADK) 技術參考中的 Windows 評定及部署 (For more information about adding and configuring packages, see the Windows Assessment and Deployment (Windows ADK) Technical Reference.

子元素Child Elements

設定Setting 描述Description
BDATeamBDATeam 指定 (BDA) 團隊的雙向親和性詳細資料。Specifies details about a bidirectional affinity (BDA) team.
ClusterIpAddressClusterIpAddress 指定叢集的主要 IP 位址。Specifies the cluster primary IP address.
ClusterIpToClusterMacEnabledClusterIpToClusterMacEnabled 指定是否自動從主要叢集 IP 位址計算叢集 MAC 位址。Specifies whether the cluster MAC address is automatically calculated from the primary cluster IP address.
ClusterMacAddressClusterMacAddress 指定設定單播叢集時要使用的叢集 MAC 位址。Specifies the cluster MAC address to be used when configuring a unicast cluster.
ClusterModeClusterMode 指定叢集的模式。Specifies the mode for the cluster.
ClusterNameClusterName 指定叢集的完整網際網路名稱。Specifies a full Internet name for the cluster.
ClusterNetMaskClusterNetMask 指定叢集 IP 位址的子網路遮罩。Specifies the subnet mask for the cluster IP address.
DedicatedIpAddressesDedicatedIpAddresses 指定主機的唯一 IP 位址。Specifies the host's unique IP addresses.
HostIdentifierHostIdentifier 指定此叢集所使用的主機識別碼。Specifies the host identifier used by this cluster.
ICMPFilteringEnabledICMPFilteringEnabled 指定是否啟用叢集的網際網路控制訊息通訊協定 (ICMP) 篩選。Specifies whether Internet Control Message Protocol (ICMP) filtering is enabled for the cluster.
IdentityHeartbeatPeriodIdentityHeartbeatPeriod 指定在 NetworkLoadBalancing 叢集主機之間傳輸身分識別心跳的週期間隔。Specifies the recurrence interval for transmitting identity heartbeats between the NetworkLoadBalancing cluster hosts.
InitialHostStateInitialHostState 指定叢集的初始正本狀態。Specifies the initial host state for the cluster.
介面Interface 指定要系結至 (NLB) 的網路負載平衡的介面名稱。Specifies the interface name to bind to network load balancing (NLB). 這是必要的設定。This is a required setting.
MaskSourceMacEnabledMaskSourceMacEnabled 指定是否使用來源媒體存取控制 (MAC) 位址遮罩。Specifies whether source Media Access Control (MAC) address masking is used.
MaximumConnectionDescriptorsMaximumConnectionDescriptors 指定叢集每個配置的描述項最大數目。Specifies the maximum number of descriptors per allocation for the cluster.
MembershipHeartbeatLossToleranceMembershipHeartbeatLossTolerance 指定在安裝程式將網路負載平衡叢集主機停用並起始聚合之前,遺失的信號訊息數目。Specifies the number of lost heartbeat messages before Setup considers the Network Load Balancing cluster host inactive and initiates convergence.
MembershipHeartbeatPeriodMembershipHeartbeatPeriod 指定傳送網路負載平衡叢集的信號訊息之間的期間。Specifies a period between sending Network Load Balancing cluster heartbeat messages.
MulticastSpoofEnabledMulticastSpoofEnabled 指定是否應偽造 (ARP) 流量的位址解析通訊協定。Specifies whether address resolution protocol (ARP) traffic should be spoofed.
NetBTSupportEnabledNetBTSupportEnabled 指定是否啟用叢集的 NetBT 支援。Specifies whether NetBT support is enabled for the cluster.
PersistSuspendedStatePersistSuspendedState 指定當 Windows 啟動時,是否在處於暫停狀態時關閉的主機會保持暫停狀態。Specifies whether a host that is shut down while in a suspended state will remain suspended when Windows is started.
PortrulesPortrules 指定用於叢集之連接埠規則的詳細資料,包括連接埠規則的名稱、虛擬 IP 位址、通訊協定、模式等等。Specifies details about the port rules that are used for the cluster, including a port rule's name, virtual IP address, protocol, mode, and so on.
UnicastInterHostCommunicationSupportEnabledUnicastInterHostCommunicationSupportEnabled 指定是否啟用叢集的單播、interhost 通訊支援。Specifies whether unicast, interhost communication support is enabled for the cluster.
VirtualIpAddressesVirtualIpAddresses 指定叢集的虛擬 IP 位址。Specifies the cluster’s virtual IP addresses.

有效的設定階段Valid Configuration Passes

特殊化specialize

父階層Parent Hierarchy

Microsoft-Windows-NetworkLoadBalancing-核心 | 群集 | Cluster 叢集Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster

套用至Applies To

如需此元件所支援的 Windows 版本和架構清單,請參閱 NetworkLoadBalancing 核心For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-NetworkLoadBalancing-Core.

XML 範例XML Example

下列 XML 輸出顯示如何指定叢集的詳細資料。The following XML output shows how to specify details about a cluster.

<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>

叢集Clusters