Server Affinity Page

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Application Request Routing (ARR) provides client and host name affinity features that enable you to provide stickiness between clients and servers.

Host name affinity lets you map a host name to a server so that all requests for the same host name are routed to the same server. Client affinity is used to map a client to an application server behind ARR for the duration of the client session. A load balance algorithm is used for the first request from the client. Subsequent requests from the same client are routed to the application server for the duration of the client session.

Note

You can use client affinity and host name affinity together. When both are configured, if a host name is affinitized to multiple servers, client affinity is applied within the allocated and host name affinitized application servers.

UI Elements

Element Name Description

Client affinity

Select this option to use client affinity to map a client to an application server.

Cookie name

Displays the name of the cookie to use to set the cookie on the client. The client must accept cookies to make client affinity work correctly.

Use host name

Select this option to use host name affinity to route all requests with the same host name to the same application servers.

Host name affinity provider

Use the list to select the provider to use to affinitize host names. There are two options:

  • Microsoft.Web.Arr.HostNameRoundRobin – Allocates and affinitizes host names so that they are distributed evenly.

  • Microsoft.Web.Arr.HostNameMemory – Allocates and affinitizes host names based on memory information calculated from performance counters.

Ignore subdomains

Select this option to ignore subdomains, for example, support.mydomain.com or images.mydomain.com.

Time-out (minutes)

Specifies the time, in minutes, that a request can attempt to connect to the server.

Display Routing Table

Opens the View Routing Table dialog box. This enables you to see where the host names are affinitized.

Advanced Settings

Opens the Advanced Settings dialog box. This enables you to add, remove, or configure host names, and determine the number of servers that a host name can consume.

Use external cache

Select this option to use external cache.

File share path

Click browse (…) or type the path of your file share.

Worker process

Select this option to use a worker identity to access the share.

Specific user

Select this option to specify credentials for a user who is allowed to access the file share.

User name

Provide the user name of a specific user.

Password

Provide the password of a specific user.

Actions Pane Elements

Element Name Description

Apply

Applies the changes that you have made.

Cancel

Disregards the changes that you have made and resets the settings to the previous values.

See Also

Concepts

View Routing Table Dialog Box
Advanced Settings Dialog Box
Memory Based Provider Dialog Box