Tech ONTAP Articles

Best Practices for Exchange 2010

Tech_OnTap
14,758 Views

We've seen a lot of interest in Microsoft® Exchange 2010 since its availability was announced last November. Part of the interest is being driven by Exchange 2003 users. With Exchange 2003 reaching end of life, many of these users are planning to upgrade directly to Exchange 2010.

Exchange 2010 also offers significant new features that are undoubtedly fueling interest, including:

  • Architectural/structural changes
  • I/O improvements
  • Improvements to database caching
  • New storage schema optimized for space contiguity and space efficiency
  • Online maintenance features
  • Significant changes to high availability

Of course, there are other new features as well (for more details on new features in Exchange 2010, see this TechNet article), but many of the features I've outlined above have direct implications for storage. NetApp® best practices for Exchange have been updated substantially as a result. In this article, I'll discuss three issues that are critical for deploying Exchange 2010 with NetApp storage:

  • High availability
  • Virtualizing your Exchange Server
  • Achieving storage efficiency

You can find more details on these and other topics, including storage layout, sizing, and capacity planning, in a recently published technical report, "Storage Efficiency and Best Practices for Microsoft Exchange Server 2010."

High Availability

Microsoft has made significant changes to the high-availability architecture for Exchange 2010. Local continuous replication (LCR), cluster continuous replication (CCR), standby continuous replication (SCR), and single copy cluster (SCC) from Exchange 2007 are no longer available. (If you're an Exchange 2007 user, a previous Tech OnTap article described the use of these features with NetApp.)

To replace the server and data resiliency options of earlier versions of Exchange, Microsoft implemented the database availability group (DAG). The DAG uses the same log shipping capability that was used in CCR. A DAG consists of two to 16 mailbox servers. Each mailbox server can hold one or more active or passive copies of a database. Each database has a separate status, so one server can host copies of multiple databases and only have some of those copies active at one time.

The DAG uses a new Exchange component called Active Manager. The Active Manager facilitates failover and failback. In the event of a failure (including a failure in underlying storage or storage connectivity), Exchange 2010 "promotes" one of the copies of the database to active status; the mailbox role then takes up the task of serving up the mailboxes on that database. Failover occurs in less than 30 seconds.

NetApp has established a number of best practices associated with deploying DAGs:

  • Microsoft recommends a minimum of three copies of each mailbox database to limit exposures due to possible storage failures, including double disk failures. NetApp recommends deployments on NetApp storage using RAID-DP®, which can protect against double disk failures while reducing the number of mailbox database copies. We recommend two copies of each mailbox database when the copies are on RAID-DP.
  • Each DAG copy is up-to-date. To allow for point-in-time restores, Microsoft recommends an additional "lag" database copy that allows point-in-time restores up to 14 days back. As an alternative, NetApp provides SnapManager® for Exchange, which allows you to create space-efficient Snapshot™ copies and restore to any point in time without the need for a lag copy.
  • Storage for active and passive copies should be identical in capacity and performance.
  • Active and passive copies should be placed in separate volumes.
  • Perform backups on one of the passive nodes.

HA Deployment Scenarios

If your company only has a single location or you are deploying Exchange 2010 for a single site, NetApp recommends a two-node DAG and a minimum of two copies of each mailbox database. This provides high availability for the single site.

When extending a DAG across multiple sites, NetApp recommends at least three mailbox servers as well as three copies of each mailbox database, two in the primary site and one in the secondary site. This provides high availability within the primary site as well as disaster recovery. This can be configured either using a three-node DAG or a two-node local DAG plus NetApp SnapMirror® to replicate Exchange data to a remote. Because of the SnapMirror thin replication technology and network compression, this can be a preferred alternative in situations where network bandwidth is limited or latency is high. (For a DAG, the latency must be less than 250 milliseconds.)

Figure 1) High availability and DR using a two-node Exchange 2010 DAG

                      combined with NetApp SnapMirror.

Virtualizing Exchange

Virtualizing Exchange environments can deliver significant benefits, including reduced server hardware costs, power and space savings, improved server utilization, rapid server provisioning, improved availability, and increased efficiency. When virtualizing Exchange 2010 roles, NetApp recommends that each role be separated onto a different physical server so there is not a failure of any particular role in the event of a host-server failure. For example, deploying one CAS, one hub, and two mailbox servers per host server provides a good mix in terms of disbursement of roles.

A recent Tech OnTap article provided design guidelines for virtualizing Microsoft Exchange and other Microsoft applications. For additional information and recommendations for virtualizing Exchange 2010 services, you should also look at this recent Microsoft TechNet article.

Virtualizing your Exchange environment can provide you more options for protecting the availability of Exchange, and-because it reduces the cost of server deployment-it can make high availability (HA) more affordable. NetApp storage in a virtualized Exchange environment can further reduce costs because of proven storage efficiency.

Improving Storage Efficiency and Decreasing Cost

Using your storage optimally is always important. Because Exchange 2010 requires multiple copies of an Exchange database for HA and disaster recovery (DR), you will want to be sure you are storing those copies as efficiently as possible.

NetApp storage provides a number of storage efficiency technologies that can significantly reduce the amount of storage your Exchange environment requires whether you implement Exchange 2010 on physical or virtual servers. The more of these technologies you use, the greater the aggregate benefit in terms of storage savings.

  • RAID-DP. As I've already mentioned, RAID-DP offers better protection against disk failures than mirroring (RAID 10), and because it's closely integrated with NetApp WAFL® (Write Anywhere File Layout), it doesn't suffer from the performance problems of other RAID 6 implementations. (See Table 1 for a comparison of RAID types.) You can learn more about the use of RAID-DP with Exchange in this technical report.
  • SATA disks. While not strictly speaking an efficiency technology, there's no question that SATA disks significantly improve economics for the right applications. Although SATA drives are typically slower than Fibre Channel or SAS disks, SATA drives can be paired with NetApp Flash Cache to significantly increase performance with large working set sizes and reduce the read latencies associated with large-capacity drives.

    With the trend toward larger mailbox sizes and the decreased I/O profile of Exchange Server 2010, SATA might be a viable solution in many Exchange environments. Although the SATA disks might be a good fit for performance and capacity, NetApp recommends that when using SATA disks for Exchange deployments, they should be used in conjunction with Flash Cache and in a DS4243 disk shelf.

Table 1) Probability of data loss using SATA disks and various

                 types of RAID.

RAID TypeProbability of Data Loss over Five-Year PeriodRelative Risk of Data Loss Compared to RAID-DP
RAID 10 (1 data disk)0.33%163
RAID 5 (7 data disks)6.0%3955
RAID 6 (7 data disks)0.002%1.0
RAID-DP (7 data disks)0.002%1.0

  • Thin provisioning. NetApp thin provisioning allows storage space to be provisioned but not consumed until data is written to the space (just-in-time storage). Because is it sometimes difficult or impossible to know how much space a storage volume will require at creation time, it is common with the traditional provisioning model to overprovision a LUN. The unused space then sits idle until the application uses it, if it ever does. With thin provisioning, multiple application LUNs can share the same pool of free space for much greater efficiency.

  • Deduplication. NetApp deduplication technology allows you to eliminate much of the duplication that is common in any messaging environment. Deduplication can reduce the storage needed by Exchange from 10% to 30%, depending on your messaging profile. Exchange 2010 eliminates the single-instance storage capability of Exchange, which can increase the size of your Exchange store. NetApp deduplication can also help eliminate the additional duplication that results from this change.

    In a virtualized Exchange environment, the benefits are even greater. Because virtual server environments have many identical copies of the same operating system, applications, and so on, there is always a high degree of duplication in such environments. NetApp storage can eliminate much of this redundancy using either deduplication or thin cloning with NetApp FlexClone® technology. In fact, NetApp guarantees that you will use 50% less storage in a virtual environment with NetApp storage compared to a baseline of traditional storage.

  • Snapshot. Backup of your Exchange environment has to be fast and efficient. NetApp Snapshot technology provides zero-cost, near-instantaneous backup, point-in-time copies of a volume or LUN by creating WAFL consistency points (CPs). Using Snapshot can result in savings in storage cost for backup and restore purposes and opens up a number of efficient data management possibilities.

To streamline management and data protection of Exchange environments, NetApp created SnapManager for Exchange software. SnapManager for Exchange automates complex, manual, and time-consuming processes associated with the backup, recovery, and verification of Exchange Server databases and uses Snapshot technology to reduce backup times to seconds and restore times to minutes. NetApp Single Mailbox Recovery software makes it possible to recover and restore individual mailboxes, messages, or attachments quickly without disrupting other Exchange users. The ability to quickly and easily restore to different points in time provided by SnapManager for Exchange makes keeping a "lag" copy of the database unnecessary, saving additional storage.

Conclusion

If you're thinking about moving to Exchange 2010, paying attention to a few best practices can make a big difference in the success of your deployment. High availability, virtualization, and storage efficiency are all important considerations. This article is only intended to give you a first step in the right direction. To learn more about these topics and to find out about layout, sizing, and capacity planning, check out TR-3824.

Got Opinions About Exchange 2010?

Ask questions, exchange ideas, and share your thoughts online in NetApp Communities.


Brad Garvey
Microsoft Alliance Engineer
NetApp

Brad has been a member of the Microsoft Alliance Engineering Team at NetApp for the past four years, focusing almost exclusively on Exchange Server.

Explore

Please Note:

All content posted on the NetApp Community is publicly searchable and viewable. Participation in the NetApp Community is voluntary.

In accordance with our Code of Conduct and Community Terms of Use, DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information (PII)
  • Copyrighted materials without the permission of the copyright owner

Continued non-compliance may result in NetApp Community account restrictions or termination.

Replies

Brad,

Can you explain the SATA failure table to me? It looks like the data failure rate is higher with a 8-drive RAID 5 array than a 2-drive RAID 10 array. Am I reading that correctly? And, if so, can you school me on why?

Adam

Is there any diagram/table which lists a sample LUN/Volume configuration according to the best practices outlines in TR-3824, such as how we can store multiple copies of the Mailbox Databases, and the Log Files, properly implmenting a DAG. That would be helpful!

Thanks,

Reuv

Public