Load Balancing Microsoft Exchange with NGINX Plus

DZone 's Guide to

Load Balancing Microsoft Exchange with NGINX Plus

NGING Plus R6 was recently announced with a slew of new features including improved load balancing. Learn about Microsoft Exchange load balancing in NGINX Plus.

· Performance Zone ·
Free Resource

[This article was written by Nick Shadrin]

Last month we announced the release of NGINX Plus R6 and with it a number of new features that were on our customers’ wish lists. Several of the features, including full-featured TCP load balancing and enhancements to our live activity monitoring dashboard, extend the benefits of NGINX Plus to enterprises and other organizations that rely on applications running over TCP rather than HTTP.

In particular, many customers have asked about using NGINX Plus to proxy and load balance Microsoft Exchange traffic. Exchange is widely deployed in all types of environments – from on-premise data centers to cloud environments likeMicrosoft Azure and Amazon Web Services (AWS) – as a mail server, calendar, and contacts management application.

How NGINX Plus R6 Load Balances Microsoft Exchange Traffic

Here’s how the new features in R6 enable NGINX Plus to proxy and load balance Exchange traffic:

  • TCP load balancing – In addition to HTTP and HTTPS, Exchange uses ports and protocols that run over TCP, including Internet Message Access Protocol (IMAP) and Simple Mail Transfer Protocol (SMTP). With the comprehensiveTCP load balancing and reverse proxy capabilities in NGINX Plus R6, enterprises can now benefit from improved performance, availability, and security for all types of Exchange traffic.
  • Monitoring and health checks – It can be a challenge to keep on top of all the moving parts in a multi-protocol application like Exchange. With NGINX Plus’ live activity monitoring dashboard, you can monitor dozens of performance metrics in real time, spotting potential problems before they affect users. NGINX Plus R6 introduces a full range of TCP counters to complement the existing set of HTTP counters. You can also configure NGINX Plus to proactively check the health of TCP-based servers. It automatically stops sending requests to downed servers, greatly reducing the number of “page not found” and other errors that your users experience.
  • Unbuffered upload – Microsoft Outlook uses Microsoft’s RPC over HTTP technology for communication. It opens two simultaneous connections, one for constant upload and the other for constant download, using the HTTP methods RPC_IN_DATA and RPC_OUT_DATA. NGINX Plus R6 (and open source NGINX 1.7.11 and later) support RPC over HTTP traffic with the unbuffered upload feature, which you configure with the proxy_request_buffering directive.

Our Deployment Guide Gets You Started Quickly

To get you started with load balancing your Exchange servers as quickly as possible, we’re publishing a new deployment guide, Using NGINX Plus to Load Balance Microsoft Exchange Servers. It explains step by step how to configure all components – DNS, Exchange, firewalls, and NGINX Plus – on premise or in a cloud environment. You can choose between basic load balancing and an enhanced configuration that improves performance and makes your deployment easier to manage.

We know that many of our customers are long-time and expert NGINX users, and for their convenience we’re also publishing plain NGINX Plus configuration files for both basic and enhanced load balancing of Exchange. (After downloading the files, remember to change their extensions from .txt to .conf or the extension you use for NGINX Plus configuration files.)

Experienced with Exchange but new to NGINX Plus? Take advantage of our 30-day free trial and see for yourself how NGINX Plus can boost the performance and manageability of your Exchange deployment.


Using NGINX Plus to Load Balance Microsoft Exchange Servers Deployment Guide
Configuration file for basic load balancing (for experienced NGINX Plus users)
Configuration file for enhanced load balancing (for experienced NGINX Plus users)

microsoft ,performance ,load balancing ,microsoft exchange ,nginx plus ,nginx plus 6

Published at DZone with permission of Patrick Nommensen , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}