PlayUKlottery.com - win up to 42 million Pounds
Lesson 2: Administering Shared Folders by Using Dfs

Cover
LOC Page
About This Book
Chapter and Appendix Overview
Getting Started
The Microsoft Certified Professional Program
Technical Support
Chapter 1 -- The Microsoft Windows 2000 Platform
Lesson 1: Overview of the Windows 2000 Platform
Lesson 2: Windows 2000 Professional
Lesson 3: Windows 2000 Server
Lesson 4: Windows 2000 Advanced Server and Windows 2000 Datacenter Server
Review
Chapter 2 -- Installing Windows 2000
Lesson 1: Preparing to Install
Lesson 2: Installing Windows 2000 from a CD-ROM
Lesson 3: Installing Windows 2000 over the Network
Lesson 4: Troubleshooting Windows 2000 Setup
Review
Chapter 3 -- Configuring the DNS Service
Lesson 1: Understanding DNS
Lesson 2: Resolving Names
Lesson 3: Installing the DNS Service
Lesson 4: Configuring the DNS Service
Lesson 5: Configuring a DNS Client
Lesson 6: Troubleshooting the DNS Service
Review
Chapter 4 -- Implementing Active Directory Directory Services
Lesson 1: Introduction to Active Directory Directory Services
Lesson 2: Active Directory Structure and Site Replication
Lesson 3: Active Directory Concepts
Lesson 4: Introduction to Planning
Lesson 5: Installing Active Directory Directory Services
Lesson 6: Configuring Active Directory Replication
Review
Chapter 5 -- Administering Active Directory Directory Services
Lesson 1: Creating Organizational Units
Lesson 2: Creating User and Computer Accounts
Lesson 3: Managing Groups
Lesson 4: Controlling Access to Active Directory Objects
Review
Chapter 6 -- Managing Desktop Environments with Group Policy
Lesson 1: Understanding Group Policy
Lesson 2: Applying Group Policy
Lesson 3: Configuring Group Policy
Review
Chapter 7 -- Managing Software by Using Group Policy
Lesson 1: Introducing the Software Installation and Maintenance Technology
Lesson 2: Deploying Software
Lesson 3: Upgrading Software
Lesson 4: Managing Software
Review
Chapter 8 -- Managing File Resources
Lesson 1: Sharing and Publishing File Resources
Lesson 2: Administering Shared Folders by Using Dfs
Lesson 3: Using NTFS Special Access Permissions
Lesson 4: Managing Disk Quotas on NTFS Volumes
Lesson 5: Increasing Security with EFS
Lesson 6: Using Disk Defragmenter
Review
Chapter 9 -- Configuring Remote Access
Lesson 1: Understanding the New Authentication Protocols in Windows 2000
Lesson 2: Configuring Inbound Connections
Lesson 3: Configuring Outbound Connections
Lesson 4: Examining Remote Access Policies
Lesson 5: Creating a Remote Access Policy
Review
Chapter 10 -- Supporting DHCP and WINS
Lesson 1: New DHCP Functionality
Lesson 2: New WINS Functionality
Review
Chapter 11 -- Managing Disks
Lesson 1: Introduction to Disk Management
Lesson 2: Common Disk Management Tasks
Review
Chapter 12 -- Implementing Disaster Protection
Lesson 1: Using Fault-Tolerant Volumes
Lesson 2: Using Advanced Startup Options
Lesson 3: Using the Recovery Console
Lesson 4: Using the Backup Utility
Lesson 5: Performing an Emergency Repair
Review
Chapter 13 -- Upgrading a Network to Windows 2000
Lesson 1: Planning a Network Upgrade
Lesson 2: Establishing the Root Domain
Lesson 3: Upgrading Domain Controllers and Member Servers
Lesson 4: Upgrading Client Operating Systems
Review
Chapter 14 -- Using Remote Installation Services
Lesson 1: Performing Remote Installations
Lesson 2: Creating Distribution Servers
Review
Appendix A -- Questions and Answers
Appendix B -- Creating Setup Disks
About This Electronic Book
About Microsoft Press


[Previous] [Next]

Lesson 2: Administering Shared Folders by Using Dfs

The distributed file system (Dfs) allows for the creation of a single logical directory tree from a variety of physical systems. Although this technology was available in Microsoft Windows NT 4.0, the administrative tool for configuring the Dfs tree has been enhanced in Windows 2000. An understanding of how to use the Distributed File System console can help ensure an effective Dfs structure.

Understanding Dfs

Dfs is a single hierarchical file system whose contents are distributed across the enterprise network. Dfs provides a logical tree structure for file system resources that can be anywhere on the network. Because the Dfs tree is a single point of reference, users can easily gain access to network resources regardless of the actual location of the resources. Dfs also facilitates administering multiple shared folders from a single location.

A Dfs share uses a tree structure that contains a root node and child nodes. To create a Dfs share, you must first create a Dfs root. Each Dfs root can have multiple child nodes beneath it, each of which points to a shared folder. The child nodes of the Dfs root represent shared folders that can be physically located on different file servers.

You can configure two types of distributed file systems:

  • Stand-alone Dfs. Stores the Dfs topology on a single computer. This type of Dfs provides no fault tolerance if the computer that stores the Dfs topology or any of the shared folders that Dfs uses fail.
  • Fault-tolerant Dfs. Stores the Dfs topology in Active Directory directory services. This type of Dfs allows child nodes to point to multiple identical shared folders for fault tolerance. In addition, it supports Domain Name System (DNS), multiple levels of child volumes, and file replication.

Navigating a Dfs-managed shared folder is easy because the user does not need to know the name of the server on which the folder is shared. This simplifies network access because users no longer need to locate the server where a specific resource is located on the network. After connecting to a Dfs root, users can browse and gain access to all resources below the root, regardless of the location of the server on which the resource is located.

Dfs also simplifies network administration. If a server fails, you can move a child node from one server to another without users being aware of the change. All that is required to move a child node is to modify the Dfs folder to refer to the new server location of the shared folders. Users continue to use the same Dfs path for the child node. Users can gain access to a shared folder through Dfs as long as they have the required permission to gain access to the shared folder.

NOTE
Only client computers with Dfs client software can gain access to Dfs resources. Windows NT 4.0, Windows 98, and Windows 2000 all include a Dfs client. You must download and install a Dfs client for Windows 95.

Setting Up a Dfs Root

A stand-alone Dfs root is physically located on the server to which users initially connect. The first step in setting up a stand-alone Dfs is to create the Dfs root.

Stand-Alone Dfs Root

To create a stand-alone Dfs root, use the Distributed File System console to start the Create New Dfs Root wizard. Table 8.1 describes the wizard options that you configure to create a stand-alone Dfs root.

Table 8.1 Creating a Stand-Alone Dfs Root

Option Description
Select The Dfs Root Type The type of Dfs root. Select Create A Standalone Dfs Root to store the Dfs topology on a single computer. A stand-alone Dfs root does not use Active Directory directory services and does not provide fault tolerance.
Specify The Host Server For The Dfs Root The initial connection point for all resources in the Dfs tree, or the host server. You can create a Dfs root on any computer running Windows 2000 Server.
Specify The Dfs Root Share A shared folder to host the Dfs root. You can choose an existing shared folder or create a new share.
Name The Dfs Root A descriptive name for the Dfs root.

Fault-Tolerant Dfs Root

A fault-tolerant Dfs root can be created only on a domain controller. Active Directory directory services store each Dfs tree topology and replicate the topology to every participating Dfs root server. Because changes to a Dfs tree are automatically synchronized with Active Directory directory services, you can always restore a Dfs tree topology if the Dfs root is offline for any reason. You can implement fault tolerance at the file and content level by assigning replicas to a Dfs child node. Any branch node on the Dfs tree can be serviced by a set of replicated resources. If a client connection to one replica fails for any reason, the Dfs client attempts a connection to another. The Dfs client cycles through the replicas until an available one is found.

To create a fault-tolerant Dfs root, use the Create New Dfs Root wizard. Table 8.2 describes the wizard options you configure to create a fault-tolerant Dfs root.

Table 8.2 Creating a Fault-Tolerant Dfs Root

Option Description
Select The Dfs Root Type The type of Dfs root. Click Create A Domain Dfs Root. A domain Dfs root uses Active Directory directory services to store the Dfs tree topology and supports DNS naming, file replication, and fault tolerance.
Select The Host Domain For The Dfs Root The initial connection point for all resources in the Dfs tree, or the host domain. A domain can host multiple Dfs roots.
Specify The Host Server For The Dfs Root The initial connection point for all resources in the Dfs tree, or the host server. You can create a Dfs root on any computer running Windows 2000 Server.
Specify The Dfs Root Share A shared folder to host the Dfs root. You can choose an existing shared folder or create a new share.
Name The Dfs Root Provide a descriptive name for the Dfs root.

To create a second root, right-click the domain, and then click New Root Replica Member. The only options for creating a second root are Specify Server To Host Dfs and Select Share For Dfs Root Volume.

Setting Up Dfs Child Nodes

In a network environment, it can be difficult for users to keep track of the physical locations of shared resources. When you use Dfs, the network and file system structures become transparent to users. This enables you to centralize and optimize access to resources based on a single tree structure.

After you create a Dfs root, you can create Dfs child nodes. To create a Dfs child node, in the Distributed File System console, click the Dfs root to which you will attach a child node. On the Action menu, click New Dfs Link. In the Create A New Dfs link dialog box, configure the options described in Table 8.3.

Table 8.3 Creating a New Dfs Child Node

Option Description
Link Name The name that users will see when they connect to Dfs.
Send The User To This Shared Folder The Universal Naming Convention (UNC) name for the actual Path of the shared folder to which the child node refers.
Comment Additional information (optional) to help keep track of the shared folder (for example, the actual name of the shared folder).
Clients Cache This Referral For X Seconds Length of time for which clients cache a referral to a Dfs child node. After the referral time expires, a client queries the Dfs server about the location of the child node, even if the client has previously established a connection with the child node.

The child node will appear below the Dfs root volume in the Distributed File System console.

Optional Practice: Creating a Dfs Tree

In this optional practice, you will share some existing folders, create and share some folders, create a new Dfs root, and then create some Dfs child nodes.

NOTE
To complete all the procedures in this practice, you must have two computers running Windows 2000. This practice also assumes that one of the two computers is configured as a domain controller and the other computer is configured as a member server in the domain.

Exercise 1: Creating and Sharing Folders

In this exercise, you will create and share some folders.

NOTE
If you have two computers, a domain controller and a member server in the domain, complete this exercise on both computers.

  • To create and share folders
    1. Log on as Administrator.
    2. Start Windows Explorer and create and share the folders listed in the following table using all default permissions.
    3. Folder Share name
      C:\Apps\Database DB
      C:\Apps\Wordprocessing Word
      C:\MoreApps\Maintenance Maint
      C:\MoreApps\CustomerService Custom

    4. Close Windows Explorer.

    Exercise 2: Creating a Dfs

    In this exercise, you create and configure a distributed file system (Dfs) on your computer.

    NOTE
    If you have two computers, a domain controller and a member server in the domain, complete this exercise on both computers.

  • To create a new Dfs root
    1. Click the Start button, point to Programs, point to Administrative Tools, and then click Distributed File System.
    2. The Distributed File System window appears.

    3. On the Action menu, point to New, and then click Dfs Root.
    4. The New Dfs Root wizard appears.

    5. Click Next.
    6. The wizard displays the Select The Dfs Root Type page.

      Notice that there are two types of Dfs roots you can create:

      • A domain Dfs root that uses Active Directory directory services to store the Dfs configuration and supports automatic file replication and DNS naming.
      • A stand-alone Dfs root that does not use Active Directory directory services and does not support automatic file replication.

    NOTE
    In this exercise, you will create a stand-alone Dfs root.

    1. Click Create A Standalone Dfs Root, and then click Next.
    2. The wizard displays the Specify The Host Server For The Dfs Root page. You will create a Dfs root on your own server.

    3. In the Server Name box, confirm that the name of your server is displayed, and then click Next.

    NOTE
    If you are using the naming conventions suggested in this course, your server name will be SERVER1\domain.com.

      The wizard displays the Specify Dfs Root Share page. Notice that you can use an existing share for the Dfs root or the wizard can create a new shared folder for you.

    NOTE
    In this exercise, you will let the wizard create a new shared folder for you. You have to provide both the location of the folder on your computer and a share name.

    1. Select the Create A New Share option.
    2. Type C:\Apps in the Path To Share box, type Shared Apps in the Share Name box, and then click Next.
    3. A Name The Dfs Root page appears allowing you to type in a comment.

    4. Type Shared Applications for Marketing in the Comments box, and click Next.
    5. The wizard displays the Completing The New Dfs Root Wizard page, which contains a summary of the choices that you made. An example is shown in Figure 8.3.

      Click to view at full size.

      Figure 8.3 A summary of choices for the new Dfs root

    6. Confirm that the options that the wizard displays are correct, and then click Finish.
    7. Leave the Distributed File System window open.

  • To add Dfs child nodes on the local computer
  • NOTE
    If you have two computers, a domain controller and a member server in the domain, complete this procedure on both computers.

    1. In the Distributed File System window's console tree, click \\Server1\ SharedApps (where Server1 is the UNC name of your domain controller).
    2. On the Action menu, click New Dfs Link.
    3. The Create A New Dfs Link dialog box appears.

    4. Type Word Processing in the Link Name box.
    5. In the Send The User To This Shared Folder box, type \\Server1\Word (where Server1 is the UNC name of your domain controller).
    6. Click OK.
    7. Repeat steps 1-5 to add a child node called Customer Service, which points to the shared folder \\Server1\Custom (where Server1 is the UNC name of your domain controller).

    The following table summarizes the nodes being created in this procedure and the next procedure.

    Child node Shared folder Folder name
    Word Processing \\Server1\Word C:\Apps\Wordprocessing
    Customer Service \\Server1\Custom C:\MoreApps\CustomerService
    Maintenance \\second_computer\Maint C:\MoreApps\Maintenance
    Database \\second_computer\DB C:\Apps\Database

  • To add a Dfs child node on a remote computer
  • NOTE
    This is an optional procedure. To complete this procedure, you must have two computers running Windows 2000. This procedure assumes that one of the two computers is configured as a domain controller and the other computer is configured as a member server in the domain.

    1. In the console tree, click \\Server1\SharedApps (where Server1 is the UNC of your domain controller).
    2. On the Action menu, click New Dfs Link.
    3. The Create A New Dfs Link dialog box appears.

    4. Type Maintenance in the Link Name box.
    5. In the Send The User To This Shared Folder box, type \\second_computer\Maint (where second_computer is the UNC name of your non-domain controller computer), and then click OK.
    6. Repeat steps 1-4 to add a child node called Database, which points to the shared folder \\second_computer\DB (where second_computer is the UNC name of your non-domain controller computer).
    7. Close the Distributed File System window.

  • To test the Dfs
  • NOTE
    To complete this procedure, you must have two computers running Windows 2000. This procedure assumes that one of the two computers is con-figured as a domain controller and the other computer is configured as a member server in the domain.

    1. On the domain controller's desktop, double-click My Network Places, double-click the Computers Near Me icon, and then double-click second_computer.
    2. The second_computer window appears, displaying the shared resources on your second computer.

    3. Double-click Shared Apps.
    4. The Shared Apps on second_computer window appears, displaying the child nodes of the Shared Apps Dfs.

    5. Create a text file in the Word Processing child node, and name the text file WP1.
    6. Create a text file in the Maintenance child node, and name the text file Maint1.
    7. Close all open windows.
    8. Open \\second_computer\Word.
    9. Notice that the file you created on your second computer's Dfs appears in a shared folder on your second computer's shared folder.

    10. Close all open windows and log off.

    Lesson Summary

    The Microsoft distributed file system (Dfs) for Windows 2000 Server provides users with convenient access to shared folders that are distributed throughout a network. A Dfs share uses a tree structure containing a root and child nodes. The child nodes of the Dfs root represent shared folders that can be physically located on different file servers.

    In a network environment, it might be difficult for users to keep track of the physical locations of shared resources. When you use Dfs, the network and file system structures become transparent to users. A user who navigates a Dfs–managed shared folder does not need to know the name of the server on which the folder is shared.

    After connecting to a Dfs root, users can browse and gain access to all resources below the root, regardless of the location of the server on which the resource is located. If a server fails, you can move a child node from one server to another without users being aware of the change. All that is required to move a child node is to modify the Dfs folder to refer to the new server location of the shared folders. Users continue to use the same Dfs path for the child node.