Active Directory  «Prev  Next»
Lesson 7Link multiple sites
ObjectiveCreate site links

Using Site links to establish cost-effective Replication Model

By associating sites with site links, you define values for your network model that provide the most cost-effective replication.
Active Directory creates a default site link named DEFAULTIPSITELINK. If you do not create new site links manually or modify the settings for the default site link, replication occurs using the default site link values. As you can see, the KCC uses specified values for cost, interval, and schedule. Let's review each of these.

Assigning Cost range Replication Value

The site link cost[1] is an arbitrary number rather than an actual cost. You assign cost values to site links to reflect the bandwidth associated with each connection; higher cost values reflect slower connections. You can set a site link cost from 1 to 32767. By default, the cost of a site link is 100. The cost is set in the properties sheet for the <site name> object, which is located in the console tree under IP or SMTP (depending on the protocol used for the site link).

Because technologies and hardware are constantly improving, you should assign site link costs with the following in mind:
1) Choose proportional cost values: Ensure that the cost values that you choose are proportional to each other
1) Choose proportional cost values: Ensure that the cost values that you choose are proportional to each other

2) Choose proportional cost values. For example, if the connection from Seattle to Miami is twice as fast as the connection from Seattle to Denver
2) Choose proportional cost values. For example, if the connection from Seattle to Miami is twice as fast as the connection from Seattle to Denver

3) Choose proportional cost values: you should assign a cost value to the Seattle-Denver connection that is twice the value of the Seattle-Miami connection.
3) Choose proportional cost values: you should assign a cost value to the Seattle-Denver connection that is twice the value of the Seattle-Miami connection.

4) Plan for faster connections: Allow for faster connections than those you currently have when you choose your cost values.
4) Plan for faster connections: Allow for faster connections than those you currently have when you choose your cost values.

5) In our example, you could assign a cost of 1 to the Seattle-Miami connection and a cost of 2 to the Seattle-Denver connection.
5) In our example, you could assign a cost of 1 to the Seattle-Miami connection and a cost of 2 to the Seattle-Denver connection.

6) Build in flexibility: Adjust costs of existing links to accomodate new ones
6) Build in flexibility: Adjust costs of existing links to accomodate new ones.

7) Build in flexibility: For example, if you added a link between Miami and Denver that was slower than the Seattle-Miama connection but faster than the Miami-Denver connection, you would adjust the costs of the existing links to accomodate the new link.
7) Build in flexibility: For example, if you added a link between Miami and Denver that was slower than the Seattle-Miami connection but faster than the Miami-Denver connection, you would adjust the costs of the existing links to accomodate the new link.

Factors to consider when assigning "Site Link Costs" in Active Directory

When assigning "Site Link Costs" in Active Directory (AD), it is essential to consider various factors to ensure efficient and reliable replication across the network. Site link costs are used by AD to determine the most cost-effective replication path between AD sites. These costs are numerical values assigned to site links, reflecting the relative expense or speed of communication over those links. Here are the key factors to consider:
  1. Network Bandwidth: The available bandwidth between sites is a critical factor. Higher bandwidth connections can handle more data and should generally have a lower cost to reflect their desirability for replication traffic.
  2. Network Latency: The time it takes for data to travel between sites can significantly affect replication efficiency. Links with lower latency should be assigned lower costs, as they allow for quicker replication.
  3. Link Reliability: Consider the stability and reliability of each network link. More reliable connections should be assigned lower costs, as they are less likely to disrupt replication processes.
  4. Replication Traffic: Assess the volume of replication traffic expected between sites. Sites with higher traffic volumes may require links with lower costs to prioritize their replication needs.
  5. Cost of Communication: If there are financial costs associated with using certain network links (e.g., leased lines or VPNs with usage charges), this should be factored into the site link cost. More expensive links should generally have higher costs to minimize unnecessary use.
  6. Physical Topology: The physical layout of your network and the geographical distance between sites can influence site link costs. Longer distances often mean higher latency and potentially lower reliability, which should be reflected in the costs.
  7. Redundancy and Failover: Design your AD topology with redundancy in mind. Assign costs in a way that supports alternative replication paths in case of link failures, without causing excessive replication traffic over less desirable links.
  8. Administrative Overhead: Consider the management and monitoring overhead associated with different links. Links that require more administrative effort to maintain may warrant higher costs to discourage their use unless necessary.
  9. Security Constraints: Security requirements can also influence site link costs. Links that pass through less secure environments might be assigned higher costs to reduce their use for sensitive replication traffic.
  10. Change Management: Implement a process for regularly reviewing and adjusting site link costs as network conditions, business requirements, or AD topology changes. This ensures that the AD replication remains optimized over time.

In summary, assigning site link costs in Active Directory requires a comprehensive evaluation of network characteristics, business requirements, and the operational environment. Balancing these factors effectively will help ensure that AD replication is both efficient and resilient.

  1. Assigning an interval Replication Value: The interval setting defines the frequency of replication.
    The replication interval must be at least 15 minutes and no more than 10080 minutes (or one week) in length. By default, replication occurs every three hours (an interval setting of 180).
  2. Assigning a Schedule Replication ValueAssigning a Schedule Replication Value: The schedule designates when the site link is available. By default, replication can occur any time. Over a slow link, you may choose to adjust the schedule so that replication occurs only during off-peak hours. The schedule and the interval are used together. Replication occurs only at the times allowed by the schedule, and during those times, it occurs as often as the interval allows.

This shows the replication schedule.
This shows the replication schedule

Site Link Bridges

Cost of Site Link Bridges

You create the site link XY using RPC over IP with a cost of 2.
1) You create the site link XY using RPC over IP with a cost of 2.

You create a site link YZ using RPC over IP with a cost of 4.
2) You create a site link YZ using RPC over IP with a cost of 4.

A site link bridge XYZ connects those two site links.
3) A site link bridge XYZ connects those two site links.

Because the cost across the bridge is cumulative, a message from X to Z has a cost of 6 (2+4).
4) Because the cost across the bridge is cumulative, a message from X to Z has a cost of 6 (2+4).

What are Site Link Bridges in Active Directory

To configure a site link bridge in Active Directory, follow these steps:
  1. Open the Active Directory Sites and Services console. You can do this by going to Start > Administrative Tools > Active Directory Sites and Services.
  2. In the console tree, expand the Sites container and then select the Inter-Site Transports folder.
  3. Right-click the folder and select New Site Link Bridge.
  4. In the New Object, Site Link Bridge dialog box, enter a name for the site link bridge and select the site links that you want to include in the bridge.
  5. Click OK to create the site link bridge.
  6. To modify the properties of the site link bridge, right-click the site link bridge and select Properties.
  7. In the Properties dialog box, you can modify the following settings:
    1. Replication Frequency: This setting determines how often replication between the sites will occur.
    2. Replication Schedule: This setting determines the specific times when replication between the sites will occur.
    3. Cost: This setting determines the relative cost of using the site link bridge for replication. Higher cost values are used for slower or more expensive links.
    4. Transport: This setting determines the transport protocol that will be used for replication over the site link bridge. The default transport is the Remote Procedure Call (RPC) over IP.
  8. Click OK to save your changes.

In summary, a site link bridge in Active Directory is a logical connection between two or more site links that enables domain controllers in different sites to replicate directory data with each other, even if the sites are not directly connected by a site link. Configuring a site link bridge involves creating the bridge and modifying the properties of the bridge to control the frequency, schedule, cost, and transport protocol for replication between the sites.


The practical implications of an expensive site link

Site links are transitive

Site link bridge configuration

In a fully routed IP network, no site link bridge configuration is needed. If your IP network is not fully routed, you can turn off the transitive site link feature for the IP transport, in which case you must configure site link bridges manually. In the next lesson, you will learn about monitoring replication traffic.

[1] Site link cost: A way of comparing the efficiency and desirability of using a particular site link based on speed, impact on the network and other factors.

SEMrush Software