The Windows 2000 Distributed File System (DFS) allows users to find, view, and work with files on your network from one central location. With DFS configured, users do not have to understand the complexities of a network or enter long UNC addresses to browse to files. DFS is installed with Windows 2000 Server, and the service starts automatically. Let’s see how you can take advantage of this great new feature.
Selecting DFS configuration
There are two types of DFS systems: standalone and fault tolerant. A standalone DFS system stores information on one server. The drawback to this kind of setup is that if the server fails, your DFS goes down. A fault tolerant system stores the DFS information in Active Directory (AD). This type of system gives you replication and fault tolerance.
Creating a DFS root
Before you can access any DFS shares, you must first create a DFS root. The DFS root object stores all the links to your shares and files. I think of the DFS root as an empty container that holds links to all of my shared folders spread throughout my network. Before creating your DFS root, compile a list of all network shares on your system. This helps when the time comes for setting up DFS links, which we’ll discuss later in this article.
To create a DFS Root:
- From the Start menu, select Administrative Tools | Distributed File System to access the Microsoft Management Console shown in Figure A.
|The Microsoft Management Console for DFS|
- Right-click on the Distributed File System and select New DFS Root to launch the New DFS Root Wizard.
- Click Next and select the type of DFS root you want to create from the screen shown in Figure B.
|New DFS Root Wizard|
- Select the Domain and click Next.
- Enter the fully qualified domain name (FQDN) of the host server, as shown in Figure C, and then click Next.
|Enter the FQDN of the DFS host server|
- Select a DFS root share from the screen shown in Figure D and click Next.
|Select the root share|
- Click Next and then click Finish, and you’ll see something similar to Figure E.
|DFS console after you’ve set up a DFS Root|
After you create the DFS root, you can check the status of the installation by right-clicking on your DFS root and selecting Check Status, as shown in Figure F. If you have configured the DFS root properly, you’ll see a green checkmark inside a circle.
|Checking the DFS root configuration|
Now that you have configured your DFS root, you’re ready to create links to your shared folders that are located throughout your network. Follow these steps to create the DFS links:
- Right-click on your DFS root and select New DFS Link.
- Enter the name of the DFS link.
- Browse your network to the shared folder, as we’ve done in Figure G, and click OK.
|Creating a link to another folder on the network|
- Right-click on the new link and choose Check Status. Again, you’ll want to look for the green check mark inside the white circle to verify that it is running (Figure H).
|Checking the status of links|
After establishing your links to the desired shared files on your network, you will want to publish the shares in Active Directory.
To publish a share in AD:
- Select Active Directory Users And Computers from the Administrative Tools folder. Right-click on your domain and choose New | Shared Folder.
- Enter the name and network path to the DFS share, as shown in Figure I, and click OK.
|Publishing the new DFS share in Active Directory|
Now that you have published your share in AD, you can have users view the share by either mapping a drive or by choosing My Network Places | Entire Network | View Entire Contents | Directory | The name of your share (ACME Corporation, in our example) as seen in Figure J and Figure K.
|The DFS share now shows up when you browse the computer it’s on.|
|When you open the DFS share, you can see the links you created.|
Replication allows you to share folders and DFS links to other DFS roots in a domain. It also provides excellent fault tolerance in case a server crashes or has to be rebooted. You can replicate on a DFS shared folder or a DFS root.
The most important aspect of DFS is the DFS root. I say this because if the DFS root goes down or crashes and you do not have replication of the DFS root configured, your DFS tree is inaccessible.
To configure replication for the DFS root, right-click on the DFS Root and select New Root Replica. You will then need to enter the name of the server you want to copy the root to. To set the replication policy:
- Open DFS from the Administrative Tools folder.
- Right-click on a link and choose New Replica to open the Add A New Replica dialog box, shown in Figure L.
|Creating a DFS Replica|
- Enter a share name and enter your replication policy.
- Click OK. The Replication Policy window appears.
- Highlight the shared folder you want to replicate and click Enable. You can also select the Master shared folder that replicates to all other DFS roots by highlighting the shared folder and clicking the Set Master Button.
- Click OK.
DFS replicates files every 15 minutes on NTFS partitions; you must manually replicate Fat32 partitions.
This article has explained the basics of configuring a DFS root, creating links, and configuring replication. DFS can simplify your job as net admin. You won’t have to worry about entering long UNC paths or creating a bunch of drive mappings by hand (or in logon scripts) for each computer and/or user. DFS is easy to set up and manage, and it provides you with one central location for all shared files on your network.
How do you think DFS can improve your network?
We look forward to getting your input and hearing about your experiences regarding this topic. Join the discussion below or send the editor an e-mail.