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 optimize traffic among the Client Access servers in each site. We recommend that you include only Client Access servers within the same Active Directory site in a 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 shows 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 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
|
Forms-based authentication if the Internet Security and Acceleration (ISA) Server computer is using forms-based authentication. If the ISA Server computer isn't using forms-based authentication, use Integrated Windows 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. 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
|
Authentication method
|
|---|
|
/OWA
|
https://computername/OWA
|
$Null
|
Integrated Windows authentication
|
|
/AS
|
https://NLBname/AS
|
$Null
|
Integrated Windows authentication
|
|
/OAB
|
https://NLBname/OAB
|
$Null
|
Integrated Windows authentication
|
|
/UnifiedMessaging
|
https://NLBname/UnifiedMessaging
|
$Null
|
Integrated Windows authentication
|
|
/Microsoft-Server-ActiveSync
|
https://NLBname/Microsoft-Server-ActiveSync
|
$Null
|
Integrated Windows authentication
|
|
/EWS
|
https://computername/EWS
|
$Null
|
Kerberos authentication
|
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're exposed to the Internet and will prevent clients from successfully connecting to these servers.
Outlook Web App and Exchange Web Services handle load balancing differently than the Availability service and Exchange ActiveSync. Outlook Web App and Exchange Web Services implement their own load balancing when they're deployed on multiple Client Access servers within the same Active Directory site. If a user tries to access Outlook Web App through https://www.contoso.com/OWA and is proxied to CAS-01, the next time that user tries to access Outlook Web App, they'll again be proxied to CAS-01, even if CAS-02 has fewer concurrent connections. This occurs because of cookie-based load balancing (also known as Client IP Affinity). If CAS-01 is unavailable, the user will be proxied to CAS-02.
Note: |
|---|
|
For both Outlook Web App and Exchange Web Services, your firewall should be configured for IP 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 isn't 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 using information stored in the local Administrator account. This connection can then be used by other user requests. In an NLB 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 NLB in both the Internet-facing and non-Internet facing Active Directory sites. In a non-Internet facing Active Directory site that doesn't have NLB, 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. So if a client is proxied to CAS-02 the first time they connect, they'll be proxied to CAS-02 every time they connect.
|
For the Availability service, we also recommend round-robin load balancing. Availability service requests don't have to maintain their connection state. In other words, two consecutive Availability service requests from the same client can be proxied to different Client Access servers in the destination Active Directory site without affecting performance.
For more information about NLB, 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 NLB for the Client Access server role separately from the Hub Transport server role. Currently NLB isn't supported on the Hub Transport server role. However, it's supported for the Client Access server role. To configure NLB 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.
|