
Improvements to the Get-StorageGroupCopyStatus Cmdlet in SP1
In Exchange 2007 RTM, there are several conditions where the status reported by Get-StorageGroupCopyStatus and the continuous replication performance counters are inaccurate or misleading:
-
A storage group that is not active (for example, not changing) can report its status as healthy when it might not be healthy. This situation occurs because the unhealthy condition is not detected until a log is replayed.
-
During replication initialization, the replication status is being evaluated and may not be accurate. When initialization completes, the status is updated.
-
The value of the LastLogGenerated field can be wrong when the database in the storage group is dismounted.
-
When there are one or more missing log files in the middle of a log stream, the passive copy continues to try to recover, causing the replication status to switch between failed and healthy states. When this happens, the replay and copy queues continue to grow.
-
Under rare conditions, a log can be successfully verified but still fail to replay. In this situation, the system will alternate between failed and healthy states during its attempts to recover. When this happens, the replay and copy queues continue to grow.
Exchange 2007 RTM uses the cluster database and the registry for communication between the Microsoft Exchange Replication service and Exchange management tasks, which is an asynchronous process. Because the process is asynchronous, it can result in the unreliable status described earlier.
In Exchange 2007 SP1, the preceding issues have been resolved by a redesign of the underlying mechanism used for communication between the Microsoft Exchange Replication service and Exchange management tasks. Instead of using the Cluster service or the registry, the management tasks now communicate directly with the Microsoft Exchange Replication service using remote procedure calls (RPCs).
In addition, the Get-StorageGroupCopyStatus cmdlet has been enhanced with the addition of new status information:
-
The Get-StorageGroupCopyStatus cmdlet reports a SummaryCopyStatus of ServiceDown when the Microsoft Exchange Replication service on the target computer is not network accessible.
-
The Get-StorageGroupCopyStatus cmdlet reports a SummaryCopyStatus of Initializing when the Microsoft Exchange Replication service on the target computer has not completed its initial startup checks. A new performance counter has also been created to represent this status as a Boolean.
-
The Get-StorageGroupCopyStatus cmdlet reports a SummaryCopyStatus of Synchronizing when it has not completed an incremental reseed.
The new states for the SummaryCopyStatus value are visible only when you use the Exchange 2007 SP1 version of the Exchange management tools. When you use the Exchange 2007 RTM version of the Exchange management tools, the status for any of the preceding states will be reported as Failed.