Portrule
specifies details about a port rule used
for the cluster, including its name, virtual IP address, protocol,
mode, and so on.
Note |
---|
To enable this Network Load Balancing setting, the NetworkLoadBalancingFullServer package must be enabled in the Windows® image you are installing. 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. For more information about adding and configuring packages, see the Windows® Assessment and Deployment (Windows ADK) Technical Reference. |
Child Elements
Specifies how network multiple requests are directed in a cluster. |
|
Specifies the end port used by the port rule. |
|
Specifies details about the equal load for the port rule. |
|
Specifies the host priority for the port rule. |
|
Specifies the name of the port rule. |
|
Specifies the load weight of the port rule. |
|
Specifies the mode of the port rule. |
|
Specifies the protocol used by the port rule. |
|
Specifies the start port used by the port rule. |
|
Specifies the number of seconds for which the client affinity would be preserved across configuration changes in a cluster. |
|
Specifies the virtual IP address of the port rule. |
Valid Passes
specialize
Parent Hierarchy
Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster | Portrules | Portrule
Applies To
For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-NetworkLoadBalancing-Core.
XML Example
The following XML output shows how to configure a port rule for a cluster
Copy Code | |
---|---|
<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> |