To design an Active Directory topology that optimizes the replication of information in a business, you must understand a couple of replication basics first. This section discusses some of the concepts behind Active Directory replication, including the following:
SitesChapter 2, "Overview of Active Directory Design Elements," briefly introduced you to the concept of Active Directory sites. If you recall, an Active Directory site is basically a collection of well-connected IP subnets. The links between the subnets in a site are generally fast enough to support replication, available (not saturated ), and very reliable.
Active Directory sites are designed to optimize replication. However, replication in a site occurs differently than it does between two separate sites. Intrasite replication is designed to take advantage of the fact that the IP subnets in a site are connected by fast, reliable links, whereas intersite replication is designed to occur differently because it is assumed that the links connecting two sites are slow and unreliable. Table 9.1 compares replication as it occurs in a site and between sites. Table 9.1. Comparison of Intersite and Intrasite Replication
The following traffic-generating events are controlled and optimized by the creation of sites:
Two important points to note are that site creation is easy and that changing a site is as simple as adding or deleting a subnet. Therefore, if any erroneous assumptions were made in designing a site hierarchy, correcting the design is straightforward. After the Active Directory sites have been defined and the IP subnets have been added to the appropriate site, site links must be established. Before doing so, however, you need to understand the function of site links. Site LinksSite links are similar in concept to trust relationships. A trust is the link between two domains; a site link is the connection between two Active Directory sites. The site link established between two sites is used to control replication across the physical link. Site links are transitive by default. So, if a link is defined between sites A and B and another is defined between sites B and C, it is automatically assumed that sites A and C can communicate. These transitive site links establish a replication path so information can be replicated throughout the organization.
For example, if the site structure created for the XYZ Corporation were based on geographical locations, it would look similar to Figure 9.1. If site links were established between LA and NJ and also between NJ and NY, a replication path would be created between LA and NY due to the transitive nature of the site links. Additionally, a site link created between Paris and NY would establish a replication path that would allow for the replication of information throughout the business. Figure 9.1. Site links in Active Directory are transitive in nature, enabling a replication path to be created in an organization.
When you're defining a site link, certain options are used to control replication over the link. A site link is defined by the following characteristics, each of which is discussed in detail later in the chapter:
Replication Schedules and CompressionOne of the main differences between intersite and intrasite replication is that, for intersite replication, the replication events can be scheduled by an administrator to occur only at certain times. Intrasite replication is based on a notification process: Anytime a change occurs, other domain controllers in the site are notified. As already mentioned, sites are designed to optimize bandwidth usage; therefore, there is no notification process between sites. Instead, a schedule is defined specifying when the link is available for intersite replication. This enables an administrator to schedule the site link to be available only during off-hours. For example, if the site link shown previously in Figure 9.1 between Paris and NY is heavily used during the morning hours, an administrator can choose to schedule that site link to be available during the afternoon or evening hours when the link is not being used as much. Another feature of intersite replication that optimizes throughput is data compression . Any replication cycle in which more than 50KB worth of updates has been generated is automatically compressed to save bandwidth. Replication compression is extremely efficient, reducing the data transferred by approximately 90%. Compression does require additional CPU and RAM resources, however. Conversely, because it is assumed that the links in a site have plenty of bandwidth, replication in a site remains uncompressed. This also reduces the processor load on domain controllers in a site. Now let's take a look at some considerations to keep in mind when determining how many sites to establish and which IP subnets to place into which sites. |