
Proxying with Network Load Balancing
In an organization that has multiple Active Directory sites and multiple Client Access servers in each site, you can use Network Load Balancing (NLB) to distribute traffic among the Client Access servers in each site for failover redundancy. We do not support including Client Access servers from different Active Directory sites within the same load balancing array. You can deploy NLB in an Internet-facing Active Directory site and in a non-Internet-facing Active Directory site. The following figure illustrates two Active Directory sites that implement NLB.
Proxying in an organization that uses NLB
.gif)
The following table lists the settings for the virtual directories that are on the Client Access servers CAS-01 and CAS-02 for the Internet-facing Active Directory site www.contoso.com.
Virtual directory settings for Internet-facing Client Access servers in an organization that uses NLB
|
Virtual directory
|
InternalURL setting
|
ExternalURL setting
|
Authentication method
|
| /OWA | https://computername/OWA | https://www.contoso.com/OWA | If the Internet Security and Acceleration (ISA) Server computer is using forms-based authentication, Outlook Web Access should use Integrated Windows authentication. If authentication is not being handled on the ISA Server computer, Outlook Web Access should be configured with forms-based authentication. |
| /OAB | https://computername/OAB | https://www.contoso.com /OAB | Integrated Windows authentication |
| /UnifiedMessaging | https://computername/UnifiedMessaging | https://www.contoso.com /UnifiedMessaging | Integrated Windows authentication |
| /Microsoft-Server-ActiveSync | https://computername/Microsoft-Server-ActiveSync | https://www.contoso.com /Microsoft-Server-ActiveSync | Integrated Windows authentication |
| /EWS | https://computername/EWS | https://www.contoso.com /EWS | Integrated Windows authentication |
Note When you configure your firewall, you must configure IP Affinity for proxying to succeed for Exchange Web Services and Outlook Web Access. IP Affinity allows a request that originates from one computer to always be proxied to the same destination computer.
The non-Internet-facing Active Directory site has three servers: CAS-03, CAS-04, and CAS-05. The following table lists the settings for the virtual directories for all three servers.
Virtual directory settings for non-Internet-facing Client Access servers in an organization that uses NLB
|
Virtual directory
|
InternalURL setting
|
ExternalURL setting
|
NLBBypassURL setting
|
Authentication method
|
| /OWA | https://computername/OWA | $Null | $Null | Integrated Windows authentication |
| /OAB | https://NLBname/OAB | $Null | $Null | Integrated Windows authentication |
| /UnifiedMessaging | https://NLBname/UnifiedMessaging | $Null | $Null | Integrated Windows authentication |
| /Microsoft-Server-ActiveSync | https://NLBname/Microsoft-Server-ActiveSync | $Null | $Null | Integrated Windows authentication |
| /EWS | https://NLBname/EWS | $Null | https://computername/EWS | Integrated Windows authentication |
Note: |
|---|
|
For Outlook Web Access and Exchange Web Services, you must also have Kerberos authentication enabled.
|
The ExternalURL property for all the virtual directories should be set to $Null. If the ExternalURL property is set to anything other than $Null, the non-Internet-facing Client Access servers will operate as if they are exposed to the Internet, and will prevent clients from successfully connecting to these servers or being redirected to these servers.
Outlook Web Access and Exchange Web Services handle load balancing differently than the Availability service and Exchange ActiveSync. Outlook Web Access and Exchange Web Services implement their own load balancing when proxying to a site with multiple Client Access servers. If a user tries to access Outlook Web Access through https://www.contoso.com/owa and is proxied to a non-Internet facing Active Directory site that contains CAS-01, CAS-02, and CAS-03, a user who is proxied to CAS-01 the first time will always be proxied to CAS-01, even if CAS-02 has fewer concurrent connections. If CAS-01 is unavailable, the user will be proxied to CAS-02.
Note: |
|---|
|
For both Outlook Web Access and Exchange Web Services, your firewall should be configured for IP Affinity or cookie-based affinity. This is the process by which a particular client application connects to the same IP address every time. This is required so that the SSL negotiation is not performed repeatedly for each request.
|
The process is different for Exchange ActiveSync. When an Internet-facing Client Access server proxies a request to a non-Internet-facing Client Access server, the connection is maintained by using information that is stored in the local Administrator account. This connection can then be used by other user requests. In a Network Load Balancing situation, the Client Access servers in the Internet-facing NLB will establish connections to the Client Access servers in the non-Internet-facing NLB. The number of connections will be equal to the number of Client Access servers in the destination Active Directory site. We recommend implementing round robin load balancing within the NLB array.
Note: |
|---|
|
We recommend that you implement Network Load Balancing in both the Internet-facing and non-Internet facing Active Directory sites. In a non-Internet facing Active Directory site that does not have Network Load Balancing, if one of the Client Access servers in the site is unavailable, any Exchange ActiveSync clients that have previously been proxied to that Client Access server will fail until the Client Access server becomes available again. The synchronization state for Exchange ActiveSync is stored in the mailbox for the client. Therefore, if a client is proxied to CAS-02 the first time that they connect, they will be proxied to CAS-02 every time that they connect.
|
For more information about Network Load Balancing, see the Windows Server 2003 documentation.
Note: |
|---|
|
In many deployments, the installation of the Client Access server role and the Hub Transport server role are on the same computer. In this topology, you can configure Network Load Balancing for the Client Access server role separately from the Hub Transport server role. Network Load Balancing is currently not supported on the Hub Transport server role. However, it is supported for the Client Access server role. To configure Network Load Balancing for the Client Access server role and not the Hub Transport server role, configure ports 80 and 443 for client access. The Hub Transport server role implements its own high availability within the software.
|