This article describes how to configure Distributed File System (DFS) on a Windows server cluster to maintain a single namespace for file shares. This configuration makes it easier for users and administrators to remember where files are located, maintain highly available file servers, and host file shares across multiple nodes for scalability.
The scenario in this section describes how to create a clustered file server for four different groups while maintaining a single connection point.
This scenario describes how to maintain a single namespace for users home directories yet distribute the load between four cluster nodes for the EAST, WEST, NORTH, SOUTH sites. To do so, you can create a four-node Windows cluster that is comprised of six cluster groups:
Cluster Group
DFS Root Group
EAST FileShare Group
WEST FileShare Group
NORTH FileShare Group
SOUTH FileShare Group
The network name resource that is in the DFS root group is the resource that is used by all users (or login scripts) to connect. When users connect to this virtual server, they are presented with EAST, WEST, NORTH, and SOUTH folders. The different folders are hosted on one of the four nodes. This scenario requires a total of six disks on the shared bus. This configuration allows the optimal situation; it includes a disk in the cluster group and in the DFS root group, plus one for each of the site groups.
The following procedure describes how to create this distributed file server. This procedure assumes that the Cluster service is installed on all nodes, and that there are five default groups (the cluster group, Group 0, Group 1, Group 2, Group 3). Each group has a disk starting with the cluster group, with "Disk Q" going up to "Disk V" in Group 3.
You now have four independent virtual servers that can be failed back and forth between the four nodes. Next, you must create the DFS root that is used for users to connect to or login scripts to map drives to:
Create a folder on Disk R named "USERSHARE".
In Cluster Administrator, click Configure Application on the File menu, and then click Next.
Click Create a new virtual server, and then click Next.
Leave the selection in the Create a new resource group box, and then click Next.
In the Name box, type DFS Root Group, and then click Next.
Type a network name and IP address for this virtual server, such as NORTHAMERICA, and then click Next.
NOTE: This virtual server is the virtual server that all users connect to regardless of their location.
Click Next, verify that Yes, create a cluster resource for my application now is selected, and then click Next.
In the Resource Type box, click File Share, and then click Next.
In the Name box, type DFS Root FileShare, and then click Advanced Properties.
Click the Dependencies tab, and then click Modify.
Add DFS Root Group Name and Disk R as dependencies, and then click OK twice.
Click Next.
In the Share name box, type USERSHARE.
In the Path box, type R:\USERSHARE.
NOTE: You can use the local disk in each node because there is no data being copied locally. DFS requires a share to be set up but does not copy any real data to it. A sixth shared disk could be used and would be preferable.
Click Advanced, and then click DFS root.
Click OK, click Next, and then click Finish.
Right-click DFS Root Group, and then click Bring Online.
Start the Distributed File System program. \\NORTHAMERICA\usershare is listed under the root.
Right-click \\NORTHAMERICA\usershare, and then click New Link.
Type EASTUSERS in the Link name box, in the Path to target (shared folder), type the path to the EASTUSERS virtual server and share name (\\EASTFILESERVER\EASTUSERS$), and then click OK.
Create links to the WEST, NORTH, and SOUTH regions by following the preceding two steps and pointing to the respected virtual servers and share names.
Test the DFS share by connecting to \\NORTHAMERICA\USERSHARE. There are EAST, WEST, NORTH, and SOUTH shares to be connected as well.
Clients running Windows 2000 and later versions of Windows can map drives beyond the first share level. In the preceding example, the logon scripts could effectively map a drive letter to the following location:
NET USE Z: \\NORTHAMERICA\USERSHARE\EAST\USERNAME
You can place the EAST, WEST, NORTH, SOUTH file share groups on the different cluster nodes for manual load balancing.
As with the Windows 2000 cluster, DFS domain roots are not supported as cluster resources. DFS domain roots are published in Active Directory, which implies some fault tolerance. See "Help and Support" for information about creating DFS domain roots.
For additional information about how to configure Windows 2000 DFS on a cluster, click the article number below
to view the article in the Microsoft Knowledge Base:
220819
(http://support.microsoft.com/kb/220819/EN-US/
)
How to Configure DFS Root on a Windows 2000 Server Cluster