In many cases, all of the above workloads will share a common domain name – except for Autodiscover. Therefore, we need to find another way of determining the difference between each workload. Consider the following:

When a client connects with Outlook, the URL which it will try to connect will look like this:

https://autodiscover.domain.com/mapi/...

Similarly, if an ActiveSync client is trying to connect, it will do so using the following URL:

https://mail.domain.com/Microsoft-Server-ActiveSync/....

Because Exchange uses a different virtual directory for each of the workloads, we can use that to differentiate traffic from one another. The following table summarizes how this can be achieved:

Workload

RegEx

Health check page – Exchange 2013

OWA

/^\/owa.*/

/owa/healthcheck.htm

EAC/ECP

/^\/ecp.*/

/ecp/healthcheck.htm

EWS

/^\/ews.*/

/ews/healthcheck.htm

OA

/^\/rpc.*/

/rpc/healthcheck.htm

MAPI

/^\/mapi.*/

/mapi/healthcheck.htm

OAB

/^\/oab.*/

/oab/healthcheck.htm

EAS

/^\/Microsoft-server-activesync.*/

/Microsoft-server-activesync/healthcheck.htm

AutoD

/^\/autodiscover.*/

/autodiscover/healthcheck.htm

To create these content matching rules, follow the steps below in the LoadMaster WUI:

  1. In the main menu, select Rules & Checking.
  2. Select Content Rules.
  3. Click Create New.

  4. Add a recognizable Rule Name, for example ECP.
  5. Enter /^\/ecp.*/ in the Match String text box.
  6. Select Ignore Case.
  7. Click Create Rule.
  8. Repeat steps 1 to 7 for each of the rules in the table above. Enter the relevant RegEx in the Match String text box for step 5.