Lesson 1: Distributed File System

Dfs for Windows 2000 Server provides users with convenient access to shared folders that are distributed throughout a network. A single Dfs shared folder serves as an access point to other shared folders in the network.


After this lesson, you will be able to

  • Configure a standalone Dfs root
  • Configure a Dfs link
  • Configure a fault-tolerant Dfs root

Estimated lesson time: 35 minutes


Dfs Overview

Dfs is a single, logical, hierarchical file system. It organizes shared folders on different computers in a network to provide a logical tree structure for file system resources. Figure 24.1 shows how Dfs can organize resources that reside on different components of a network.

Figure 24.1 An example of a Dfs share

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 underlying resources,. As Figure 24.1 demonstrates, accounting file system resources from multiple servers are organized in one logical Dfs root named Accounting.

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. This simplifies network access because users no longer need to locate the server on which a specific resource resides. 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 resides. In the example above, users needing access to accounting file resources would be able to find them in this one location.

A Dfs share uses a tree structure containing a root and Dfs links. To create a Dfs share, you must first create a Dfs root. Each Dfs root can have multiple Dfs links beneath it, each of which points to a shared folder on the network. The Dfs links of the Dfs root represent shared folders (<computer_name>\<share_name>) that can be physically located on different file servers.

The Table 24.1 describes the advantages of using Dfs.

Table 24.1 Dfs Advantages

Function Advantages
Network administration Dfs simplifies network administration. If a server fails, you can move a Dfs link from one server to another without users being aware of the change. All that is required to move a Dfs link 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 Dfs link.
Namespace Clients access file resources by using a single namespace (the Dfs root), as opposed to mapping logical drive letters throughout the enterprise.
Memory overhead Windows 2000 and Windows NT 4.0 clients use no additional memory because Dfs support is integrated with the Microsoft client redirector for both Windows 2000 and Windows NT 4.0. The Dfs Service for Microsoft Network Client must be installed on top of the Windows 95- and Windows 98-based Microsoft client redirector for this Windows 32-bit client to access a Dfs share. Without this service installed, Windows 95 and Windows 98 clients can access standard shares that are Dfs links of a Dfs root share.
Server replacement Administrators can replace file servers without affecting the namespace used by network clients simply by updating the path for the new server in the Distributed File System snap-in.
Load balancing and fault tolerance Dfs provides a level of load balancing and fault tolerance since clients randomly select a physical server to connect to from the list of alternates returned by the Dfs server.
Extensibility The Dfs namespace can be extended at any time to incorporate additional disk space or new business requirements.
Network permissions Dfs preserves network permissions. No additional permissions or security are required because Dfs volumes use existing Windows 2000 file and directory permissions. Access compatibility lists (ACLs) on Windows 2000 fault-tolerant replicas are replicated.
Client caching Dfs clients cache frequently used network resources without experiencing delays locating servers. The first access to a new area of the Dfs tree incurs a slight performance loss (analogous to performing a Net Use command). Caching this data eliminates any performance penalty for subsequent accesses until the client is rebooted or the cache expires.
Internet Services (IIS) integration Dfs works with IIS. Links made to other pages stored in Dfs Information do not have to be updated if the initial page is physically moved from one server to another, provided an administrator reconfigures Dfs accordingly. If the server hosting an Internet page is removed and the page is republished elsewhere, the links on that page do not have to be reconfigured.

Limits of Dfs

Table 24.2 details the limitations of Dfs.

Table 24.2 Dfs limitations

Description Limit
Maximum number of characters per file path 260
Maximum number of alternates per volume 32
Maximum number of Dfs roots per server 1
Maximum number of Dfs roots per domain Unlimited
Maximum number of volumes hosted in a domain or enterprise Limited by system resources. Six thousand have been successfully tested in standalone roots.

Types of Dfs Roots

The Dfs Service is automatically installed with the installation of Windows 2000 Server. The service can be paused, stopped, and started but not removed from the operating system.

Two types of Dfs roots can be configured on Windows 2000 Servers: standalone Dfs roots and domain Dfs roots (sometimes called fault-tolerant Dfs roots).

Standalone Dfs Roots

The following characteristics are common to standalone Dfs roots:

  • Standalone Dfs information is stored in the local registry.
  • A standalone Dfs root permits a single level of Dfs links.
  • When using the Distributed File System snap-in to connect to existing standalone Dfs roots, all servers known to the browse list are retrieved since there is no unique NetBIOS name registered by Dfs-enabled servers.
  • Standalone Dfs roots can be located on all supported file systems, although locating resources on NTFS formatted partitions is recommended.
  • Standalone Dfs roots offer no replication or backup; consequently, the Dfs root represents a single point of failure. You can create a replica from a standalone Dfs root; however, file replication services are not available.

Domain Dfs Roots

The following characteristics are common to Dfs fault-tolerant roots:

  • In a domain Dfs root, multiple servers hand out referrals for the Dfs namespace. Fault-tolerant Dfs roots use Active Directory services to store Dfs tree topology and remove the root as a single point of failure.
  • A fault-tolerant Dfs root is stored in Active Directory services and replicated to every participating Dfs root server. Changes to a Dfs tree are automatically synchronized with Active Directory services. This ensures that you can always restore a Dfs tree topology if the Dfs root is offline for any reason. You can also implement fault tolerance at the file and content levels by assigning alternate resources to a Dfs volume. Any Branch node on the Dfs tree can be serviced by a set of replicated resources. If a client connection to one alternate resource fails for any reason, the Dfs client attempts to connect to another. The Dfs client cycles through the alternates until an available one is found.
  • Fault-tolerant roots must be located on NTFS version 5.0 formatted partitions.
  • The list of domains and servers is populated by querying the global catalog for all fault-tolerant Dfs roots (ObjectClass = ftDfs).
  • Dfs replication topology uses the existing Active Directory replication topology.

Configuring Dfs

Windows 2000 allows you to configure standalone Dfs roots, Dfs links, and domain Dfs roots.

Configuring a Standalone Dfs Root

Standalone 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 fails.

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

To create a standalone Dfs root, use the Distributed File System snap-in to start the New Dfs Root wizard. Figure 24.2 shows the Select The Dfs Root Type screen with the Create A Stand-Alone Dfs Root radio button selected.

Figure 24.2 Creating a standalone Dfs root from the Distributed File System snap-in

Table 24.3 describes the screens within the wizard and what actions you can take to configure the new Dfs root.

Table 24.3 Dfs Root Wizard Actions

Screen Actions
Select The Dfs Root Type Select the Create A Stand-Alone Dfs Root option (Figure 24.2).
Specify The Host Server For The Dfs Root Enter the initial connection point for all resources in the Dfs tree. You can create a Dfs root on any computer running Windows 2000 Server.
Specify The Dfs Share Enter a shared folder to host the Dfs root. You can choose an existing shared folder or create a new share.
Name The Dfs Root Enter a descriptive name in the Comment text box for the Dfs root.
Completing The New Root wizard Review the settings for the Host Server, Root Share, and Root Name text boxes. Click Back if you need to make changes, or click Finish to complete the setup process.

Configuring a Domain Dfs Root

Domain Dfs writes the Dfs topology to the Active Directory store. This type of Dfs allows Dfs links to point to multiple identical shared folders (also called replicas) for fault tolerance. In addition, it supports Domain Name System (DNS), multiple levels of child volumes, and file replication.

To create a fault-tolerant Dfs root, use the Distributed File System tool to start the New Dfs Root wizard.

Configuring New Dfs Links

Users can browse folders under a Dfs root without knowing where the referenced resources are physically located. After you create a Dfs root, you can create Dfs links (also known as Child nodes).

To create a Dfs link, open the Distributed File System snap-in, and click the Dfs root to which you will attach a Dfs link. On the Action menu, click New Dfs Link. The Create A New Dfs Link dialog box appears, as shown in Figure 24.3.

Figure 24.3 Creating a New Dfs Link off a public Dfs root for a human resources share

Table 24.4 describes the option in the dialog box.

Table 24.4 Create A New Dfs Link Dialog Box Options

Option Description
Link Name The name below the Dfs root that users will see when they connect to Dfs.
Send the user to this shared folder The UNC name for the actual location of the shared folder the Dfs link refers to. Note that the Dfs host server must be able to access any shared folders referred to in a Dfs link.
Comment Additional information (optional) to help keep track of the shared folder (for example, the actual name of the shared folder).
Clients cache this Dfs referral for x seconds Length of time for which clients cache a referral to a Dfs link. After the referral time expires, a client queries the Dfs server about the location of the Dfs link, even if the client has previously established a connection with the Dfs link.

The Dfs link appears below the Dfs root volume in the Distributed File System tool and appears to a Dfs-enabled client as a folder below the Dfs root. Figure 24.4 shows the appearance of a Dfs root named \\Server02\Public and a Dfs link on another server.

click to view at full size.

Figure 24.4 A Dfs root and a Dfs link as they appear in the Distributed File System snap-in and how they appear on a Dfs-enabled client

Practice: Creating a Dfs Root and Dfs Link

In this practice, you configure shares, create a standalone Dfs root, and then create Dfs links.

Exercise 1: Creating Directories and Shares

In this exercise, you create or use existing folders and create shares for the folders. You can use any method you prefer to create folders and shares or follow the steps in this exercise.

  1. Log on to Server01 as Administrator with a password of password.
  2. Open My Computer on the desktop.

    The My Computer window appears.

  3. Open Local Disk (H:).
  4. From the File menu, select New, and then select Folder.

    A folder named New Folder appears in the Local Disk (H:) window, and the blinking cursor appears inside the New Folder box.

  5. Rename the folder "Public."
  6. Select the Public folder, and from the File menu, choose Sharing.

    The Public Properties dialog box appears.

  7. Select the Share This Folder radio button, and in the Comment text box, type Dfs root share.
  8. Click OK.

    The Public folder appears with a hand underneath the folder.

  9. Repeat steps 2 to 8 to create the folders and shares listed in the following table, using default permissions.

    Be aware that in some cases, the folders will be created on drive letters other than H:, and in one case a share will be created on Server02 to a folder that already exists.

Computer name Drive Folder Share name Purpose/ Comment
Server02 C: \Inetpub\wwwroot internal Internal Web content
Server01 H: \Press Press Current press releases
Server01 C: \Inetpub\ftproot ftproot FTP root directory mapped partition
Server01 I: \dev\TechDocs TechDocs Technical documents area
Server01 C: \Public\Press PressRepl Current press releases replica

Exercise 2: Creating a Standalone Dfs Root on Server01

In this exercise, you create a standalone Dfs root to host the shares created in exercise 1.

  1. Click the Start button, point to Programs, point to Administrative Tools, and then click Distributed File System.

    The Distributed File System snap-in appears.

  2. Read the message displayed in the right pane.
  3. On the Action menu, click New Dfs Root.

    The New Dfs Root wizard appears.

  4. Read the information on the Welcome To The New Dfs Root Wizard, and then click Next.
  5. On the Select The Dfs Root Type screen, notice that there are two types of Dfs you can create:
    • A domain Dfs root that writes the Dfs tree topology to the Active Directory store and supports DNS, and file replication
    • A standalone Dfs root that does not use Active Directory service and does not support automatic file replication

    Because you have not configured a domain controller at this point in your training, you will create a standalone Dfs root.

  6. Select the Create A Stand-Alone Dfs Root radio button, and then click Next.
  7. On the Specify The Host Server For The Dfs Root screen, confirm that SERVER01 is displayed, and then click Next.

    On the Specify The Dfs Root Share screen, specify a share you created in Exercise 1.

    Notice that you can use an existing share for the Dfs root, or the wizard can create a new shared folder for you.

  8. Verify that the Use An Existing Share radio button is selected, and then from the drop-down menu, select Public.
  9. Click Next.
  10. In the Comment text box appearing on the Name The Dfs Root screen, type Public access share and then click Next.
  11. Review the settings appearing on the Completing The New Dfs Root Wizard screen, and then click Finish.
  12. The Distributed File System snap-in appears and the Dfs root is configured on SERVER01 to Public.

Exercise 3: Creating Dfs Links

In the following exercise, you create Dfs links below the \\SERVER01\Public Dfs root.

  1. In the left pane of the Distributed File System snap-in, select \\SERVER01\Public.
  2. Click on the Action menu, and notice that New Root Replica and Replication Policy are not available.
  3. Click New Dfs Link.

    The Create A New Dfs Link dialog box appears.

  4. In the Link Name text box, type intranet.
  5. Click Browse.

    The Browse For Folder window appears.

  6. Expand the + sign to the left of Computers Near Me.
  7. Expand the + sign to the left of Server02, and then click internal and click OK.

    The Send The User To This Shared Folder text box contains \\Server02\internal.

  8. In the Comment text box, type Internal Web content and click OK.
  9. Always begin this step by clicking on \\SERVER01\Public in the Distributed File System snap-in, and then repeat steps 3-8 to create new Dfs links using information in the following table:
Link name Send the user to this shared folder Comment
news \\Server01\Press Current Press Releases
ftp \\Server01\ftproot FTP Root Directory
tech \\Server01\TechDocs Technical Documents Area

NOTE


Rather than browsing for a share, you can enter the server and share name using standard UNC syntax.

Exercise 4: Creating a Dfs Replica

In the following exercise, you create a replica of the News Dfs link. This Dfs link points to the H:\Press folder shared as Press, and the replica is stored on C:\Public\Press folder, which is shared as PressRepl.

NOTE


Because you created a standalone Dfs link, files must be manually copied or synchronized between the two folders. File replication services are not available for replicas created on a standalone Dfs link.

  1. Select the News link in the left pane of the Distributed File System snap-in.
  2. On the Action menu, click New Replica.

    The Add A New Replica dialog box appears.

  3. In the Send The User To This Shared Folder text box, type \\SERVER01\PressRepl. Notice that no replication policy can be configured for this replica.
  4. Click OK.

    In the right pane both the \\SERVER01\Press and \\SERVER01\PressRepl shares appear.

Exercise 5: Accessing the Dfs on Server01

In this exercise, you use the batch file provided with this training kit to copy files to Dfs links created in Exercises 1 to 3. After the files are copied, you access the files through Windows Explorer.

IMPORTANT


The batch file included with this training kit will work properly only if both servers are running, the shares are created exactly as specified in this practice, and the Administrator account password is password on both computers.

  1. Insert the Windows 2000 Server Training Supplemental CD-ROM into the CD-ROM drive in Server01.
  2. Open the CD-ROM drive from My Computer.
  3. Open the \chapt24\ex1 folder
  4. Click on the ex1copy.bat file, and from the File menu click Open.

    A command window opens as files are copied to the Dfs links, and then the command window closes.

    Complete all of the remaining steps in this exercise from Server02.

  5. To access the standalone Dfs root on Server01 from Server02, open My Network Places and then open Computers Near Me.

    The Computers Near Me windows appears showing all computers in the workgroup.

  6. Click on Server01, and from the File menu click Open.

    All shares and the Dfs root (Public) appear along with other objects on Server01. Notice that the Public folder appears like any share on Server01.

  7. Click on the Public folder, and from the File menu click Open.

    The four Dfs links created in Exercise 3 appear.

  8. Open each folder and verify that the following files are present.
Folder File(s)
ftp dirmap.htm, dirmap.txt
intranet Q240126 - Best Practices for Using Sysprep with NTFS Volumes.htm
news press.wri
tech Dfsnew.doc, RFS 1777.txt

Note that the intranet folder will contain additional files, since this folder points to a directory created during the installation of Windows 2000 Server.

Which folder represents a location on a server other than Server01?

Which folder represents a mounted drive to a previously empty folder?

Earlier in this exercise, you created a replica of the Press Dfs link. The name of that replica is \\SERVER01\PressRepl. This Dfs link is a shared folder by the name of PressRepl and is located in C:\Public\Press. If you examine the contents of this directory, you will notice that it is empty. However, when you view the News Dfs link, you will notice that there is a file named Press.wri. Why is the PressRepl Dfs replica empty?

TIP


You can use the Distributed File System snap-in to check the status of the Dfs links and to open a window to the contents of the link.

Lesson Summary

Dfs provides a convenient way for users to access shared folders that are distributed throughout a network. A single Dfs shared folder, called a Dfs root, serves as an access point to other shared folders in the network, called Dfs links. Dfs organizes shared folders on different computers in a network into a single, logical, hierarchical file system. Dfs facilitates network navigation and administration while preserving network permissions. Two types of Dfs roots can be configured on Windows 2000 Servers: standalone Dfs roots and domain Dfs roots. Standalone 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. Domain Dfs writes the Dfs topology to the Active Directory store. This type of Dfs allows Dfs links to point to multiple identical shared folders and supports file replication for fault tolerance. In addition, it supports DNS and multiple levels of Dfs links. Dfs uses the FRS to replicate data in domain Dfs roots and domain Dfs links. When changes are made to a Dfs link that is part of a domain Dfs root, the changes are automatically replicated to other replica members.



MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 244

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net