Skip to content

Topology Deep Dive

Active Directory replication topology defines how domain controllers (DCs) replicate directory data across a network. This structured framework ensures consistency, fault tolerance, and efficient data synchronization. Understanding its components—site links, replication partners, and intervals—is critical for troubleshooting replication issues and optimizing performance. This section explains the foundational elements of replication topology and their roles in maintaining a resilient directory service.


Site links represent logical connections between Active Directory sites. They dictate how replication traffic flows between DCs and influence the replication schedule. Each site link has a cost value that determines priority (lower cost = higher priority).

Key Concepts:
- Site Link Bridging: Allows replication between non-adjacent sites via intermediate links.
- Replication Schedule: Defines how often replication occurs (e.g., every 15 minutes for intra-site, 3 hours for inter-site).
- Cost: A numerical value (0–999) that determines the preferred path for replication.

Example:

Get-ADReplicationSiteLink -Identity "Default-First-Site-Link"
This command retrieves details about the default site link, including its cost and schedule.


Replication Partners: Bidirectional Connections

Replication partners are the specific DCs that replicate with each other. These relationships are automatically created by the Knowledge Consistency Checker (KCC) based on site links and DC locations.

Key Concepts:
- Bidirectional Links: Replication is typically bidirectional, but one direction is marked as primary (e.g., DC1 → DC2) and the other as secondary (DC2 → DC1).
- KCC Role: The KCC dynamically creates and manages replication partners, ensuring redundancy and fault tolerance.

Example:

Get-ADReplicationPartnerLink -Server "DC1"
This command lists replication partners for a specific DC, showing their roles and connection status.


Replication Intervals: Timing and Frequency

Replication intervals determine how often replication occurs between DCs. These intervals are defined in site links and can be adjusted based on network conditions.

Default Schedules:
- Intra-Site Replication: Every 15 minutes.
- Inter-Site Replication: Every 3 hours (or as defined in the site link's schedule).

Example:

Get-ADReplicationSchedule -Identity "Default-First-Site-Link"
This command retrieves the replication schedule for a site link, showing start and end times for intervals.

Adjusting Intervals:

Set-ADReplicationSchedule -Identity "Default-First-Site-Link" -Schedule "0 0 * * *"
This example sets a custom schedule (e.g., hourly).


Key Takeaways

  • Site links define replication paths and prioritize traffic based on cost.
  • Replication partners are dynamic, bidirectional connections managed by the KCC.
  • Replication intervals control frequency, with defaults optimized for performance.
  • Monitoring and adjusting these elements ensures reliable, efficient replication across the directory.