Exchange 2013: Load balancing/content delivery with F5 BigIP LTM VE 11.4

The company F5 was kind enough to provide me with a demo version of the current LTM version 11.4. Many thanks at this point for the friendly support from F5. The provided demo license contains not only the loadbalancing feature, but also some other very interesting features. This article is about load balancing for now, more will follow.

I am using the same test environment for this test that I used for the Kemp environment, so the setup is described here:

https://www.frankysweb.de/?p=1684

Preparations

After deploying the VM on an ESXi host, you can get started right away. You can log in as "root" with the password "default"

image

The "config" command starts a wizard with which the IP address can be configured

image

I want to assign a static IP address, in my case it is 192.168.200.254 (due to the test environment I have to change the IP again, so don't be surprised)

image

and the corresponding subnet, in my case 255.255.255.0

image

I would also like to specify a router

image

In my case, this is 192.168.200.1

image

After the summary, you will be returned to the console. You can log out with "logout"

image

Now the preparations are done, 2 monitor users are created with which the function of the server can be monitored, so I create one user in the database MBDB01 and one in MBDB02. I call the users "f5monitor1" and "f5monitor2"

image

For the user "f5monitor2" I proceed as shown above. It should then look like this:

image

Now we still need a certificate for the LTM, the certificate can be issued as described here must be configured. The certificate should contain the following DNS names:

autodiscover.domain.tld

outlook.domain.tld

image

The certificate must now be exported so that it can be imported later on the F5. To do this, click on Export in the certificate MMC:

image

The private key must also be exported

image

The certificate can only be exported as PFX

image

Enter your password and the usual "Next"...

image

Once a storage location has been defined, the wizard can be completed

image

Continue via the browser. After installation, the load balancer can be accessed at https://192.168.200.254, where you can log in with the user "admin" and the password "admin"

LTM

After logging in, I first enter the demo license using the wizard

image

image

After the license key has been entered, the configuration is updated, which takes a short moment

image

After the license has been activated, an overview of the modules is displayed, kindly a demo license for the AFM module is also included, so that could still be exciting, I'll test it, but now I'm only interested in the LTM module.

image

Time to carry out the basic configuration, the wizard helps with this. I first assign an IP for the management network, this is not in the internal network. I choose 192.168.10.254, as mentioned above I change the IP of the management network here, this is because I have rebuilt my test environment in the meantime, so don't get confused, management, internal and external network should have their own subnets.

image

After logging in again, you can continue

image

I don't have an HA

image

For the internal network, I specify the network in which the Exchange servers are also located, since I have no VLANs in my test environment, but only different subnets, the VLANs are untagged

image

Some external network, I don't need that for the time being, but maybe when I test AFM, so I'll add it right away.

image

Configuration completed, now we import the certificate that we have previously created, under the tab "System" -> "File Management" -> "SSL Certificate List" the certificate can be uploaded. PKCS 12 IIS" must be selected as the "Import Type":

image

Assign a name and enter a password, then click on "Import".

image

The preparations have been completed, and the next step is the template.

Template

F5 offers templates for Exchange 2010 and 2013, the templates can be downloaded here:

https://devcentral.f5.com/login?returnurl=/wiki/iapp.microsoft-exchange-2010-and-2013-iapp-template.ashx

To install the templates (don't forget to unzip them), go to the iApp -> Templates tab and click on the "Import" button on the right.

image

Select the template in the dialog and click on "Upload"

image

As soon as the template has been installed, it can be found in the template overview

image

We can now create a new iApp from the template via iApp -> Application Services -> "Create"

image

A name is assigned to the iApp and the corresponding template is selected; after a short loading time, the settings are displayed

image

First, the Exchange Server version is specified, in this case Exchange 2013 of course:

image

The previously imported certificate is now selected

image

In the next settings, "LAN" is selected for the setting "Will clients be connecting to this BIG-IP LTM virtual server primarily...", furthermore the setting "Where will your BIG-IP virtual servers be in relation to your Client Access Server", in this case it is set to "Same subnet...".

image

The next step is to configure the Virtual IP, I select 192.168.200.250 as the IP for the Virtual Service and enter my two Client Access Servers with the IPs 192.168.200.101 and 102

image

Now the two monitor users are used, the corresponding data is entered in the fields

image

For my test environment, I set the health check value to 10 seconds, but 30 seconds is fine for productive environments. Finally, I enter the FQDN and click on "Finished"

image

In the overview of Application Services it should now look like this, at the bottom of "FrankysWeb_Exchange2013_combined_http" it says "Unknown", this is normal, because no HTTP connections are allowed, only HTTPS:

image

I immediately started a small test and switched off the "Default Website" on the EX2 server, F5 LTM notices this a short time later and switches the server offline

image

OWA still works:

image

Not bad for a first test Smiley

Leave a Comment