Udostępnij za pośrednictwem


How to Enable Standby Continuous Replication for an Existing Storage Group

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 explains how to use the Exchange Management Shell to enable standby continuous replication (SCR) for a storage group.

Before You Begin

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.

Important

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.

Note

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.

Procedure

To use the Exchange Management Shell to enable SCR for an existing storage group

  • Run the following command:

    Enable-StorageGroupCopy -Identity <NameofStorageGroup> -StandbyMachine <NameofSCRTargetMachine> -ReplayLagTime 0.1:0:0
    

    Note

    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

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