Configure a Distributed File System (DFS) environment in Windows Server 2003
Windows 2000 introduced Distributed File System (DFS), which allows you to consolidate file shares so users can access them from a single point on the network. Windows Server 2003 improved the technology to include WAN replication, allowing DFS points to exist across WAN links. In this tip, I will explain how DFS works and walk you through the steps of setting it up and configuring it in Windows Server 2003.
In a DFS environment, you can consolidate shared folders and files that may exist on multiple servers to appear as though they all live in the same location. For example, on the file server in the corporate office in Chicago, each of the departments has its own share. The field office in Denver has a smaller file server for its local employees. Using DFS, the files in the Denver office appear to the Chicago users as though they live on the Chicago file server.
Follow these steps to configure a DFS environment:
- Configure your server to have the file server role. Open the Start menu and choose Administrative Tools.
- Select Configure Your Server Wizard.
- In the Roles wizard, select the file server role and click Next. (You may need to supply the Windows Server 2003 CD to complete this setup.)
- After the setup completes, click Finish.
Using DFS components does not depend on the file server role. If you do not wish to configure the file server role, you can install the DFS components by following these steps:
- Go to Start | Control Panel and open Add/Remove Programs.
- Select Windows Components from the left navigation bar.
- Check the box next to the desired DFS component. If you are not using multiple sites with replication requirements, you can select the DFS component and click Details to uncheck the DFS replication component.
- Go to Start | All Programs | Administrative Tools.
- Select Distributed File System.
- In the left pane of the DFS snap-in, right-click the Distributed File System node and select New Root.
Creating a DFS root
DFS environments create a DFS root, which is the location where all items within DFS live. For example, if the Chicago office calls the DFS root on its local file server "Departments," the root of Departments would list the shares included in the DFS.
- The New Root Wizard will open to assist you in creating the DFS root. Click Next on the Welcome screen to begin.
- The next screen in the New Root Wizard will ask you if you want to create a Standalone Root or a Domain Root. Select the root type and then click Next.
A domain root uses Active Directory (AD) to store the DFS information; it also allows the DFS information to replicate with AD, which allows DFS roots and shares to stay synchronized across sites. A standalone root stores DFS information on the file server itself and will not replicate.
The type of root you create will determine what you provide in the next portion of the New Root Wizard. If you select Domain Root, you will need to specify the domain name of your AD environment, as well as any trusting domains. If you select Standalone, you will enter the name of the file server that will host the DFS root.
- Enter the name of the Active Directory Domain (for a domain root) or the Server Name (for a standalone root) and click Next.
(For the remainder of this tip, I will use a standalone root for DFS. The difference between root types has to do with AD replication and does not affect the general configuration of DFS.)
- After you specify your file server name for the DFS root host, enter the root name and click Next. (In our example, the root name is Departments.)
- On the next screen of the wizard, browse to a folder you wish to share as part of the DFS environment. Select the folder and click Next. You can add additional shares to the DFS root at any time after the initial configuration.
- Click Finish to complete the DFS New Root installation wizard.
If you click on the DFS root you created in the DFS console, you will not see any shares because you have not added them yet. The shared folder specified when creating a DFS root serves as a starting point for the DFS environment. To add shares to your DFS root, you will need to link the shares to the root. Follow these steps to add a link to the DFS root:
- Right-click the DFS Root object under the Distributed File System node in the DFS console and select New Link.
- The system will ask for the UNC path to the share, as well as a name for the link. The New DFS Link dialog box also allows you to specify an amount of time for a client to cache the reference to the link. This reduces network traffic by reducing the attempts to constantly look up the DFS link.
- Enter the name of your link. After you do, it will appear in the Preview text box on the New Link dialog box. This will show you the path to the new link.
- Click OK to create the link.
Now that you have added the DFS root and a link, you can begin using your DFS environment. You can link all of the department shares to the Departments root (regardless of the shares' actual location); reduce the amount of overhead needed to manage these shares; and gain access to all the links added through the DFS root no matter which server the share lives on.
Using DFS will allow administrators to point network drive maps to a single location for access to all of the shares linked within the root. Reducing the number of drive mappings and maintenance which can be associated with managing these mappings.
ليست هناك تعليقات:
إرسال تعليق