Subscribe to Windows IT Pro
July 17, 2001 12:00 AM

The 7 Habits of Highly Available Exchange Servers

Windows IT Pro
InstantDoc ID #21519
Rating: (1)
Lessons in self-and server improvement

Consulting about Microsoft Exchange Server availability is like watching the Loony Tunes' Wile E. Coyote: Watch for a while, and you can begin to predict the mistakes that lead to the falls. You also learn that the falls aren't as deadly as the pounding that follows close behind. After years of working with Exchange Server organizations, I've identified the factors that can lead to falls from high availability and the disaster recovery mistakes that can make these falls catastrophic. Inspired by Stephen R. Covey's bestseller The 7 Habits of Highly Effective People (Simon & Schuster, 1999), I've identified seven factors that help organizations prevent Exchange Server system failures and maintain high availability.

Seek first to Understand Downtime
Administrators must commit to solving the problems that decrease Exchange Server availability. Such problems fall into one of two categories: planned downtime or unplanned downtime. Planned downtime (e.g., applying service packs, upgrading hardware) is by far the easier category to manage. The best approach, when feasible, is to schedule planned downtime for nonbusiness hours.

Highly available Exchange Server organizations conduct risk assessments of unplanned downtime events. An important part of these assessments is the list you generate of possible downtime events. You can sort this list by the events' relative risks, then concentrate on preventing high-probability, high-impact events (e.g., Software Component A causing Software Component B to behave unexpectedly) and give less attention to the low-probability events (e.g., a meteorite striking your data center).

In my experience, software quality problems—bugs—are most often the cause of unplanned downtime. However, your response to outages—the decisions you make and the procedures you follow—determines the duration of the downtime. Unplanned downtime cycles have several stages, from problem identification through recovery. Understanding these stages and preparing yourself for action helps minimize downtime.

The first stage is notification that a problem exists. Automated notification systems—either built-in or added on—can detect hardware problems before they cause outages. OS- and application-level monitors, such as NetIQ's AppManager Suite and BMC Software's PATROL for Microsoft Exchange 2000 Servers, also aid in early problem detection. Undetected problems can lead to cascading failures that obscure the source problem. For example, suppose a mail connector queue fills Server A's hard disk. If this problem goes unnoticed, it might result in a connector on Server B failing to deliver messages to Server A. Thus, Server B appears to be the source of the problem, which diverts attention from the actual source: Server A.

The second stage is thorough problem analysis. Analysis helps you develop a troubleshooting course of action. The troubleshooting team must react quickly, but mistakes can be costly. The team members need to first isolate the problem to prevent further harm. Then, they must gather information about the problem, whether from tracking logs, Windows event logs, or the server operator's records of system changes.

Implementing and testing your recovery solution is the third stage. But don't consider the downtime cycle complete until the fourth stage: analysis of the lessons you've learned. Most unplanned downtime events contain lessons that can help you prevent a recurrence of the problem.

Put Hardware First
Hardware is the foundation of availability. Application stability doesn't matter if
you don't run your applications on solid hardware. Fault-tolerant hardware often lets you repair hardware faults without taking systems down. Redundant components can keep systems running when the inevitable hardware faults occur. Hot-swappable components let you replace them without downtime.

RAID-protected hard disk subsystems are key to protecting your Exchange servers from the effects of hard disk failure. Best practice is to place Exchange Server log files on a RAID 1 volume and the database on a RAID 5 or, better yet, RAID 0+1 volume. For more information about the pros and cons of these RAID configurations, see the sidebar "Comparing RAID 5 and RAID 0+1."

Storage planning is another important consideration. One organization's Exchange Server administrators told me that migrations to larger storage cabinets and more or larger hard disks were their servers' most significant sources of downtime (corporate policy prevented these administrators from enforcing mailbox limits). The organization was looking into a Storage Area Network (SAN) as a solution. A SAN provides a high-performance pool of hard disks from which you can allocate storage to servers. SANs also simplify storage expansion, reconfiguration, and backup and recovery. However, transitioning to SAN-based storage can be difficult and can increase downtime.

Clustering for a Win-Win Environment
Clustering improves application reliability and helps prevent system failures. But the real beauty of clustering is that it can make even unreliable applications highly available to end users. For example, one day Node A in my 2-node Exchange Server 5.5 cluster began failing over to Node B. When I looked in the event log, I noticed that the failovers were occurring at 2-hour intervals. The person who installed the cluster had mistakenly installed an evaluation edition of Windows NT Server. When the 120-day evaluation period had expired, the OS began performing hard shutdowns every 2 hours. Clustering kept our Exchange Server system available to end users until we resolved the problem.

Clustering also helps you manage planned downtime. In a clustered environment, you can fail over Node A's services to Node B, then apply a service pack, hotfix, or upgrade to Node A.

Exchange Server 5.5 permits only 2-node active-passive clustering. Only the active node can perform Exchange Server processing. The passive node can't perform any processing until failover occurs. This limitation has lowered clustering's adoption rate, because 2-node active-passive clustering requires you to spend twice as much money on hardware without increasing processing capacity.

Exchange 2000 active-passive clusters are slightly different from Exchange Server 5.5 clusters: One node runs an Exchange Virtual Server (EVS) and the other has Exchange 2000 and doesn't run EVS until a failover occurs. Exchange 2000 with Service Pack 1 (SP1) permits 2-node active-active clustering on Windows 2000 Advanced Server. However, to ensure failover, you need to carefully distribute active user connections and keep processor utilization within the range that lets failovers occur. You can progress to 4-node clustering (i.e., 3+1 clustering) on Win2K Datacenter. Although you get better returns for your hardware investment when you cluster on Exchange 2000 and Win2K, you must still purchase special storage that lets two or more cluster nodes share a hard disk. Fibre channel SANs are a must for 3+1 clusters. For more information about clustering, see Greg Todd, "Microsoft Clustering Solutions," November 2000.

Back Up with Restores in Mind
A nasty crash can result in a corrupted Information Store (IS) that won't mount. This situation can necessitate a lengthy recovery process. Checking database integrity can take several hours. Eseutil, Exchange Server's primary integrity check and repair utility, could take an hour to check and repair a 15GB database, even with the fastest disk technology.

Related Content:

ARTICLE TOOLS

Comments
  • ADAM
    6 years ago
    Jan 25, 2006

    Is this article likely to be updated for Exchange 2003 or later? I'd be happy to have a go.

  • Linda Mentzer
    10 years ago
    Jan 18, 2002




    Not Just a Storage Solution Provider


    I'm writing in regard to Evan Morris's "The 7 Habits of Highly Available Exchange Servers" (August 2001). Although Marathon Technologies is pleased to be included in this article, the article represents the company's solutions too narrowly.


    Habit 4: Back Up with Restores in Mind mentions Marathon as a storage solution provider. Marathon has storage capabilities, but the company's key goal is to ensure that mission-critical applications keep running.


    In keeping with the title of the article, mention of Marathon's NoFail EMail offerings seems appropriate. Marathon's NoFail Email continuous Exchange solutions guarantee that email will always be available and accessible with no loss of data or transactions. Marathon's Long Distance SplitSite Disaster Tolerance offering lets you physically separate Marathon Exchange Servers and place them in different geographic locations, thus providing high availability and disaster tolerance.


    As you can see, Marathon is more than just a storage solution provider. Marathon is an overall system-availability solutions provider for the Windows environment that spans a variety of applications, including messaging, storage, process automation, e-commerce, online financial services, computer-aided emergency dispatch, and Web-based applications.


    Linda Mentzer, Vice President of Marketing, Marathon Technologies

  • Shane Woodman
    11 years ago
    Aug 11, 2001

    I agree with the previous comments about the perils of clustering. I've just spent the week from hell fixing a major problem with Exchange 5.5 running on a Win2k cluster at one of our client's sites. After a week without mail, users (and more importantly Management) were becoming increasingly frustrated at their inability to do their jobs...heads were on the block here.

    The problem was eventually traced to a cluster node misbehaving badly (the node was evicted, rebuilt and brought back into the cluster without problems), however there were very few indicators pointing to the cluster node as the source of the problem. For what this client actually requires (which is **NOT** 24x7 availability) clustering is a complex, overpriced solution that has it's own set of problems. A single server solution with RAID 0+1 and RAID 5 storage would have been more appropriate for this customer, however the cluster was sold to the client as a "must have". Beware the perils of an over-ambitious sales department where clustering is concerned...

  • M. Yassin
    11 years ago
    Aug 08, 2001

    I agree with Nigel and Calin. The best method for backing up your Exchange org environment is still cloning the disk/partition, rather than wasting time and money on clustering solutions.



    In my company, we use a 2 HDDs with ($700) Lucor ExactCopy software installed on NT 4.0/Exh 5.5 SP3, and we scheduled twice a week a complete exact copy (sector by sector) through ExactCopy program from Disk 0 to Disk 1, in addition to our weekly tape backup for Exchange server databases. In case of HD failure, simply remove the failed disk and replace it with the other one. Thanks to ExactCopy to maintain for you 100% copy of your original HD. If the copy disk fails, just replace it and rebuild it again with ExactCopy!. For any other DB/Mailbox restore reason, use the weekly back-up from the tape on NT server.

  • Nigel Robinson
    11 years ago
    Aug 06, 2001

    One method we have used for fast recovery (Exch 5.5).


    (a) Shutdown services.

    (b) Cold backup to disk ( clone / snapshot etc. ).

    (c) Backup disk to tape.


    In the event of failure:-

    (a) Point Exchange server databases to clone copies

    (b) restart services ( applying transactions )



    This saved my skin once and was pretty quick. Probably not recommended by anyone though.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.