Implementing High Availability for Outlook Web Access using Network Load Balancing

Markus Klein photo
Today nearly every company that is running Exchange Server 2003 publishes Outlook Web Access to provide their users with the ability to read and write emails from nearly all around the world. The only thing you need to have is a computer connected to the Internet. This means that it is now more important than ever that you provide high availability and high performance to your users. Windows Server 2003 provides a powerful solution regarding this topic: Network Load Balancing, formerly known as Windows Load Balancing. In this article we will see how to configure Network Load Balancing for Outlook Web Access Services.

The Concept

The idea of NLB is to provide a full high available service without any single point of failure. Other load balancing features need a dispatcher that collects all incoming requests and forwards them to one of the nodes. NLB does not need a dispatcher, it is fully software implemented and runs like a driver on the network card interface called Network Load Balancing. By default this feature is installed but not activated. Before activating this feature you will need to know how it works.

NLB works with all socket based applications and supports up to 32 nodes. It automatically provides a virtual MAC address for the virtual server running on all nodes. In addition it will provide the same IP Address for all nodes.

The algorithm running on NLB services provides automatism that a started node is included in the cluster and a powered-down node is excluded within 4-10 seconds.

The configuration is quite easy due to the NLB Configuration Snap-in provided with Windows Server 2003. Due to general understanding problems of NLB concepts we will have a hard look at the manual configuration itself. If you want to, you can configure the same settings using the snap-in wizard.

Configuring Network Load Balancing


Figure 1:
Activation of Network Load Balacing Services


Figure 2: Configuring the Cluster Node Parameters

The “virtual” Cluster Node IP Address is the reserved IP for the cluster on which you can connect to in the future. You can use two modes: Unicast MAC or multicast MAC

In the unicast mode NLB disables the onboard MAC address for the cluster adapter. The dedicated IP address cannot be used for interhost communications because all of the hosts have the same MAC address. In multicast mode NLB supports both the onboard and the multicast address. If your application will require communications using NetBIOS, use multicast mode or install a second network adapter.


Figure 3: Configuring Host Parameters

In the second register card of NLB properties you have to configure the dedicated IP address. And in addition you have to define the unique priority identifier of the node.


Figure 4: Configuring Port Rules for NLB


Figure 5: Editing port rules

Port rules are very important within your NLB configuration. At first you can define the port range on which NLB runs, in addition you can configure the filtering modes: the way your cluster behaves. The default setting is that the load is spread on each node in equal time.

Preparing OWA for Network Load Balancing

After having configured NLB properly on all nodes you can now configure your Exchange Server 2003 Front-end Servers. In Exchange System Manager go to your server object, in properties configure it as Front-end Server. The only thing you need to configure to make them run on NLB services is to configure the virtual IP address of the cluster.


Figure 6: Using NLB on Exchange Server 2003 Front-end Sservers

Now all your users are able to use your NLB clustered Exchange Front-end Server farm using:

http(s)://clustername.company.com/exchange

Conclusion

With Exchange Server 2003 and the Network Load Balancing feature of Windows Server 2003 you can easily configure a high available Oultook Web Access infrastructure without investments in additional hardware components for your network.

It can be easily monitored, too. For example there is a management packet for Microsoft Operations Manager 2005 and the NLB feature is fully WMI scriptable.

Further information can be found at:

http://download.microsoft.com/download/4/d/e/4de815ef-2904-420a-b726-e57de31ae63a/ClusteringOverview.doc

http://www.microsoft.com/downloads/details.aspx?FamilyId=95C3AA67-C2C0-46D1-BB62-9DDC694712D4&displaylang=en

If there are still questions, please do not hesitate to contact me.

About Markus Klein

Markus Klein photo Markus Klein is a MCSA/MCSE Messaging & Security and Microsoft Certified Trainer. He is a Consultant and IT Senior Trainer at Bechtle AG in the northwest of Germany. He is specialized in Active Directory, Exchange, Security, ISA Server and Clustering on Windows 2000 and Windows Server 2003 designs, migrations and implementations. Markus is a graduate of economical informatics from the University of Applied Science in Osnabrueck/Germany.

Click here for Markus Klein's section.

Share this article

Receive all the latest articles by email!

Get all articles delivered directly to your mailbox as and when they are released on MSExchange.org! Choose between receiving instant updates with the Real-Time Article Update, or a monthly summary with the Monthly Article Update. Sign up to the MSExchange.org Monthly Newsletter, written by Exchange MVP Henrik Walther, containing news, the hottest tips, Exchange links of the month and much more. Subscribe today and don't miss a thing!



Receive all the latest articles by email!

Receive Real-Time & Monthly MSExchange.org article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become an MSExchange.org member!

Discuss your Exchange Server issues with thousands of other Exchange experts. Click here to join!

Solution Center

Readers' Choice

Which is your preferred Exchange Server Mail Archiving software solution?