All posts tagged ccr

Moving logs of a CCR enabled storage group

Logs verplaatsen van een normale storage group is niet zo heel moeilijk, in het geval van een storage groep waarvoor CCR is ingeschakeld dien je een aantal dingen goed in de gaten te houden.

Het verplaatsen van de logs is vaak een eenmalige actie. De eerste storage group die aangemaakt wordt tijdens de installatie zet zowel de logs als de checkpoint file op dezelfde schijf als de database zelf. Dit laatste is niet echt aan te raden. Het is beter om de logs en de checkpoint file op een andere schijf te plaatsen. In het geval van een recovery zijn namelijk deze bestanden erg belangrijk.


When you would like to change the log path of a normal storage group it’s not very hard, but when you want to change the log path of a storage group which is CCR enabled then you will need to do a few more things.

In this tutorial I will explain how you can move the logs from the CCR enabled storage group.

For the first step we will need to open the Exchange Management Console, we will need to disable to log replication temporarily. This can be done by going to the mailbox server via server configuration. Then select the storage group and right click on it, the menu below will be displayed.

 Suspend Storage Group Copy

In this menu we select the option Suspend Storage Group Copy, a new screen will be displayed which will let you enter the reason why you suspend the copy, you don’t have to fill it in if you don’t like it.

Administrative suspend

The status of the CCR will be changed from healthy to suspended.

Now the CCR copy has been disabled temporarily we need to open the Exchange Management Shell to perform the reconfiguration of the log path. This can only be done via the Exchange Management Shell.

Move storage group logs via Powershell

By executing the command: move-StorageGroupPath -Identity ‘First Storage Group’ -LogFolderPath ‘E:\Mailbox\SG1’ – ConfigurationOnly we specify that we want to change the log path, files must be moved manually because the Powershell command won’t do it for you. Two confirmations will be asked, one for the reconfiguration of the log path and the other tells you that all databases within the storage group will be dismounted. Please be aware that the storage group will not be available to users at that moment.

When the command has been executed successfully you will need to move the log files and fileswith the jrs extension manually to their new location. When this is done you can enable the mount the storage group again via the Exchange Management Console by right clicking on it and choose the option mount.

Mount database

When the storage group and databases are mounted again you can enable CCR. This can be done by right clicking on the storage group and select the option Restore Storage Group Copy. After several seconds the status will change to healthy again. When you have a look at the properties of the storage group you will see that the log path has been changed to the new location.

Log path changed