Escolar Documentos
Profissional Documentos
Cultura Documentos
Chapter 8
Active Directory Replication
Objectives
Describe and understand how Active Directory replication works Describe the Active Directory replication topology Manage and monitor Active Directory replication Understand the role of operations masters Troubleshoot Active Directory replication
Hands-On Microsoft Windows Server 2003 Active Directory
Tracking Replication
DCs track object changes using Update Sequence Numbers (USNs) The changed objects and attributes are stamped with a USN Each DC maintains a table that lists the USNs it has received from the other DCs An update is required if the USN on the source DC is higher (newer) than the last USN seen on the destination server
Hands-On Microsoft Windows Server 2003 Active Directory
Replication Timing
Intra-site replication is automatic and cannot be scheduled or compressed The DC will wait a few seconds after the first change A DC will send a notification of change to each of its replication partners Small changes made at almost the same time are collected into batches Inter-site replication is time-based and is determined by a schedule set in a site link
Hands-On Microsoft Windows Server 2003 Active Directory
Urgent Replication
No delay between updates is observed Triggered by:
An account lockout A Local Security Authority (LSA) secret change The relative identifier (RID) master role is assigned to a new server
Password Replication
Passwords need to be synchronized between DCs more frequently than the default Each domain has one DC that holds the role of primary domain controller (PDC) emulator A password change is replicated immediately to the PDC emulator A logon with an incorrect password prompts the authenticating DC to contact the PDC emulator to check for a password change
Hands-On Microsoft Windows Server 2003 Active Directory
Replication Topology
A replication topology is the combination of paths used to replicate changes between DCs Active Directory information is divided into partitions or NCs
Schema partition Configuration partition Domain partition Application partition (optional)
Hands-On Microsoft Windows Server 2003 Active Directory
Intra-site Replication
The Knowledge Consistency Checker (KCC) creates the replication topology automatically The default replication topology is a bidirectional ring The KCC ensures that no more than three hops are required to replicate a change The KCC automatically creates additional connection objects to ensure replication is successful
Hands-On Microsoft Windows Server 2003 Active Directory
10
11
Inter-site Replication
The inter-site replication topology is generated by the KCC The first DC in a site will take on the role of Intersite Topology Generator (ISTG) The ISTG is responsible for choosing a bridgehead server
12
Replication Updates
An originating update is a change made on the local DC A replicated update is a change made through replication
13
14
Replication Conflicts
Replicating at the attribute level minimizes replication conflicts A timestamp is used to resolve a conflict when the same attribute is changed on the same object at the same time on two different DCs The update with the highest globally unique identifier (GUID) is used when the timestamps are the same
Hands-On Microsoft Windows Server 2003 Active Directory
15
16
17
18
Replication Message
19
20
21
22
23
24
25
26
27
Operations Masters
Specific servers, called operations masters, are designated to perform certain types of updates The schema master is the only source for originating updates to the schema partition
By default, the first DC in the forest will be the schema master
The domain naming master is responsible for controlling the addition and removal of domains in the forest
A domain naming master must be a Global Catalog (GC) server
Hands-On Microsoft Windows Server 2003 Active Directory
28
29
30
DNS errors
Verify that all DCs can be resolved in Domain Name System (DNS)
31
32
Chapter Summary
Active Directory uses a multi-master model for replication Replication of changes is performed at the attribute level Intra-site replication occurs every five minutes via RPC and cannot be compressed. Inter-site replication is controlled with site links, and can be done via RPC or SMTP transports
33
34
35