Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-08-01
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
Note: 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.