Chapter 5, Advanced File Systems

       Chapter 5, Lesson 1

       Distributed File System (Dfs)

       1.    Dfs Overview

|1|               A.      Introduction to Dfs

                           1.       Dfs is a single, logical, hierarchical file system that organizes shared folders on different computers in a network.

                           2.       Users can easily gain access to network resources because Dfs is a single point of reference.

                           3.       Users do not need to know the name of the server on which folders are shared.

                           4.       Dfs uses a tree structure containing a root and Dfs links.

                           5.       Using Dfs has many advantages.

                                     a.      Network administration

                                     b.      Namespace

                                     c.       Memory overhead

                                     d.      Server replacement

                                     e.      Load balancing and fault tolerance

                                     f.       Extensibility

                                     g.      Network permissions

                                     h.      Client caching

                                     i.        Microsoft Internet Information Services (IIS) integration

|2|               B.      Limits of Dfs

       2.    Dfs Roots

|3|               A.      Overview of Dfs roots

                           1.       The Dfs Service is auto-installed with the installation of Microsoft Windows 2000 Server.

                           2.       Two types of Dfs roots can be configured on Windows 2000 Server computers: stand-alone and domain.

|4|               B.      Stand-alone Dfs roots

                           1.       Stand-alone Dfs information is stored in the local registry.

                           2.       A stand-alone Dfs root permits a single level of Dfs links.

                           3.       When the Distributed File System snap-in is used to connect to existing stand-alone Dfs roots, all servers known to the browse list are retrieved because there is no unique NetBIOS name registered by Dfs-enabled servers.

                           4.       Stand-alone Dfs roots can be located on all supported file systems, although locating resources on NTFS-formatted partitions is recommended.

                           5.       Stand-alone Dfs roots offer no replication or backup; the Dfs root represents a single point of failure.

|5|               C.      Domain Dfs roots

                           1.       Multiple servers hand out referrals for the Dfs namespace.

                           2.       A fault-tolerant Dfs root is stored in Active Directory services and is replicated to every participating Dfs root server. Changes to a Dfs tree are automatically synchronized with Active Directory services.

                           3.       Fault-tolerant roots must be located on NTFS version 5.0–formatted partitions.

                           4.       The list of domains and servers is populated by querying the global catalog for all fault-tolerant Dfs roots.

                           5.       Dfs replication topology uses the existing Active Directory replication topology.

       3.    Configuring Dfs

|6|               A.      Configuring a stand-alone Dfs root

                           1.       Stand-alone Dfs stores the Dfs topology on a single computer and does not provide fault tolerance.

                           2.       A stand-alone Dfs root is physically located on the server that users initially connect to.

|7|                        3.       To create a stand-alone Dfs root, use the Distributed File System snap-in to start the New Dfs Root wizard.

                                     a.      Select The Dfs Root Type

                                     b.      Specify The Host Server For The Dfs Root

                                     c.       Specify The Dfs Root Share

                                     d.      Name The Dfs Root

                                     e.      Completing The New Dfs Root Wizard

|8|               B.      Configuring a domain Dfs root

                           1.       Domain Dfs writes the Dfs topology to the Active Directory store, which allows links to point to multiple identical shared folders for fault tolerance.

                           2.       Domain Dfs supports DNS, multiple levels of child volumes, and file replication.

                           3.       To create a domain Dfs root, use the Distributed File System snap-in to start the New Dfs Root wizard.

|9|               C.      Configuring new Dfs links

                           1.       Users can browse folders under a Dfs root without knowing where the referenced resources are physically located.

                           2.       After you create the Dfs root, you can create Dfs links.

|10|                       3.       To create a Dfs link, use the Distributed File System snap-in to open the Create a New Dfs Link dialog box.

                                     a.      Link Name

                                     b.      Send The User To This Shared Folder

                                     c.       Comment

                                     d.      Clients Cache This Dfs Referral For x Seconds

|11|                       4.       Dfs links appear below the Dfs root in the Distributed File System snap-in.

       Chapter 5, Lesson 2

       File Replication Service (FRS)

|12|    1.    FRS Replication

                  A.      FRS is installed automatically on all Windows 2000 Server computers.

                  B.      FRS is configured to start automatically on all domain controllers and manually on all stand-alone and member servers.

                  C.      The Active Directory store uses FRS to synchronize the directory among all the domain controllers.

                  D.      Active Directory services automatically generates a ring topology for replication among domain controllers in the same domain.

                  E.      The ring structure ensures that there are at least two replication paths from one domain controller to another.

       2.    Sites and Replication

                  A.      Overview of replication

|13|                       1.       Site and domain structures

                                     a.      A site is made up of one or more IP subnets that identify a group of well-connected computers.

                                     b.      Domain structure and site structure are maintained separately in Active Directory services.

|14| |15| |16|                      c.       A single domain can include multiple sites, and a single site can include multiple domains.

|17|                       2.       Intra-site replication

                                     a.      Intra-site replication occurs between domain controllers within a site.

                                     b.      Replicated data is not compressed.

                                     c.       The default replication interval is five minutes.

                                     d.      Replication is trigger-based (notification and pull).

|18|                       3.       Inter-site replication

                                     a.      Inter-site replication occurs between domain controllers in different sites.

                                     b.      You can specify the time when inter-site replication should occur. The default replication interval is three hours.

                                     c.       You can specify the network transport for use in inter-site replication.

                                     d.      Inter-site replication is compressed, regardless of the transport used.

                                     e.      Inter-site replication compression reduces the data on the network by 88 to 90 percent.

                                     f.       Inter-site replication is not configured automatically; it must be configured by an administrator.

|19|              B.      Knowledge Consistency Checker (KCC)

                           1.       The KCC generates a ring topology for replication among domain controllers in the same domain.

                           2.       The ring structure guarantees that there are at least two replication paths from one domain controller to another.

                           3.       The KCC analyzes the replication topology within a site to ensure that the replication topology is efficient.

|20|    3.    Unique Sequence Numbers (USNs)

                  A.      When a directory object is updated at a domain controller, a USN is assigned.

                  B.      When the domain controller writes the change into the directory, it also writes the USN.

                  C.      Each domain controller maintains a table of the USNs that it receives from every other domain controller in the domain.

                  D.      USNs eliminate the need for precise time stamps for changes.

                  E.      USNs simplify recovery after a failure.

       4.    Implementing FRS

|21|              A.      Replicating SYSVOL

                           1.       Changes to the %systemroot%\SYSVOL folder on any domain controller are automatically replicated to other domain controllers within the site.

                           2.       The replication topology and process are separate but identical to Active Directory replication.

                           3.       Windows 2000 Server sets up a default folder structure for SYSVOL.

                                     a.      %systemroot%\SYSVOL\Sysvol\<domain_name>\Policies

                                     b.      %systemroot%\SYSVOL\Sysvol\<domain_name>\Scripts

|22|              B.      Replicating Dfs fault-tolerant roots

                           1.       Introduction to replication

                                     a.      Dfs uses FRS to replicate data in domain Dfs links.

                                     b.      Dfs and file replication support a number of features.

                                              (1)     Multimaster replication replicates modified files and modified ACLs when a file is closed.
                                              (2)     Files can be modified on any replica member.
                                              (3)     Only NTFS volumes have the potential to replicate.
                                              (4)     Replication is journal based.
                                              (5)     Replication is Remote Procedure Call (RPC) based.
                                              (6)     FRS topology follows Active Directory replication topology.

                                     c.       The process of Dfs replication consists of a number of steps.

                                              (1)     A file changes, which is noted when a user closes a file.
                                              (2)     NTFS makes an entry in the NTFS Change Log.
                                              (3)     FRS monitors the NTFS journal for changes to Dfs links.
                                              (4)     FRS makes an entry into its own journal.
                                              (5)     FRS generates a staging file of the file change.
                                              (6)     FRS holds on to changes until scheduled to replicate.
                                              (7)     The destination pulls the staging file and applies the new files.

                           2.       Adding replica Dfs root servers

                                     a.      Each Dfs root or link can reference a replicated set of share resources.

                                     b.      Use the Distributed File System snap-in to add Dfs replica servers to a Dfs domain root or link.

                           3.       Enabling Dfs replication

                                     a.      Dfs replication is disabled by default.

                                     b.      Use the Distributed File System snap-in to enable replication.

|23|              C.      Configuring FRS for inter-site replication

                           1.       Use the Active Directory Sites And Services snap-in to configure inter-site replication.

                           2.       To configure the FRS settings, you must create a new site link for the inter-site transport protocol listed in the console tree.