Subscribe to Windows IT Pro
March 28, 2007 12:00 AM

Exchange Storage Ins and Outs

Make your Exchange environment as efficient as possible
Windows IT Pro
InstantDoc ID #95371
Rating: (6)

Circular Logging
Circular logging is a poorly understood Exchange feature that many administrators dismiss as inherently risky—with good reason. When you enable circular logging, Exchange limits the total amount of disk space it uses for transaction logging by overwriting previously created transaction logs after a backup finishes. Although this method makes sense in theory, in practice it means that you might not have a complete set of logs for a particular database—which means that you can't fully recover the database in the event of a failure.

A couple of situations exist in which you might want to enable circular logging for an SG. One case is on front-end SMTP servers. The Exchange 2003 SMTP service requires that you have a mailbox database mounted so that it can generate nondelivery reports (NDRs). Over time, that database accumulates transaction logs unless you enable circular logging. Another situation that calls for circular logging is if you're performing a task that generates a high number of transactions. For example, suppose you need to move 500 mailboxes from one server to another overnight. Doing so will generate a volume of transaction logs on the two servers approximately equal to the volume of mail being moved—a substantial amount. To solve this problem, perform full backups of both servers, then enable circular logging on the SG from which you're moving the mailboxes. You might also want to enable circular logging on the target server, although leaving it off is the safer option. In most other situations, leave circular logging off to avoid overwriting transaction data that you might need later.

SANs
SANs offer some powerful Exchange storage benefits. Having a flexible storage system that lets you allocate and reallocate space on the fly is useful in itself. In addition, being able to logically reassign and move volumes between hosts lets you take full advantage of clustering, point-in-time copies, and other technologies that depend on or benefit from SANs.

However, SANs also introduce some additional storage variables, most of which are specific to the SAN vendor. For example, the way in which a SAN controller allocates physical disks to logical volumes varies among vendors. Some vendors suggest that when you create an aggregate volume, you put as many disks in it as possible; others don't. Some vendors have transparent support for reallocating storage on hot spots; others don't. You need to know and understand your SAN vendor's recommendations for how to allocate and provision Exchange storage. A strategy that works well for one SAN vendor's system might not work for another's.

In general, vendor recommendations follow the Microsoft recommendations I've discussed. The most common discrepancies are regarding the size and type of disks to use for a particular configuration, and RAID design and allocation (e.g., Network Applicance's—NetApp's—filers typically use RAID 4 rather than RAID 5). Before you commit Exchange mailboxes to a SAN setup, use the Microsoft Jetstress tool (jetstress.msi) to evaluate the setup's performance. To download this tool, go to http://www.microsoft.com/downloads/details.aspx?familyid=94b9810b-670e-433ab5ef-b47054595e9c&displaylang=en. In addition, involve your SAN vendor's engineers to ensure that your SAN design and layout are appropriate for your Exchange requirements. Doing so will help protect you against unpleasant and potentially expensive surprises as your storage requirements grow.

Make the Best of Change
Exchange storage technologies have changed significantly in the 10 years since Exchange first shipped. Knowing how to make the best of those changes will help you effectively design and operate an Exchange system that offers superior reliability and performance. For more information about Exchange storage and design, see the resources listed in the Learning Path box.

Use this checklist to create an efficient Exchange storage environment.

  • Create multiple storage groups (SGs) with one database each.
  • Determine the best type of RAID to use for your environment.
  • Put transaction logs and databases on separate volumes.
  • Enable circular logging only when necessary.
  • Know your SAN vendor's Exchange storage recommendations.

Related Content:

ARTICLE TOOLS

Comments
  • Brian
    3 years ago
    May 04, 2009

    @wtlgditc Thanks for pointing out that problem. The sentence should read: "When you enable circular logging, Exchange limits the total amount of disk space it uses for transaction logging by overwriting previously created transaction logs after a backup finishes."

    I've corrected the text on the page. Rest assured, the editor(s) responsible for this error have been sacked.

    Brian Winstead
    Associate Editor
    Windows IT Pro

  • LEE
    3 years ago
    Apr 25, 2009

    This seems like nonsense to me... and the magazine says the same thing... can someone decipher it for me? (Right or wrong).

    "When you enable circular logging, Exchange the total amount of it uses for trans-by overwriting transaction logs after a backup finishes."

    (You'd think the editors would correct something like this before it goes to print, or at least AFTER it's printed on the web site!)

    Great.... I can't comment without rating the article... so I guess it gets a 3

  • Murat
    5 years ago
    Apr 20, 2007

    Robichaux you are wrong again: Circular logging keeps everything simple. And from the backup-restore point of view, circular logging is again unavoidable. If you didn't enable circular logging and try to restore databases now (to get some erased mails back for example) the log files are played back after the restore, and you end up with the databases of the time just before the restore. That is you didn't restore the databases. There are two work-arounds for this problem: 1) Delete all the files (logs and databases) before restore so that only the log files backed up earlier will be played back 2) Enable circular logging from the beginning.

    Another point: You hard disk organization advise is also useless. Hard disk usage has never been a bottleneck for Exchange shops. The bottleneck has been always the memory. So, to try to optimize the hard disk usage and offering the use of mirroring in addition to RAID 5 is meaningless. And if yo do so you will have some complex structures in your hand, preventing the easy disaster recovery.

  • PAUL
    5 years ago
    Apr 19, 2007

    Circular logging is totally unavoidable! That's bad advice, and I certainly hope no one follows it. As for the 1 DB/SG backup restriction, that's a long-standing restriction that dates back to the days when there was only one mailbox database per server.

  • Murat
    5 years ago
    Apr 19, 2007

    Robichaux is wrong stating that we can backup or restore one database per SG at a time. You can backup and restore multiple stores per SG at a time.

    And again he is wrong when he advises turning off the circular logging. Circular logging is unavoidable. When you turn it off you end up tens of thousands of log files easily. My advise is "use circular logging and backup your exchange information store regularly"

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.