Microsoft KB Archive/841171

= How to configure client-side caching on a Windows Server 2003 server cluster =

Article ID: 841171

Article Last Modified on 2/5/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

-



SUMMARY
This article describes how to configure client-side caching for a File Share resource on a Microsoft Windows Server 2003 server cluster. You can configure client-side caching for a File Share resource by using Cluster Administrator (CluAdmin.exe) or by using the Cluster.exe command-line program.



MORE INFORMATION
Windows Server 2003 server clusters support client-side caching for clustered File Share resources. The CSCCache property controls client-side caching for file shares on a server cluster. By using client-side caching, network users can access files on file shares even when the client computer is disconnected from the network. This behavior occurs because the files are cached on the client computer.

Configure client-side caching by using Cluster Administrator (CluAdmin.exe)
To configure client-side caching for a File Share resource by using Cluster Administrator:
 * 1) Start Cluster Administrator.
 * 2) In the left pane, click Resources.
 * 3) Right-click a File Share resource, and then click Properties.
 * 4) Click the Parameters tab, and then click Caching.
 * 5) Click to select the Allow caching of files in this shared folder check box.
 * 6) Under Setting, click one of the following client-side caching settings, depending on your situation, and then click OK:
 * 7) * Manual caching of documents
 * 8) * Automatic caching of documents
 * 9) * Automatic caching of programs and documents

Configure client-side caching by using the Cluster.exe command-line program
To use the Cluster.exe command-line program to configure client-side caching for a File Share resource, run the Cluster.exe command with the CscCache private property. Specify one of the following values for the CscCache private property to set the client-side caching setting that you want:
 * 0: If you set CscCache to 0, the changes in only those files that are specifically identified on the file share are reconciled between the client and the server cluster.
 * 16: if you set CscCache to 16, the changes in all the files that are opened on the client are reconciled between the client and the server cluster.
 * 32: If you set CscCache to 32, client-side caching is disabled for the files that are opened, but they are not modified.
 * 48: If you set CscCache to 48, client-side caching is disabled for all the files that are on the file share.

For example, to automatically reconcile the changes for all the files on a file share resource that is named UserShare, type the following line at the command prompt, and then press ENTER:

cluster.exe resource &quot;usershare&quot; /priv csccache=16

For more information about the Cluster.exe command-line program, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-gb/library/aa369101.aspx

