Compartilhar via


ClientAffinity

Applies To: Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

ClientAffinity specifies how network multiple requests are directed in a cluster.

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.

Values

Single

Specifies that Network Load Balancing direct multiple requests from the same client IP address to the same cluster host. This is the default setting.

Network

Specifies that Network Load Balancing direct multiple requests from the same TCP/IP Class C address range to the same cluster host.

None

Specifies that multiple connections from the same client IP address can be handled by different cluster hosts (no client affinity). Avoid using None when selecting UDP or Both for your protocol setting.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

specialize

Parent Hierarchy

Microsoft-Windows-NetworkLoadBalancing-Core | Clusters | Cluster | Portrules | Portrule | ClientAffinity

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 specify that multiple connections from the same client IP address can be handled by different cluster hosts.

<ClientAffinity>None</ClientAffinity>

See Also

Concepts

Portrule