How to Enable Standby Continuous Replication for an Existing Storage Group

Exchange 2007

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

Topic Last Modified: 2008-03-06

This topic explains how to use the Exchange Management Shell to enable standby continuous replication (SCR) for a storage group.

To perform this procedure, the account you use must be delegated Exchange Server Administrator role and local Administrators group for the source and target servers. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Before you can enable a storage group for SCR, you must first make sure that the paths for the storage group files, log files, and database file can be identically matched on the SCR source and all SCR target computers.

For example, if on the SCR source, the storage group files and log files are located at D:\SG1\Logs and the database is located at E:\SG1\Database, you must also have D:\SG1\Logs and E:\SG1\Database available for the path on all SCR target computers.

The built-in delay of 50 log files and the value of the ReplayLagTime parameter has implications for the creation of the initial SCR target database. An SCR target database will not be created until 50 transaction log files have been replicated to the SCR target computer, and until the time period specified by ReplayLagTime (or the default ReplayLagTime value of 24 hours) has elapsed. To change the replay or truncation delay settings, you must first disable SCR, and then re-enable SCR using the new values for these settings.
When enabling an existing storage group for SCR, a manual seeding of the storage group may be necessary. If the transaction log file containing the createDB record (usually the log with the first generation sequence number) no longer exists, you must manually seed the SCR target after enabling SCR. For detailed steps, see How to Seed a Standby Continuous Replication Target.

  • Run the following command:

    Enable-StorageGroupCopy -Identity <NameofStorageGroup> -StandbyMachine <NameofSCRTargetMachine> -ReplayLagTime 0.1:0:0
    The preceding command enables the specified standby computer as an SCR target for the specified storage group. This command uses the default settings for seeding and log truncation, and it overrides the default replay delay of 24 hours with a setting of 1 hour. You can also use the SeedingPostponed and TruncationLagTime parameters to postpone seeding or configure a log truncation delay value.

For more information about SCR, see Standby Continuous Replication. For detailed syntax and parameter information about the cmdlet, see Enable-StorageGroupCopy.


Community Additions