Forum Discussion
Exchange 2013 DAG
I have exchange cu15 with DAG on a hybrid environment where most of the mailboxes has already been migrated. One of the mail server database drive is almost running out of space.
How to I clean it up DB and log files in a DAG environment considering I am only using one mailbox for hybrid?
6 Replies
Hi PrasantChettri ,
The immediate solution is to remove transition logs, which will free up plenty of space in the disk. To clear up transaction logs (If you don't need the logs further), enable circular logging for the database. Mount and un-mount the databases is needed to take effect the changes. Once the logs are clear up, you can disable circular logging again to keep the original settings
Thanks,
Manu
- Prasant ChettriCopper ContributorIs it safe to clean up transaction log from one server in a dag enabled environment? Or it needs to be removed from both server?
When you enable circular logging in database, It re synchronizes the logs and it will be purged in all database copies. It may few hours depends on the database size. A 200 GB of database with 300 GB logs takes 3 to 4 hours in Blade servers
To Enable circular logging, you may use the following cmdlet :
Set-MailboxDatabase “DatabaseName” -CircularLoggingEnabled:$True
To Disable:
Set-MailboxDatabase “DatabaseName” -CircularLoggingEnabled:$False