Exchange 2013: Configuration F5 APM 11.6 for Exchange 2013

In this howto, F5 APM is used for the release of Exchange 2013. First, a brief overview of the test environment:

F5 Environment

I have 2 Exchange servers and a DC in the internal network, the servers have entered 172.16.100.1 as the default gateway. F5 APM has 2 network cards, one is directly connected to the Internet (in my case the Internet is the network 172.16.1.0/24). The second network card has an IP in the internal network. Furthermore, the F5 has a dedicated network card in a management network (192.168.30.0/24). The basic configuration can be seen in the following pictures.

Management settings:

image

Network cards or VLANs 1.1 (internal) and 1.2 (external)

image

Internal and external self IPs:

image

So much for the basic configuration. A certificate with the external access names is required for APM. Since I want to publish all Exchange services via a DNS name, my certificate only contains 2 DNS names:

  • autodiscover.frankysweb.de
  • outlook.frankysweb.de

image

I have explained how certificates can be created with your own CA. described here. The certificate must first be imported on the F5:

image

The F5 understands the PFX format, so no complicated conversion is necessary. Upload certificate, enter password and name, done:

image

If you didn't do the provisioning directly during the installation, you have to do it now. So far, I have only provisioned the LTM module, so I am now also selecting APM:

image

When provisioning, the services restart, so do not run if there are active sessions...

image

Next, the iApp template can be installed, the current iApp templates can be downloaded here:

https://downloads.f5.com/esd/eula.sv?sw=BIG-IP&pro=big-ip_v11.x&ver=11.6.0&container=iApp-Templates&path=&file=&B1=I+Accept

From the many templates, only the Exchange template is required: f5.microsoft_exchange_2010_2013_cas.v1.4.0.tmpl. This can now be imported:

image

Select and upload template (.tmpl) file.

image

An iApp can now be created from the template

image

Enter the name of the iApp and the template

image

The template now asks for the settings, the first screen is self-explanatory, by the way, a user with domain admin rights is required, in my case the user is called "F5APM":

image

The second page actually also. Under "What is the LDAP tree...", the path to the OU (distinguishedName) in which the F5 Service User is stored must be specified. In my case, this is the "User" OU.

image

The previously imported certificate must be selected under "Which Client certificate/key...".

image

The next settings depend on the environment. I set the IP address for the virtual service to 172.16.1.20. The DNS names outlook.frankysweb.de and autodiscover.frankysweb.de must also point to this IP address. If you want, you can restrict access to the Exchange Admin Center so that only members of the "Organization Management" group have access to EAC. Here are my settings:

image

The Exchange servers must be specified on the last page, and that's it:

image

Finally, set the DNS entries to the IP of the Virtual Service:

image

image

The iApps make it really easy to get to your destination quickly with F5. Everything works as expected. There is also a nice deployment guide here:

Deploying the BIG-IP System v11 with Microsoft Exchange

Leave a Comment