70 640 Lesson03 Ppt 041009

6,850 views

Published on

Published in: Education
  • Be the first to comment

70 640 Lesson03 Ppt 041009

  1. 1. Working with Active Directory Sites <ul><li>Lesson 3 </li></ul>
  2. 2. Skills Matrix Technology Skill Objective Domain Objective # Introducing Active Directory Sites Configure sites 2.3 Configuring Active Directory Replication Configure Active Directory replication 2.4
  3. 3. Logical Versus Physical Structure <ul><li>Logical </li></ul><ul><li>Forest </li></ul><ul><li>Trees </li></ul><ul><li>Domains </li></ul><ul><li>OUs </li></ul><ul><li>Leaf objects </li></ul><ul><li>Physical </li></ul><ul><li>IP Subnets/Sites </li></ul><ul><li>Domain Controllers </li></ul>
  4. 4. Active Directory Sites <ul><li>Sites are defined by IP subnets that are well-connected , which means that network infrastructure between them is fast and reliable. </li></ul><ul><ul><li>In most cases, an Active Directory site will map to a single LAN. </li></ul></ul><ul><li>Multiple sites will be joined together by site links. </li></ul><ul><li>Intersite replication takes place along site links that you defined within Active Directory Sites and Services. </li></ul>
  5. 5. Sites <ul><li>When clients log on to Active Directory, they use DNS to query the Active Directory site topology to locate the closest available domain controller and other network resources. </li></ul><ul><li>Domain controllers use the site topology to establish replication partners that provide efficiency and keep the Active Directory database consistent. </li></ul>
  6. 6. Default-First-Site-Name <ul><li>When you install the forest root domain controller in an Active Directory forest, the Active Directory Installation Wizard creates a single site called Default-First-Site-Name. </li></ul><ul><li>The forest root domain controller server object is placed within the Servers folder of this site. </li></ul><ul><li>The site can be renamed to more accurately reflect a physical location. </li></ul>
  7. 7. Default-First-Site-Name
  8. 8. Active Directory Replication <ul><li>The process of duplicating Active Directory information between domain controllers for the purposes of fault tolerance and redundancy. </li></ul><ul><li>Based on a multimaster replication model, in which the domain controllers from each domain participate in the replication process for that domain. </li></ul><ul><ul><li>They also replicates forest-wide schema and configuration information. </li></ul></ul><ul><li>Active Directory sites are the means by which administrators can control replication traffic. </li></ul>
  9. 9. Active Directory Replication <ul><li>Domain controllers that reside within the same site participate in intrasite replication . </li></ul><ul><ul><li>Transmit changes to the Active Directory database almost as soon as they occur. </li></ul></ul><ul><li>Domain controllers located in different sites will participate in intersite replication . </li></ul><ul><ul><li>Occurs on a scheduled basis (every 15 minutes by default). </li></ul></ul><ul><ul><li>Intersite replication traffic is also compressed by default to decrease the use of network bandwidth. </li></ul></ul><ul><ul><li>Remember the goal is to minimize bandwidth usage. </li></ul></ul>
  10. 10. Active Directory Replication <ul><li>Remember: </li></ul><ul><ul><li>Intra means internal, such as an intranet (your own network). </li></ul></ul><ul><ul><li>Inter means external, such as the Internet (a conglomeration of networks). </li></ul></ul>
  11. 11. Active Directory Replication
  12. 12. Understanding the Replication Process <ul><li>Replication within Active Directory will occur when one of the following conditions is met: </li></ul><ul><ul><li>An object is added or removed from Active Directory. </li></ul></ul><ul><ul><li>The value of an attribute has changed. </li></ul></ul><ul><ul><li>The name of an object has changed. </li></ul></ul>
  13. 13. Understanding the Replication Process <ul><li>To track changes from different sources and determine which objects need to be replicated from one domain controller to another, each domain controller uses the following: </li></ul><ul><ul><li>Update sequence number (USN) that keeps track of changes that are made at each DC and thus keeps track of which updates should be replicated to other domain controllers. </li></ul></ul><ul><ul><li>Each Active Directory attribute has a version ID associated with it that keeps track of how many times that attribute has been changed. </li></ul></ul><ul><ul><li>timestamp , the time when the modification took place. </li></ul></ul>
  14. 14. Understanding the Replication Process <ul><li>When replicating information between sites, Active Directory will designate a bridgehead server in each site to act as a gatekeeper in managing site-to-site replication. </li></ul><ul><ul><li>Allows intersite replication to update only one domain controller within a site (usually over a slower WAN link). </li></ul></ul><ul><ul><li>After a bridgehead server is updated, it updates the remainder of its domain controller partners with the newly replicated information. </li></ul></ul><ul><ul><li>Active Directory convergence describes the amount of time that it takes for this process to take place so that all domain controllers in the environment contain the most up-to-date information. </li></ul></ul>
  15. 15. Active Directory Replication
  16. 16. Knowledge Consistency Checker (KCC) <ul><li>Each domain controller uses an internal process called the Knowledge Consistency Checker (KCC) to map the logical network topology between the domain controllers. </li></ul><ul><li>For each domain controller in the site, the KCC will select one or more replication partners for that domain controller and will create connection objects between the domain controller and its new replication partners. </li></ul><ul><ul><li>Each connection object is a one-way connection. </li></ul></ul>
  17. 17. Viewing Active Directory Connection Objects <ul><li>Open the Active Directory Sites and Services MMC snap-in. </li></ul><ul><li>Click the Sites folder, select the desired site, and then click the Servers folder. </li></ul><ul><li>Expand the server name for which you wish to view connection objects and right-click NTDS Settings. Click Properties. </li></ul>
  18. 18. Viewing Active Directory Connection Objects
  19. 19. Viewing Active Directory Connection Objects
  20. 20. Creating a New Site <ul><li>In Active Directory Sites and Services, right-click the Sites folder and select New Site. </li></ul><ul><li>In the New Object-Site dialog box, key the name for the site based on your plan. </li></ul><ul><li>Select the DefaultIPSiteLink from the list of site names and click OK to complete the site creation. </li></ul>
  21. 21. Creating a New Subnet <ul><li>In Active Directory Sites and Services, right-click the Subnets folder. </li></ul><ul><li>Select New Subnet from the menu. </li></ul><ul><li>In the New Object-Subnet dialog box, enter the IP address and subnet mask that correspond to the segment in your design. </li></ul><ul><li>Select the site you wish to associate with this subnet and click OK. </li></ul>
  22. 22. Creating a New Subnet
  23. 23. Configuring Intersite Replication <ul><li>Cost </li></ul><ul><ul><li>Allows the administrator to define the path that replication will take. </li></ul></ul><ul><ul><li>If more than one path can be used to replicate information, cost assignments will determine which path is chosen first. </li></ul></ul><ul><ul><li>A lower-numbered cost value will be chosen over a higher-numbered cost value. </li></ul></ul><ul><ul><li>Cost values can use a value of 1 to 99,999. </li></ul></ul><ul><ul><li>Chosen by the Active Directory administrator and are relational only to one another. </li></ul></ul>
  24. 24. Configuring Intersite Replication <ul><li>Schedule </li></ul><ul><ul><li>The schedule of the site link object determines when the link is available to replicate information. </li></ul></ul><ul><ul><li>By default, newly created site link objects are available for replication 24/7. </li></ul></ul>
  25. 25. Configuring Intersite Replication <ul><li>Frequency </li></ul><ul><ul><li>A site link’s frequency determines how often information will be replicated over a particular site link. </li></ul></ul><ul><ul><li>Keep in mind that replication will take place only during scheduled hours. </li></ul></ul><ul><ul><li>The default replication frequency for a new site link is 180 minutes, but it can be configured to take place as frequently as every 15 minutes and as infrequently as once per week. </li></ul></ul>
  26. 26. Replication Protocol <ul><li>For both intrasite and intersite replication, Active Directory uses Remote Procedure Calls over Internet Protocol (RPC over IP) by default for all replication traffic. </li></ul><ul><ul><li>RPC is commonly used to communicate with network services on various computers, whereas IP is responsible for the addressing and routing of the data. </li></ul></ul><ul><ul><li>RPC over IP replication keeps data secure while in transit by using both authentication and encryption. </li></ul></ul>
  27. 27. Replication Protocol <ul><li>Simple Mail Transport Protocol (SMTP) is an alternative solution for intersite replication when a direct or reliable IP connection is not available. </li></ul><ul><ul><li>Use asynchronous replication , meaning that each replication transaction does not need to complete before another can start because the transaction can be stored until the destination server is available. </li></ul></ul><ul><ul><li>SMTP cannot replicate domain directory partitions. </li></ul></ul><ul><ul><li>Requires an enterprise certification authority (CA) that is fully integrated with Active Directory. </li></ul></ul>
  28. 28. Replication Protocol <ul><li>Unlike RPC over IP, SMTP does not adhere to schedules and should be used only when replicating between different domains over an extremely slow or unreliable WAN link. </li></ul>
  29. 29. Creating a New Site Link Object <ul><li>In Active Directory Sites and Services, expand the Inter-Site Transports folder. </li></ul>
  30. 30. Summary of Replication Methods
  31. 31. Refreshing the Intrasite Replication Topology <ul><li>In Active Directory Sites and Services, expand Sites, followed by the site where you wish to run the KCC. </li></ul><ul><li>Expand Servers and double-click one of the domain controllers. </li></ul><ul><li>In the details pane, right-click NTDS Settings, click All Tasks and select Check Replication Topology. </li></ul>
  32. 32. Determining Which Server Holds the ISTG Role <ul><li>In Active Directory Sites and Services, expand the Sites folder and then expand the appropriate site. </li></ul><ul><li>In the Details pane, right-click NTDS Site Settings and then select Properties. The Properties page displays the server holding the ISTG role. </li></ul>
  33. 33. Determining Which Server Holds the ISTG Role <ul><li>To force the KCC to regenerate the intersite topology, right-click NTDS Settings. </li></ul><ul><li>Click All Tasks and then select Check Replication Topology. </li></ul>
  34. 34. Forcing Manual Replication <ul><li>In Active Directory Sites and Services, expand Sites, followed by the site that contains the connection for which you wish to force replication. </li></ul><ul><li>Locate the server in the Servers container that provides the connection object. </li></ul><ul><li>Click NTDS Settings in the console tree. </li></ul><ul><li>In the details pane, right-click the connection for which you want replication to occur and select Replicate Now. </li></ul>
  35. 35. Monitoring Replication <ul><li>Dcdiag </li></ul><ul><li>Repadmin </li></ul>
  36. 36. Dcdiag <ul><li>A command-line tool used for monitoring Active Directory. </li></ul><ul><ul><li>Perform connectivity and replication tests, reporting errors that occur. </li></ul></ul><ul><ul><li>Report DNS registration problems. </li></ul></ul><ul><ul><li>Analyze the permissions required for replication. </li></ul></ul><ul><ul><li>Analyze the state of domain controllers within the forest. </li></ul></ul>
  37. 37. Repadmin <ul><li>A command-line tool used for the following: </li></ul><ul><ul><li>To view the replication topology from the perspective of each domain controller. </li></ul></ul><ul><ul><li>To manually create a replication topology if site link bridging is disabled because the network is not fully routed. </li></ul></ul><ul><ul><li>To force replication between domain controllers when you need updates to occur immediately without waiting for the next replication cycle. </li></ul></ul><ul><ul><li>To view the replication metadata, which is the combination of the actual data and the up-to-date vector or USN information. This is helpful in determining the most up-to-date information prior to seizing an operations master role. </li></ul></ul>
  38. 38. Summary <ul><li>You learned how to define and manage sites and site links. </li></ul><ul><li>You learned how to determine a site strategy based on the physical network infrastructure. </li></ul><ul><li>You learned how to use Active Directory Sites and Services to configure replication. </li></ul>
  39. 39. Summary <ul><li>You learned how to understand the differences between intrasite and intersite replication. </li></ul><ul><li>You learned how to describe the role of the Intersite Topology Generator (ISTG) and Knowledge Consistency Checker (KCC) in site replication. </li></ul>
  40. 40. Summary <ul><li>You learned how to optimize replication by configuring bridgehead servers and site link bridging. </li></ul><ul><li>You learned how to monitor replication using dcdiag and repadmin. </li></ul>

×