[an error occurred while processing this directive]

 


Exploring 2000 - Construction kit
(March 1999)
Bob Walder explores the problem-solving world of Dfs
.


This article is based on NT 5.0, Beta 2.

Today’s networks began in the 80s as nothing more than a cost-effective means of sharing expensive file and printing resources. Disk storage was extremely expensive, and so a single file server with a 2 Gb hard disk made users feel as though they had plenty of space available for their files. As companies added to their networks, more and more file servers appeared, each with multiple disks, in order to grow the storage capacity and thereby cope with new application and data requirements.

The Universal Naming Convention


The problem was that users had to be aware of the physical location of their data files on the network (or network administrators had to set everything up so that the users didn’t have to know). Individual servers and shares were referenced by a notation known as Universal Naming Convention (UNC) which takes the form \\server_name\share_name\path\file_name. Although UNC can be used directly to refer to a particular share, it is more common to find long and complex UNC names mapped to single drive letters using Windows Explorer or the NET USE command. Thus, the directory \\SERVER1\PAYROLL\DATA might be mapped to drive X:. A user could then refer to this simply as X: and sub-directories of that share could be accessed like a normal drive – X:\LEVEL1\LEVEL2\……\FILE_NAME, for example. As networks continued to grow in size and as organisations began to use existing storage, both internally and externally, for purposes such as intranets, it became apparent that the idea of mapping a single drive letter to individual shares did not scale well. Despite users’ ability to directly reference UNC naming, the true nature of the problem is that end users can become overwhelmed by the increasing number of places they have to access in order to retrieve data.

Disparate data stores


You can sympathise with the poor user that has access to several different applications, each with its own data store located on different disks and different servers, sometimes spread across the globe. Sympathy is also due to the poor administrator, as he or she is the one who has to ensure that all of these data stores are backed up securely. A new application could mean yet another share on yet another server, and the administrator must include this in the daily backup regime. Microsoft’s Distributed File System (Dfs) solves all of these problems by permitting the linking of servers and shares into a simpler, more meaningful name space. Implemented as a server component that is an integral part of Windows 2000, with a version available for NT4 as well, Dfs permits shares to be hierarchically connected to other Windows NT shares. Since Dfs maps the physical storage into a logical representation, the net benefit (no pun intended) is that the physical location of data becomes transparent to users and applications.

The main idea behind Dfs


The main idea behind Dfs is a simple one in theory – you create a ‘share of shares’. You start out by creating a Dfs ‘root’ which looks just like any other share on your server. However, you can then start to ‘publish’ other shares within that Dfs name space, making it easy to build a single, hierarchical view of multiple file servers and file server shares on your network. Instead of seeing a physical network of dozens of file servers, each with a separate directory structure, users will now see a few logical directories that include all of the important file servers and file server shares. Each share appears in the most logical place in the directory, no matter what server it is actually on. This makes life so much simpler for the end user. Dfs gives the user a single directory that can span a vast number of file servers and file shares, making it easy to ‘browse’ the network to find the data and files needed. Server-level Dfs directories can be combined into a hierarchical Dfs directory, constrained only by the limit of 260 characters per file path. Browsing the Dfs directory is easy because Dfs sub-directories can be assigned logical, descriptive names, no matter what the name of the actual file server/file share is.

Searching the Dfs


Dfs makes it easy to find data and files because the file search tools included in Windows 95 and Windows NT Workstation, and even your word processor, can now search for a specific file that can be located on any server in the Dfs directory tree. For instance, the user will now browse the Dfs root and see the ACCOUNTS share, within which will be the PAYROLL, PAYABLE and RECEIVABLE shares. This logical grouping of data hides from the user the fact that each of these shares resides on a completely different server. Hence, Dfs makes it easier for you to find and manage data on your network, since it unites files on different machines into a single name space.

Supporting Dfs


Dfs support is already included in Windows NT Workstation 4.0, and support for Windows 95 is included in the Dfs release. With Windows 95 and Windows NT Workstation, Dfs makes large, distributed networks easier to use, since instead of having to deal with multiple persistent network connections to separate physical file servers, each user only needs one or more persistent network connections to their Dfs trees. Additionally, with the Windows NT Client for Dfs, you can NET USE below the \\server\Share level. Another advantage of Dfs is that it is not limited to a single file protocol. Instead, it can support the mapping of servers, shares, and files regardless of the file client being used, provided the client supports the native server and share to begin with. Dfs makes it easy for network managers to replace servers. Each node in the Dfs directory tree is assigned a logical name that points to a file share, and the Dfs node can be switched at any time to point to a new server while the old server is taken off line. Users will never know that they are using a different server, since the Dfs directory tree does not change.

Enhanced data availability


Dfs can also provide enhanced data availability by pointing to multiple volumes which can be alternates of each other - if one is unavailable, Dfs will hand over to the alternate one. This also provides a performance gain because when all replicas are up and running Dfs can distribute client accesses to Dfs volumes evenly across multiple alternate network shares. If 300 users require access to one volume, Dfs can split the users among copies on two or more servers to balance the load.

An advantage for the administrator is that Dfs makes file maintenance tasks such as enterprise backups easy. Since a single Dfs tree can be built to cover a large number of servers, the backup software can back up this single ‘tree’, no matter how many servers/shares are part of the Dfs. Dfs can also make backups of data on end-user systems easy. Windows 95 and Windows NT Workstation systems can participate in a server-based Dfs volume appearing as ‘leaves’ in a Dfs tree. This means a Dfs tree can include all the directories on users’ desktops that network managers want to include in the corporate backup regime.

The application level


At the application level, Dfs simplifies deployment of Internet and intranet solutions. A Web master can now build a logical Dfs directory that includes the default Web pages of each department’s Web server as a sub-directory of the main Internet or intranet Web. This allows each department, or group, to retain control over their unique intranet content and applications, while the user only sees a single, unified intranet or Internet site.

Although Dfs will work on NT4, it is designed to integrate closely with Active Directory under Windows 2000. Dfs can use Active Directory to store administrative knowledge of Dfs as well as to provide root level fault tolerance. Directory services can also be used to provide a site topology for providing intelligent replica selection, as well as to keep all participating machines in any Dfs root synchronised in their perception of the Dfs structure. With Dfs, Windows 2000 will move a step closer to the ideal of providing true ‘network storage’ rather than simply a collection of disparate and unconnected discrete data stores spread around the corporate WAN.

.