We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Load Balancer

Microsoft Exchange Server 2013 Deployment

  • Last updated on

 This article applies to:

  • Barracuda Load Balancer running firmware version 3.6.1.009 or higher
  • Barracuda Load Balancer 340 or above
  • Microsoft® Exchange Server 2013

This article assumes you are connected to the Barracuda Load Balancer web interface and have an activated subscription.

Step 1. Create Services

1a. Log into the Barracuda Load Balancer as the administrator, and go to the BASIC > Service page.

1b. Click Advanced View, and add a Service for all items in Table 1 below:

  1. In the Server Name field, enter the Service name
  2. In the Service Type field, select the Server type
  3. In the Virtual IP field, enter the Virtual IP address
  4. Select the protocol, and enter it in the port in the associated field
  5. Choose the interface to be bound to
  6. Add the Real Server IP addresses, and add the port of the CAS servers IP address. To add multiple servers click on the more button.jpg button.

Table 1. Services. 

Service Name

Virtual IP Address

Protocol

Service Type

Service Port

Real Server Port

Monitor Port

HTTPS

VIP Address of the FQDN that client use to access

mail.domin.local

autodiscover.domain.local

eas.domain.local

outlook.domain.local

oab.domain.local

ecp.domain.local

TCP

Layer 7 HTTPS

443

443

443

HTTP Redirect

VIP Address of the FQDN that client use to access

mail.domin.local

autodiscover.domain.local

eas.domain.local

outlook.domain.local

oab.domain.local

ecp.domain.local

TCP

Layer 7 HTTP

80

N/A Redirect Service

80

Step 2. Edit the Settings

Once the Services are configured, edit the Service settings using the values in Table 2.

Table 2. Service Settings.

Service Name

Service Details Page Setting

HTTPS

Persistence Setting

  • Set Persistence Time: 1200
  • Persistence Type: HTTP Cookie
  • Cookie name: Choose  a cookie name

Session Timeout Settings (found at the bottom of the page in the Advanced section)

  • Set Session Timeout: 1200

SSL Offloading

  • Certificate: Choose a  certificate that you have uploaded to the Barracuda Load Balancer

HTTP Redirect

In the General Section, set the value Enable HTTP Redirect to yes.

Step 3. Configure HTTPS Connection to the CAS Server

Click Edit on the Server setting using the values in Table 3.

Table 3. Server Details 

Service Name

Server Details Setting

HTTPS

Edit the Server details,

  • Edit the SSL the config to enable HTTPS / SSL
  • Certificate validation can be ignored

Step 4. HTTPS Service Health Checks

4a. Go to the BASIC > Services page, and click the Edit icon for each Real Server associated with the OWA - HTTPS Service; The Real Server Detail page displays.

4b. In the Real Server Detail section, set Port to 443.

4c. In the Server Monitor section, set the following values:

  1. Set the Testing Method to Simple HTTPS.
  2. Set the Port to 443.
  3. Change the Test Target to:
    /owa/auth/logon.aspx
    If you have modified the path of logon.aspx from the Exchange 2013 default, use the modified path in the Test Target.
  4. Config Test Match to:
    2011 Microsoft Corporation
  5. Change Additional Headers to:
    User-Agent: Barracuda Load Balancer Server Monitor
  6. Set the Status Code to 200 and set the Test Delay to 30.

Step 5. Configure DNS

Once the configuration is complete you can configure the DNS for mail.domain.local, autodiscover.domain.local ,eas.domain.local,  outlook.domain.local, oab.domain.local , ecp.domain.local to point to the VIP created for the HTTP & HTTPS Service using the following steps:

 5a. Configure HTTPS namespace on the Exchange Admin Center:

  1. Log into your  Microsoft Exchange Admin Center.
  2. Click on Servers, click on the virtual directories, click edit on CAS1, and configure external access domain:

    2013_01.jpg 
  3. Add both the servers to the list and configure the external domain:
    2013_02.jpg
     

5b. Click save to save the configuration.

Barracuda Networks recommends that you use the same certificate on both the Barracuda Load Balancer and on CAS arrays.

Step 6. Configure Hub Transport Services on the Barracuda Load Balancer

On each active Barracuda Load Balancer that handles traffic for Hub Transport Services, complete the following steps to configure Hub Transport Services for Exchange.

6a. Log into the Barracuda Load Balancer, go to the BASIC > Services page, and expand the Add New Service section.

6b. Add the SMTP Service and, optionally, the SMTP/SSL Service listed in Table 4.

Table 4. SMTP Service

Service NameVirtual IP AddressProtocolService TypeService PortReal Server Port
SMTP

VIP address for FQDN that resolves to CAS array.

For example: exchange.domain.local

TCPTCP Proxy2525
(Optional) SMTP/SSL

VIP address for FQDN that resolves to CAS array.

For example: exchange.domain.local

TCPTCP Proxy587587
  • In the Real Server field, if your Real Servers are consolidated with both the CAS and HUB roles installed, enter their IP addresses for each Service that you create. If the Hub Transport role is installed on separate servers (other than those with the CAS role), enter the IP addresses of only the servers with the Hub role installed. The created Services load balance the SMTP traffic to the Hub transport servers for incoming client SMTP connections.

Exchange Hub Transport should never be configured to communicate with other internal Microsoft Exchange Hub Servers via the Barracuda Load Balancer. The Service on the Barracuda Load Balancer should only be used for client connections or inbound connections from other organizations.

 

Last updated on