?
Solved

Circular Logging

Posted on 2011-02-24
3
Medium Priority
?
299 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Does Powershell have you tied up in knots?

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.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

719 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