?
Solved

Circular Logging

Posted on 2011-02-24
3
Medium Priority
?
303 Views
Last Modified: 2012-05-11
In Exchange 2003, to enable CL on a Storage Group, I would

1. Dismount SG DB's
2. Enable CL
3. Mount SG DB's

....this always seemed to work.

With Exchange 2007, I have read that the recommended method is:

1. Enable CL
2. Dismount SG DB's
3. Mount DG DB's

http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx

Could someone confirm if I have been doing it wrong or there is any real difference and why?

Also, is there a Powershell command that I can run to enable/disable CL?
0
Comment
Question by:smith1974
  • 2
3 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 1000 total points
ID: 34975837
There is no difference.

The CL tag isn't checked until the store is disjointed and then remounred again.

It doesn't matter if the store is mounted or not when you check the box.
0
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 1000 total points
ID: 34975852

Systematically, there's nothing different between the two. Either way around is fine, and I've never seen a "best practice" describing the best way to do it.

Personally, I would set the flag before cycling the databases in the Storage Group, but that's just to minimise downtime. If the configuration change is in place, the only time out is in dismounting and then re-mounting the DBs and not making the configuration change.

That's a very weak argument though - it really depends on what scenario you're faced with as to how you do it.

As for Powershell commands, they're mentioned in the article you linked to. :)

Essentially, you want something like this:
Set-StorageGroup "SG name" -CircularLoggingEnabled $true

Open in new window

(replacing true for false as appropriate)

I don't have an Exchange 2007 handy to test the following on, but you might also be able to cycle the DBs in a SG using something like the following:
Get-MailboxDatabase -StorageGroup "SG name" | Dismount-Database
Get-MailboxDatabase -StorageGroup "SG name" | Mount-Database

Open in new window


-Matt
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34975865
Actually, I am going to disagree with myself.

You would set it when the store was dismounted if you cannot mount the store because the logs have consumed all the disk space ;)
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Configure external lookups on for external mail flow on Exchange 2013 and Exchange 2016.
Are you working to mount the dismounted Exchange 2013 database? Then the best course of action is to analyze the causes of Database issue, their probable solutions and decide for the appropriate course of action.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question