Delen via


Replmon Examples

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

ReplMon Examples

The Replmon graphical user interface tool was removed from Windows Server 2008 and later. Repadmin is still available for troubleshooting replication. For more information on using Repadmin, see Monitoring and Troubleshooting Active Directory Replication Using Repadmin and Getting Over Replmon.

Example 1: Generate a status report for a server

In this example, you use ReplMon to create a log file that records replication events for an individual server. This data is used to troubleshoot possible replication errors in the forest or domain.

To create the log file

  1. In ReplMon, select the server in the Monitored Servers section of the window.

  2. On the Action menu, select Server, and then click Generate Status Report. The Save As dialog box appears.

  3. In the Save As dialog box, type a name for the log file to generate, (optionally) select a new path for the file, and then click Save.

    The Report Options dialog box appears.

  4. In the Report Options dialog box, select the type of information to be logged.

  5. To save the log file and return to ReplMon, click OK.

Notes

  • If a log file is given the same name as an existing log file, ReplMon replaces the existing log file without a warning. To avoid this, incorporate the current date in your naming scheme.

  • To set the default path, on the View menu, select Options, and then use the General tab of the Options dialog box.

Example 2: Display the replication topology for a server

In this example, you use ReplMon to display replication partners of a server, which graphically represents the replication topology.

To display replication partners

  1. In ReplMon, select the server in the Monitored Servers section of the window.

  2. On the Action menu, select Server, and then click Show Replication Topologies.

    The View Replication Topology window appears.

  3. In the View Replication Topology window, on the View menu, click Replication Topologies.

  4. In ReplMon on the Options menu, click Report.

Example 3: Display pending replication changes

Each domain controller keeps a record of the last changes received from other domain controllers by using the Update Sequence Number (USN) of the replication partner. In this example changes have occurred on the replication partner and the Active Directory replication process has not propagated those changes to the monitored server. You can use ReplMon to show what objects have changed and therefore need to be replicated to the monitored server. This is done on a per-directory partition basis.

To show what objects have changed

  1. In ReplMon, expand a server to display the list of directory partitions.

  2. Expand and select the replication partner within the directory partition for which you want to view unreplicated changes. Only objects that have changed within the directory partition are displayed.

  3. On the Action menu, click Replication Partner, and then select Check Current USN and Unreplicated Objects.

    A separate window opens. Detected changes are displayed and can be saved to a text file. If no changes are detected, a message box informs you of the current USN on the replication partner and that all changes have replicated to the monitored server.

Example 4: Synchronize directory partitions

In this example, you use ReplMon to force a replication event between two directory partitions. By default, directory partitions on servers periodically synchronize with each other. Manual synchronization is necessary only if the network or a server is down for an extended period of time.

To manually synchronize two directory partitions

  1. In the Monitored Servers pane of ReplMon, select the server that needs to be brought up to date.

  2. Expand a directory partition.

    A list of replication partners for that directory partition appears.

  3. Select the directory partition that needs to be synchronized.

  4. On the Action menu, click Synchronize with this Replication Partner.

  5. In the dialog box that appears, select any additional parameters for synchronization, then click OK to continue with the synchronization.

Notes

  • This method works only with direct replication partners.

  • This method synchronizes only one directory partition at a time. To synchronize all directory partitions at once, on the Action menu, click Server, and then click Synchronize Each Directory Partition with All Servers.

See Also

Concepts

Replmon Overview
Replmon Remarks
Replmon UI
Alphabetical List of Tools
Search Overview
Repadmin Overview
Movetree.exe
Ldp Overview
Dsastat Overview
Clonepr Overview
ADSI Edit (adsiedit.msc)
Acldiag Overview