Transcript Slide 1
Building Branch Office DFS and FRS Replication using Windows Server 2003 R2 Michael Kleef IT Pro Evangelist Microsoft Corporation Agenda Assumptions Overview Process Description Scenarios DFS-R and RDC Internals Configuration and Migration Demo: Configuration Extra bits! Assumptions You understand all the current DFS/FRS issues Journal Wraps Lack of bandwidth control Etc DFS Overview DFS is now called DFS Namespaces Virtual tree of folders Failover and redundancy FRS is now called DFS Replication (DFS-R) Was called FRSv2 FRS is still there! For SYSVOL system functions Bandwidth throttling Scheduling Remote Differential Compression (RDC) Auto Journal Wrap Error Recovery Must have R2 on both ends to fully work! DFS Process Description 2 User Server in LA Branch 1 DFS Replication Server in New York Hub 3 DFS Namespace 4 User Server in London Branch DFS Main Scenarios Data centralisation Elimination of tape backup in branches Client Failover/Failback Data written at the branch replicated to central Note: Requires client hotfix DFS Main Scenarios Data Distribution Delivery of common data to sites Ideal for software distribution Auto server referral within AD Site Cost based for external sites Prestage of content is supported! Target Priority DFS Main Scenarios Branch Office Data Replication Users roam from branch to branch Map to a single folder namespace Multiple concurrent changes not a good idea - Last writer wins! DFS Setup - Centralise Data - Distribute Software DFS-R and RDC Internals RDC Efficiency Examples Insert this text into PPT file only requires 16KB for a 3.5MB PPT Connection Type Save full 3.5MB ppt Save only changes 56 kbps modem 10 minutes 3 seconds 500 kbps DSL 70 seconds <1 second Install AdminPak onto a 2.6 GB VHD. RDC Sync traffic is 7.6MB, vs 12 MB file size of installer RDC Efficiency (1-RDCBytes/Total compressed Bytes)*100 Enabling Technology RDC reduction factors Bandwidth Reduction Factors: RDC vs. Full File Transfer 450 409 400 350 292 300 250 200 150 92 100 50 3 13 15 31 30 41 .PPT 594K .XLS 2.4M .ZIP 348K 17 0 .VSD 318 K .DOC 489 K .DOC 2.6 M .MPP 241K .HTM 425K .PPT 3.9M .PST 293M Replication Operation Create / Modify file NTFS Drive FRS learns of file changes from the NTFS “USN Change journal” Filter out unwanted files NTFS Drive Rename file into final location Write entry in DFSR ID table Rebuilds file in pre-install dir Write entry in DFSR ID Table DB notifies Sync with Change in VV, ages 3 s VV exchange, Sends updates Fetches (staging) file Request file Sync Receives update, compare with DB Enabling Technology RDC example Target Original file MD411 The quick fox jumped MD412 over the lazy brown dog. MD413 The dog was so lazy that he didn’t notice MD414 the fox jumping over him. Source Updated file copy The quick fox jumped Request file MD421 … MD425 Updated file The quick fox jumped MD421 over the lazy brown dog. [use recursion] over the lazy brown dog. MD422 The brown dog was Fetch new chunks 3, 4 The brown dog was MD423 so lazy that he didn’t notice “The brown dog was” so lazy that he didn’t notice MD424 the fox jumping over him. “so lazy that he …” the fox jumping over him. MD425 Conflict Resolution Uses logical clocks and the USN time Different for files and directories: Last writer for files Earliest Creator for directories Types of Conflicts Name Conflict Update Conflict ReplicatedFolderRoot\DfsrPrivate\ConflictManifest.xml Conflict is a local directory in DfsrPrivate Losing content lives only on the machines that handled the conflict. DFS Replication is intended for content that is not modified simultaneously since: It does not support distributed locks. Read only content – single master Loose collaboration with local copies– Read/write content Branch scenarios where WAN reliability and bandwidth are concerns and tight consistency is not. Staging Staging is to decouple the replicator from the filesystem Data is compressed and placed in a staging area from where it is served on the outbound. By default staging under DfsrPrivate\Staging RDC hashes are computed on the staged data Staging is cleaned up lazily by an age heuristic when the high watermark is reached Staging limit is not a hard quota, files will continue to be staged over the limit if space on the staging volume is available With large data best to keep staging on a separate volume from data Self Healing NTFS journal can wrap if changes happening rapidly and replication cannot keep up. Default size is 512MB Replication will automatically recover from journal wrap Replication will also automatically recover from database loss or corruption by recreating DB Alternate pair-wise sync algorithm also exists to fixup issues with respect to normal sync RDC Demo Change a file, Watch the speed! Configuration and Migration DFS Configuration DFS Namespaces All servers must be running Windows Server 2003 SP1 Management Servers must run R2 All DC’s must run Windows Server 2003 with SP1 Namespaces must be created on NTFS volumes All clients that support namespaces work Caveat: Only clients running the following client failback hotfix can be configured for client failback: Windows® XP with Service Pack 2 and the Windows XP Client Failback hotfix. Windows Server 2003 SP1 and the Windows Server 2003 Client Failback hotfix. (This hotfix does not yet have a release date.) DFS Configuration DFS–R Extend Active Directory schema Windows Server 2003 R2 required Install DFS Replication Service on each server that will take part in replication Install the DFS Management snap-in on one server Antivirus software must be compatible with DFS Replication Servers in a replication group must be in the same forest Replicated folders must be stored on NTFS volumes. NOTE: DFS-R is not for SYSVOL – do not disable FRS for DC’s. DFS Configuration DFS–R Prestage content if necessary! Make a Replication group Add members Apply Schedule/Bandwidth controls Choose folders Apply filters Publish to DFS Namespace (if exists) Extra bits! What do I use? DFS Replication or SC Data Protection Server? DFS Replication in R2 DPS 2005 Product goals General purpose replicator Data Protection (files) Delivery In Windows OS Application Scenarios Publication/distribution Collect data to central server Collect data to central server Failover support? Yes No Hub availability Via replicated hubs or tape b/u Use tape archive add-on Cross domain? Replicates within forest Replicates within domain Topologies Any Star (production server to DPS) Shadow copy integration Compatible with Shadow Copy Restore Extends Shadow Copy restore Network types supported LAN WAN (even poor WANs) LAN WAN (better WANs…) Open file support Files replicated on close (note: PST files close after 15m) Files replicated even while open Replication granularity Replicates differences between files when updates occur Replicates write traffic when writes occur Monitoring DFS in R2 Microsoft Operations Manager (MOM) DFS Namespace management pack released DFS Replication management in Beta Event based management pack DFS Replication Roadmap Release Roadmap 2007 ►Windows Server “Longhorn” with DFS Replication for 2006 SYSVOL and DFS replicas ►Windows Server “Longhorn” Beta 2 2005 2004 ►Windows Server: Codename “Longhorn” Beta 1 ►Windows Server 2003 Update: Codename “R2” with DFS Replication ►Windows Server 2003 for 64-Bit Extended Systems ►Windows Server 2003 Service Pack 1 ►Additional Feature Packs (e.g. Windows Update Services) Resources DFS Home Page: http://www.microsoft.com/dfs Branch Office Home Page: http://www.microsoft.com/branchoffice Windows Server 2003 R2: http://www.microsoft.com/windowsserver200 3/r2/default.mspx •Has the Reviewers Guide •Beta Signup Your Feedback is Important! Please Fill Out a Survey for This Session on CommNet © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.