Friday, June 10, 2011

Creating a DFS Folder and Replication Group

Creating a DFS folder is similar to creating the DFS root. A folder can be created to target existing shares or folders beneath shares, or a new share can be created on the desired server or servers. As recommended previously, pre-create the file share on an NTFS folder and properly configure the share and NTFS permissions for each folder target that will be added to the folder.

When a new folder is created with multiple folder targets, a replication group can be created at the same time. To create a folder within an existing namespace, perform the following steps:

1. Log on to the Windows Server 2008 R2 system with an account with local server administrator privileges.

2. Pre-create and set NTFS permissions on the servers and shares that will host the DFS namespace folder.

3. Click Start, click All Programs, click Administrative Tools, and select DFS Management.

4. Select the Namespaces node, and then double-click the Namespaces node to expose the existing namespaces.

5. If the desired namespace does not appear, in the Actions pane, click on the Add Namespaces to Display link and follow the steps to search for and add an existing namespace to the console view.

6. Select the desired existing namespace, and in the Actions pane, click on the New Folder link.

7. When the New Folder window opens, type in the name of the folder and click the Add button to locate the folder targets.

8. After all the folder target servers have been added to the New Folder window, click OK to continue.

9. When a new folder is created and multiple targets are specified, a Replication pop-up window opens, asking if a replication group should be created. Click Yes to create a new replication group for the folder targets.

10. When the Replication Group and Replicate Folder Name window opens, review the name of the proposed replication group name and the replicated folder name, and click Next to continue. The prepopulated names will match the namespace and folder names.

11. The Replication Eligibility page will display whether or not each of the folder targets are capable of DFS Replication. If all targets are eligible, click Next to continue.

12. On the Primary Member page, click the Primary Member drop-down list arrow and select the folder target server that will be used to populate the remaining member folder targets. The data that exists in the folder of the primary target member will be replicated to each of the other targets. After selecting the desired primary server, click Next to continue.

13. On the Topology Selection page, select the desired replication topology. For this example, select the Hub and Spoke option button, and click Next to continue.

14. On the Hub Members page, all servers will initially be listed in the Spoke Member section. Double-click the desired servers to move them to the Hub Member section, if they will be used as a hub server. Hub servers will replicate with all other servers and spoke servers will only replicate with the hub servers defined on this page. Once all the necessary hub servers are in the Hub Member section, click Next to continue.

15. On the Hub and Spoke Connections page, each of the spoke servers will be listed with their required hub member and an optional hub member. Optional hub members will only be populated if multiple servers are selected as hub members in the previous step. Even though the hub servers are listed as required and optional, the spoke servers will replicate with both and a connection between each hub server and spoke system will be created. Also, hub servers will replicate with one another as well.

16. On the Replication Group Schedule and Bandwidth page, select the desired bandwidth limitation if desired or set the hours replication to allowed, and click Next to continue.

17. On the Review Settings and Create Replication Group page, review the selections and if everything looks correct, click Create.

18. On the Confirmation page, if the replication group creation tasks were all completed successfully, click Close. Otherwise, select the Errors tab and review and repair the errors, and rerun the Replication Group Creation Wizard.

19. Once the window is closed, back in the DFS Management console, double-click on the Replication node to reveal the new replication group and select it.

20. In the tasks pane, with the new replication group selected in the tree pane, select the Connections tab to review the connections created from the previous steps.

Source of Information : Sams - Windows Server 2008 R2 Unleashed (2010)

No comments: