Pro-Exchange,Lync & Office 365
Belgian Microsoft Unified Communications Professionals
Microsoft Exchange Server, Microsoft Lync Server & Office 365
Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview

Following one of my previous articles in which I described how you could configure a Database Availability Group to achieve high availability for the Mailbox Server Role, we will now take a look at the process of how to configure high availability for the Client Access Server.

CAS Array

To achieve high availability, you create a load-balanced array of Client Access Servers just like in Exchange Server 2010. Other than before, layer-4 load balancing now becomes a viable options, though that would only be in the smallest deployments where there’s no budget for load balancers.

Layer-4 load balancing only takes into account the IP (and TCP port). Yes, you are no longer required to configure “affinity”. The latter is the process where a connection – once it was built – had to be persisted through the same Client Access Servers. This is because CAS in Exchange Server 2013 doesn’t do any data-rendering anymore: everything happens on the backend (Mailbox servers).

I hear you thinking: does this mean we could use DNS load balancing (a.k.a. round-robin). The answer is yes and no. Yes, because it will load-balance between multiple Client Access Servers; no because if a server would fail, you’d have to remove the server (manually) from DNS and wait for the record to time-out on all the clients. While this might be a cost-effective way to have load-balancing and a very, very basic form of high availability, it is not a real viable solution for most deployments…

Ever since the CAS Array was first introduced, it was subject to quite some misconceptions. A lot of them were addressed by Brian Day in a very interesting article he wrote.  What I find is that people tend to mix up the RPC Client Access Array and the load-balanced array used for http-based traffic. Yes, the use of the term CAS Array can be a little confusing. No, they’re not the same! Winking smile

Now, since Exchange Server 2013 dumped using RPC-over-TCP, I no longer see the purpose in creating the RPC Client Access Array object (New-ClientAccessArray). Instead, it suffices to configure multiple Client Access Servers with the same internal hostname for Outlook Anywhere.

To understand what happens, let’s take a look at the following examples:

In the case where you’re using two Client Access Servers in the same AD site, by default Exchange will “load balance” traffic between the two end points. This means that the 1st request will go to CAS1, the second to CAS2, the third to CAS1 etc… While this does provide some sort of load-balancing, it doesn’t really provide high-availability. Once Outlook is connected to a CAS, it will keep trying to connect to that same server, even after the server is down. Eventually, it will try connecting to the other CAS, but in the meantime your Outlook client will be disconnected.


image

If we add a load balancer, we need to configure the Internal Hostname for OA to a shared value between the Client Access Servers. For example: outlook.exblog.be. This fqdn would then point to the VIP of the load balancer which, in turn, would take care of the rest. Because we’re using a load balancer, it will automatically detect a server failure and redirect the incoming connection to the surviving node. Since there is no affinity required, this “fail over” happens transparently to the end user:

 

image

As explained before, this load balancer could be anything from simple DNS load balancing, to WNLB or a full-blown hardware load balancer that’s got all the kinky stuff! However, in contrast to before (Exchange 2010), most of the advanced options are not necessary anymore…

Configuring Outlook Anywhere

To configure the internal hostname for Outlook Anywhere, run the following command for each Client Access Server involved:

Get-OutlookAnywhere – Server <server> | Set-OutlookAnywhere –InternalHostname <fqdn>

Configuring the Load Balancer

As I explained earlier, Layer-4 is now a viable option. Although this could mean that you’d just be using DNS load balancing, you would want to use some load balancing device (physical or virtual).

The benefit of using a load balancer over e.g. WNLB is that these devices usually give you more options towards health-checking of the servers/service that you’re load balancing. This will allow you to better control over the load balancing process. For example: you could check for a particular HTTP-response code to determine whether a server is running or not. It definitely beats using simple ICMP Pings…!

The example below is based on the load balancer in my lab: a KEMP Virtual Load Master 1000. As you will see, it’s setup in the most basic way:

I’ve configured no persistency and – because it’s a lab – I’m only checking the availability of the OWA virtual directory on the Exchange servers. Alternatively, you could do more complex health checks. If you’re looking for more information on how to configure a KEMP load balancer, I’d suggest you take a look at Jaap Wesselius’ blogs here and here. Although these articles describe the configuration of a Load Master in combination with Exchange 2010, the process itself (except for the persistency-stuff etc) is largely the same for Exchange Server 2013. Definitely worth the read!

image

image

image


Posted 08-21-2012 11:03 by Michael Van Horenbeeck

Comments

Exchange 2013 wrote Exchange 2013 interoperability with legacy Exchange versions
on 10-09-2012 9:44

In an earlier post , I briefly explained the proxy & redirection behavior of an Exchange 2013 Client

http://www.e-anim.com/test/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Fracing-rivals-hack%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Fracing-rivals-hack%2F%3C%2Fa%3E wrote http://www.e-anim.com/test/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Fracing-rivals-hack%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Fracing-rivals-hack%2F%3C%2Fa%3E
on 09-13-2014 10:06

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

Google Play Gift Card Generator wrote Google Play Gift Card Generator
on 09-16-2014 8:19

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

simply click the following article wrote simply click the following article
on 09-18-2014 8:05

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

Racing Rivals Hack wrote Racing Rivals Hack
on 09-28-2014 4:15

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

Racing Rivals Redeem Codes wrote Racing Rivals Redeem Codes
on 10-01-2014 1:42

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://sellunited.de/cgi-bin/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Fclash-of-clans-hack%2F%3EHack+Clash+Of+Clans%3C%2Fa%3E wrote http://sellunited.de/cgi-bin/info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Fclash-of-clans-hack%2F%3EHack+Clash+Of+Clans%3C%2Fa%3E
on 10-16-2014 4:01

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://human.gorodok.net/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3C%2Fa%3E wrote http://human.gorodok.net/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3Ehttp%3A%2F%2Fconfidencegames.com%2Ffifa-15-coin-generator%2F%3C%2Fa%3E
on 10-16-2014 1:59

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

prijzen kunststof kozijnen wrote prijzen kunststof kozijnen
on 10-19-2014 12:31

Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365