<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Re-seeding Exchange CCR when it breaks

Published on
9,226 Points
3,226 Views
Last Modified:
Approved
There may be times where you will need to re-seed Exchange CCR when it breaks.  This is frequent after the logs drive fills up and you have manually deleted the logs on the active node to get it up and running again.  The passive node will need to be reseeded.  Other reasons you may need to re-seed include:

•Corrupt log file
•Data loss after a failure
•Offline defrag of the DB
In summary, re-seeding involves copying a new copy of the edb database and log files onto the passive node and replaying the logs to the log file specified by the chk file on the active node.

There is a direct correlation between the size of the database and the amount of time it takes to re-seed.  However, there is a handy string of o’s to let you know how you are getting on.  e.g.

0000000000000000000000……………………………………..56%

So, to do this, first suspend replication of the Storage Group in the Exchange PowerShell:

Suspend-StorageGroupCopy -Identity:<Server\StorageGroupName>

If you don’t have the name of the Storage Group Copy, run:

get-StorageGroupCopy

Next, manually remove (delete) the database, log files and checkpoint files from the Passive Node.

Next, while still on the passive node, run:

Update-StorageGroupCopy -Identity:<Server\StorageGroupName>

Once it has completed, you can resume the Storage Group Copy as follows:

Resume-StorageGroupCopy -Identity:<Server>\<StorageGroupName>

Finally, verify that CCR is working properly again using the Get-StorageGroupCopyStatus utility

Hope this helps,

Rob
http://robsilver.org 
0
Comment
Author:RobSilver
0 Comments

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Join & Write a Comment

This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
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…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month