Microsoft Official Course: Implementing Active Directory Domain Services Sites and Replication
Microsoft Official Course: Implementing Active Directory Domain Services Sites and Replication
Microsoft Official Course: Implementing Active Directory Domain Services Sites and Replication
Module 5
Module Overview
Overview of AD DS Replication
Configuring AD DS Sites
Configuring and Monitoring AD DS Replication
Characteristics of AD DS Replication
How AD DS Replication Works Within a Site Resolving Replication Conflicts How Replication Topology Is Generated How RODC Replication Works How SYSVOL Replication Works
Forest-wide definitions and rules for creating and manipulating objects and attributes Information about domain-specific objects Information about applications
Characteristics of AD DS Replication
Multimaster replication ensures:
Accuracy (integrity)
Consistency (convergence)
Performance (keeping replication traffic to a reasonable level) Key characteristics of Active Directory replication include:
Multimaster replication Pull replication Store-and-forward Partitions Automatic generation of an efficient, robust replication topology Attribute-level replication Distinct control of intrasite and intersite replication Collision detection and remediation
Connection objects for inbound replication to a domain controller KCC to automatically create topology Efficient (maximum three hop) and robust (two-way) topology Notifications in which the domain controller tells its downstream partners that a change is available Polling in which the domain controller checks with its upstream partners for changes Downstream domain controller directory replication agent DC01 replicates changes Changes to all partitions held by DC03 both domain controllers are replicated
DC02
when: The same attribute is changed on two domain controllers simultaneously An object is moved or added to a deleted container on another domain controller Two objects with the same relative distinguished name are added to the same container on two different domain controllers Version number Time stamp Server GUID
B1
A3
A4
B3
The KCC detects that it is an RODC and creates one-way only connection objects from one or more source domain controllers An RODC performs RSO inbound replication during: Password changes DNS updates to a writable DNS server Updates to various client attributes
RODC
Domain Controllers
Group Policy Objects with their content SYSVOL replication can take place using: FRS: primarily used in Windows Server 2003 and older domain structures DFS Replication: used in Windows Server 2008 and newer domains To migrate SYSVOL replication from the FRS to DFS Replication: The domain functional level must be at least Windows Server 2008 Use the Dfsrmig.exe tool to perform the migration
connections Sites are associated with subnet objects Sites are used to manage: Replication: domain controllers separated by slow, expensive links Service localization: Domain controller authentication (LDAP and Kerberos) Active Directoryaware (site aware) A1 A2 services or applications
Site IP Subnets
A part of the network is separated by a slow link A part of the network has enough users to warrant hosting domain controllers or other services in that location You want to control service localization You want to control replication between A1 domain controllers A2
A2
A1
Site
IP Subnets
Site
IP Subnets
A3
Demonstration: Configuring AD DS Sites In this demonstration, you will see how to configure AD DS sites
A2
Assumes fast, inexpensive and highly reliable network links Does not compress traffic Uses a change notification mechanism Assumes higher cost, limited bandwidth and unreliable network links Ability to compress replication between sites Occurs on a configured schedule
IP Subnets
A1
Replication A2
Replication
ISTG
Replication
IP Subnets
Site Link
IP Subnets
_tcp.adatum.com: All domain controllers in the domain _tcp.sitename._sites.adatum.com: All services in a specific site Clients query DNS to locate services in specific sites
Replication Options for Configuring Password Replication Policies for RODCs Demonstration: Configuring Password Replication Policies Tools for Monitoring and Managing Replication
Within a site link, a connection object can be created between any two domain controllers The default site link, DEFAULTIPSITELINK, is not always appropriate given your network topology
Enables ISTG to create connection objects between site links Allows disabling of transitivity in the properties of the IP transport Site link bridges: Enable you to create transitive site links manually Are useful only when transitivity is disabled
IP Subnets
Bridgehead Server
IP Subnets
Replication uses the connections with the lowest cost Replication Polling: Downstream bridgehead polls upstream partners Default: 3 hours Minimum: 15 minutes Recommended: 15 minutes Replication schedules 24 hours a day Can be scheduled
Demonstration: Configuring AD DS Intersite Replication In this demonstration, you will see how to configure AD DS intersite replication
Demonstration: Configuring Password Replication Policies In this demonstration, you will see how to configure password replication policies
repadmin /showrepl Lon-dc1.adatum.com repadmin /showconn Lon-dc1 adatum.com repadmin /showobjmeta Lon-dc1 "cn=Linda Miller,ou=" repadmin /kcc repadmin /replicate Tor-dc1 Lon-dc1 dc=adatum,dc=com repadmin /syncall Lon-dc1.adatum.com /A /e
DCDiag /test:testName
Logon Information Virtual Machines: 20412B-LON-DC1 20412B-TOR-DC1 User Name: Adatum\Administrator Password: Pa$$w0rd Estimated Time: 30 minutes
Lab Scenario
A. Datum Corporation has deployed a single AD DS domain with all the domain controllers located in the London data center. As the company has grown and added branch offices with large numbers of users, it has become apparent that the current AD DS environment is not meeting the company requirements. Access to network resources such as the companys Microsoft Exchange 2010 servers and the Microsoft SharePoint servers can be slow, and they sporadically fail.
As one of the senior network administrators, you are responsible for planning and implementing an AD DS infrastructure that will help address the business requirements for the organization. You are responsible for configuring AD DS sites and replication to optimize the user experience and network utilization within the organization.
Lab Review
You decide to add a new domain controller to the
LondonHQ site named LON-DC2. How can you ensure that LON-DC2 is used to pass all replication traffic to the Toronto site? You have added the new domain controller named LON-DC2 to the LondonHQ site. Which AD DS partitions will be modified as a result? In the lab, you created a separate site link for the Toronto and TestSite sites. What might you also have to do to ensure that LondonHQ does not automatically create a connection object directly with the TestSite site?
Best Practice
Common Issues and Troubleshooting Tips