Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 2007

Exchange Storage Ins and Outs

Make your Exchange environment as efficient as possible
RSS
Subscribe to Windows IT Pro | See More RAID Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.

End of Article

   Previous  1  [2]  Next  


Reader Comments
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"

muraty April 19, 2007 (Article Rating: )


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.

paulrobichaux April 19, 2007 (Article Rating: )


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.

muraty April 20, 2007 (Article Rating: )


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

wtlgditc April 25, 2009 (Article Rating: )


@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

bkwin May 04, 2009 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Storage Whitepapers Turn to a Proven Server and Storage Migration Solution

The Impact of Disk Fragmentation on Servers

Take Control of Your Email: Understand the Business Reasons for Email Storage Management

Related Events Disk-to-Disk Grows Up

Think That Intelligent Data Storage Systems Exceed Your IT budget? Think Again!

Take Control of Storage & eDiscovery Costs with Unified Content Archiving

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement