Professional Documents
Culture Documents
Directory Replication
An Overview of Active Directory Replication
Active Directory is a distributed multimaster replicated database. All domain controllers
host a full replica of the domain information for its own domain. Domain controllers in
Windows 2000 and Windows Server 2003 environments hold a read/write copy of the
Active Directory database. In these environments, changes can be made to the Active
Directory database on any domain controller within the Active Directory environment.
Replication is the process that ensures that changes made to a replica on one domain
controller are transferred to replicas on the remainder of the domain controllers. When an
object in Active Directory is created, deleted, moved, or changed; Active Directory
replication is triggered.
In Windows 2000 and Windows Server 2003 environments, the types of Active Directory
replication that can be defined are:
• IP replication is typically selected for a site link when a reliable connection exists
between domain controllers in different sites.
• SMTP replication is normally selected when connections are unreliable and slow.
A few common methods that you can use to monitor or troubleshoot Active Directory
replication are summarized below:
There may be instances when Active Directory replication is quite slow. A few methods
of correcting this problem are summarized below:
• Having no site link bridge can result in Active Directory information taking quite
a while to be replicated between domain controllers. You can create a site link
bridge or you can bridge all sites. This is typically necessary when there are only
site links in your network, but no site link bridges.
• If the configuration value specified for the frequency of intersite replication is set
too low, you may experience large delays between when changes are made on one
domain controller and when it is replicated on a domain controller in a different
site. To fix this problem, consider changing the setting of the replication
frequency.
• When your existing network resources are unable to cope with the quantity of
traffic being generated by Active Directory replication consider the following:
o If realistic, modify the setting of the replication frequency
o If feasible, configure additional resources for Active Directory replication
o Create site links
o Create site link bridges
The information displayed in the main Replication Monitor window is listed below:
• Naming contexts: All the naming contexts that a server contains are displayed
here.
• Replication partners: Each naming context shows the inbound replication partners
for that particular naming context.
• Server icons: Server icons enable you to determine information at a glance.
• Log entries: The replication log entries for the connection are displayed in the
right pane.
Once you have specified a domain controller for monitoring, you can set view options to
suit your needs. To specify view options, open Replication Monitor, and select Options
from the View menu. The options that can be selected on the General tab are:
The Replmon replica synchronization options that can be selected are listed below. These
options can be configured by right-clicking a monitored server object, and then selecting
Synchronize Each Directory Partition with All Servers. The synchronization options that
you can select are:
• Disable Transitive Replication: This option can be selected if you want to
troubleshoot a ailed replication process to a particular domain controller, and you
want to manually start the replication process.
• Push Mode: When enabled, push mode is enabled for replication and the DRA is
no longer enabled to pull updates.
• Cross Site Boundaries: When enabled, you can start intersite replication for RPC
connections only.
1. Click Start, Windows Support Tools, Command Prompt and enter replmon.exe.
2. When the Replication Monitor opens, in the console tree, right-click Monitored
Servers and select Add Monitored Server from the shortcut menu.
3. The Add Monitored Server Wizard now starts
4. Select the Add The Server Explicitly By Name option. Click Next.
5. In the Add Server To Monitor page, use the Enter The Name Of The Server To
Monitor Explicitly box to specify the name of the server that should be monitored.
6. Click Finish
7. The server that you specified for monitoring is now displayed in the console tree.
The online help shows the syntax for options and switches of Repadmin. Run repadmin /?
for online help. If you want to determine the status of the KCC for replication, run
repadmin/kcc. If you want to determine what the replication result was for the last
replication process performed, run repadmin/showreps. If you are running Windows
Server 2003, Repadmin offers a few additional functions that can be performed. To view
these, run repadmin/experthelp.
• Directory access
• Internal configuration
• Internal processing
• Intersite messaging
• KCC
• MAPI events
• Replication events
• Security events
You can set one of the following logging levels for an event: