Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-08-30
This topic explains how to use the Exchange Management Shell to enable standby continuous replication (SCR) for a new storage group.
Before You Begin
To perform this procedure, the account you use must be delegated the 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 create a new storage group that is enabled 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. |
Procedure
To use the Exchange Management Shell to enable SCR for a new storage group
-
Run the following command:
Copy Code New-StorageGroup -Server <Server> -Name <StorageGroupName> -LogFolderPath <PathforLogFiles> -SystemFolderPath <PathforSystemFiles> -StandbyMachine <NameofSCRTargetMachine>
Note: |
---|
The preceding command creates a new storage group and configures the specified standby computer as an SCR target for the new storage group. This command uses the default settings for replay and log truncation. You can use the ReplayLagTime and TruncationLagTime parameters to configure a replay delay value 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 New-StorageGroup.