How to Move a Storage Group in a Standby Continuous Replication Environment
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic describes the recommended way to move a storage group that has been enabled for standby continuous replication (SCR). In an SCR configuration, there are two or more sets of storage group configuration files, one for the source and one for each target. The locations for all copies must be changed in tandem. For continuous replication to work, the paths for an SCR source and its targets must be identical. Therefore, you must perform this procedure on the source and all of its targets to maintain a working SCR environment.
Similar procedures are used to reconfigure the location of a mailbox or public folder database in an SCR-enabled storage group. For detailed steps about how to move the location of database files in an SCR-enabled storage group, see How to Move a Database in a Standby Continuous Replication Environment.
Before You Begin
To perform the following procedure, the account you use must be delegated the Exchange Server Administrator role and local Administrators group for the source and the target server. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Before moving an SCR-enabled storage group, you must use the Exchange Management Shell to suspend continuous replication. After the move has been completed, you can use the Exchange Management Shell to resume continuous replication.
To move the location for storage group files for an SCR-enabled storage group
Open the Exchange Management Shell.
Suspend transaction log replication and replay activity by using the Suspend-StorageGroupCopy cmdlet.
Suspend-StorageGroupCopy -Identity <Server\StorageGroupName> -StandbyMachine <NameOfSCRTargetMachine>
Use the Move-StorageGroupPath cmdlet with the -ConfigurationOnly option to change the path information for the storage group in the Active Directory directory service.
Move-StorageGroupPath -Identity <Server\StorageGroupName> -LogFolderPath <PathforLogFiles> -SystemFolderPath <PathforSystemFiles> -ConfigurationOnly
The paths for the log files and system files are often the same; however, they do not need to be.
On the SCR source computer, use Windows Explorer to manually move the log files and system files from the old path to the new location specified by the paths in Step 3.
On the SCR target computers, use Windows Explorer to manually move the log files and system files from the old path to the new location specified by the paths in Step 3.
Restart replication by using the Resume-StorageGroupCopy cmdlet.
Resume-StorageGroupCopy -Identity <Server\StorageGroupName> -StandbyMachine <NameOfSCRTargetMachine>
Verify that replication for the storage group is proceeding normally. For detailed steps about how to verify that replication is healthy, see How to View the Status of Standby Continuous Replication.
For More Information
For detailed syntax and parameter information about the cmdlets, see Suspend-StorageGroupCopy, Move-StorageGroupPath, and Resume-StorageGroupCopy. For more information about managing your SCR environment, see Managing Standby Continuous Replication.