Exchange 2013: Test system with Database Availability Group (DAG) and Kemp load balancers (part 4)

In parts 1, 2 and 3 of this series of articles, we have already installed the Exchange servers, configured the load balancers for HA and created a DAG. Now the Exchange configuration for load balancing and the actual load balancer configuration are still missing to make the Exchange CAS role highly available. We will take care of this in this article.

So let's first take care of the external domain by clicking on the wrench under "Server" in the ECP

Exchange

Add both servers and enter the external name, in my case "owa.frankysweb.de"

image

Once the external URL has been set, Outlook Anywhere can be configured by selecting EX01 and clicking on the pencil icon

image

Under Outlook Anywhere, enter the external and internal DNS name, for me this is "mail.frankysweb.de" or "mail.frankysweb.local".

image

The virtual directories have now all been configured with the external URL owa.frankysweb.de, but I would like to separate the services from each other, this is done under "Server" -> "Virtual directories"

image

I have configured the Exchange Server certificates so that a DNS name is used for each directory, see also here: https://www.frankysweb.de/?p=1614

image

These URLs must now be assigned for the virtual directories, here in the example for the "OWA" directory. This change is made for Server EX01 and EX02 for all directories with the exception of "Autodiscover" and "Powershell (Default Web Site)" and "ECP"

image

The warning when changing the directories is still normal, as I have not yet created the DNS entries, which will follow shortly.

After all directories have been changed, I restart the IIS on both Exchange servers for security reasons

iisreset

image

Now I create the DNS entries for the individual Exchange services, again assigning an IP to each service. The IPs are later assigned to the virtual services of the load balancers.

image

To ensure that Autodiscover also works in my test environment, I have created the zone frankysweb.de on the DNS servers, the entries also point to the internal IPs. Normally, of course, the external WAN IPs must be listed here

image

Once the DNS entries have been created, the virtual services can be configured on the load balancers. To do this, we log in to the Cluster Shared IP on the load balancers and create a new virtual service. In this case it is OWA

image

After clicking on "Add this Virtual Service", the "L7 Transparency" checkbox is removed in the "Standard Options". The remaining settings can remain as they are

image

Under "Real Servers" you can now configure how the load balancers should check whether the service is still available.

image

The Exchange 2013 CAS servers can now be specified by clicking on "Add New..." under "Real Servers". Both Exchange servers are of course specified.

image

When the Exchange servers have been added, the overview should look like this:

image

The remaining services must now be created. The same settings apply here except for the virtual IP address and the URLs.

Here are the check URLs of the respective services:

OAB = /OAB

OWA = /owa/auth/logon.aspx

Autodiscover = /AutoDiscover/AutoDiscover.xml

EAS = /Microsoft-Server-ActiveSync

EWS = /EWS/Exchange.asmx

Outlook Anywhere = /rpc/rpcproxy.dll

When all services have been created, it should look like this:

image

That's all there is to it. Outlook now connects to mail.frankysweb.local

image

The only thing left to do now is the tests, which will follow tomorrow Smiley

2 thoughts on “Exchange 2013: Testsystem mit Database Availability Group (DAG) und Kemp Loadbalancern (Teil 4)”

  1. Hallo Franky,

    Vielen Dank für das Tutorial,
    Ich vermisse bei mir den Schraubenschlüssel, woran kann das liegen?

    MFG
    Dominik

    Reply
  2. Hallo Frank,
    vielen Dank für das Tutorial. Gibt es einen Grund, warum Du für die einzelnen Dienste eigene URLs / Hosteinträge im DNS verwendest?

    Danke!

    Reply

Leave a Comment