12.2. Viewing the Replication Status of Several Domain Controllers

Problem

You want to take a quick snap-shot of replication activity for one or more domain controllers.

Solution

Using a command-line interface

The following command will show the replication status of all the domain controllers in the forest:

> repadmin /replsum

You can also use * as a wildcard character to view the status of a subset of domain controllers. The following command will display the replication status of only the servers that begin with the name dc-rtp:

> repadmin /replsum dc-rtp*

Tip

This command is only available with the Windows Server 2003 version of repadmin.

Discussion

The new /replsum option in repadmin is a great way to quickly determine if there are any replication issues. This command should be your starting point if you suspect any replication problems. If you are running /replsum against a lot of domain controllers, you can use the /sort option to order the returned table output by any of the table columns. You can also use the /errorsonly option to display only the replication partners who are encountering errors.

Get Active Directory Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.