Implementing home folders on a server cluster (256926)



The information in this article applies to:

  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows NT Server, Enterprise Edition 4.0

This article was previously published under Q256926

SUMMARY

This article describes the basic procedure for sharing home folders on a shared disk on a cluster.

MORE INFORMATION

In Cluster Administrator, it is not the optimal configuration to create a cluster file share resource for every user's home folder. Not only does this require a lot of administrative work, but it also uses memory and CPU resources that it does not need to. The Cluster service uses memory and CPU cycles for every resource you have defined in Cluster Administrator. The more resources you have, the more overhead that the Cluster service generates. Assuming that there are 750 users' home folders on a cluster, a file share resource would be created for every user. Failover times from one node to another increase, as well as viewing resources in Cluster Administrator. The worst-case scenario is that a very busy cluster may drop connections because of the amount of time being used to manage 750 cluster resources.

The optimal way to use a server cluster to house home folders is to use the "Share sub-directories" or dynamic shares feature. The basic principal behind dynamic file shares is that a single cluster file share resource is created, yet an independent file share is created for every user folder. For example:

Z:\
Z:\Users
Z:\Users\Steve
Z:\Users\Shon
Z:\Users\Elden
Z:\Users\Dewitt
Z:\Users\Emily

Drive Z is the shared disk. The Z:\Users folder is the root share that contains all user home folders.

Improper configuration:
  1. Create a cluster file share resource for each user. In this case, a cluster resource is defined five times for each user under the Z:\Users folder.
  2. Set NTFS Permissions on the Z:\Users\Username folder to allow only the intended user access the folder.
  3. Every time a user is created, go to the Z:\Users folder and create the proper folder with permissions. Then use Cluster Administrator to create a file share resource.
Proper configuration:
  1. Create a single cluster file share resource to the Z:\Users root folder.
  2. Give the Everyone group Full Control share-level permissions in Cluster Administrator.
  3. Using the Parameters tab for the root cluster file share resource, click to select the Share all sub-directories check box.
  4. Set NTFS permissions on the Z:\Users\Username folder to allow the intended user to access the folder. The Cluster Service account needs to have at least Read permissions. At this point, all folders under Z:\users are automatically shared with the same network permissions as the root share. To add a user when you are using dynamic shares, create a folder under Z:\Users and assign proper NTFS permissions (see step 4). The Cluster service automatically shares the folder.

    NOTE: When you perform the following step, you do not hide the directories under a share, only the shares themselves.

  5. To make the user shares hidden, use the Parameters Tab for the root cluster file share resource, and then click to select the Hide subdirectory shares check box. This action appends "$" to the end of the shares located under Z:\Users\<Username>.
The "Share sub-directories" feature was added to the Microsoft Windows NT 4.0, Enterprise Edition, Cluster service with Service Pack 4, and enhanced with Service Pack 5. Apply Service Pack 5 if you plan to implement dynamic file shares. Windows 2000 Advanced Server includes this feature.

Related Articles

186496 Securing a common folder

194831 SP4 Cluster shares must be reset to recognize added subdirectories

224967 How to create file shares on a cluster

254219 Security considerations when implementing clustered file shares

257389 Microsoft Cluster Server may not share folders automatically


Modification Type:MinorLast Reviewed:2/2/2006
Keywords:kbClustering kbenv kbinfo w2000mscs KB256926