Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-10-30
This topic explains how to use the Exchange Management Shell to view the status of a storage group that has been enabled for standby continuous replication (SCR). This topic also explains how to view the current settings for ReplayLagTime and TruncationLagTime.
In the Exchange Management Shell, the Get-StorageGroupCopyStatus cmdlet produces a list of information about each storage group. You can use a subset of the fields to assess the overall health of SCR for the storage group. The fields are:
- Summary copy status
- Copy queue length
- Replay queue length
- Time of the last inspected log
Data in these fields indicate whether the configuration is considered valid for the system, and whether replication is keeping up with the changes produced by the active database. These fields, in addition to the storage group identity, are produced by default.
Before You Begin
To perform this procedure, the account you use must be delegated the Exchange Server Administrator on the SCR source and target computers. For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Procedure
To use the Exchange Management Shell to view the status of an SCR-enabled storage group
-
Open the Exchange Management Shell.
-
Run the following command to get a quick output of the copy status:
Copy Code Get-StorageGroupCopyStatus -Identity <Server>\<StorageGroup> -StandbyMachine
Note: To get a complete list of all the fields in the output, run the cmdlet with an fl (formatted list) or ft (formatted table) option. For a detailed description of the fields in the output, see "Viewing Status Information" in Managing Standby Continuous Replication.
To use the Exchange Management Shell to view the ReplayLagTime and TruncationLagTime settings for an SCR-enabled storage group
-
Open the Exchange Management Shell.
-
Run the script to get details about ReplayLagTime and TruncationLagTime:
Copy Code $a=Get-StorageGroup <ServerName\StorageGroupName> $a.StandbyMachines $a.StandbyMachines[0].ReplayLagtime $a.StandbyMachines[0].TruncationLagtime
For More Information
For detailed syntax and parameter information about the cmdlet, see Get-StorageGroupCopyStatus. For more information about managing your SCR environment, see Managing Standby Continuous Replication.