With Distributed File System you can create a single namespace that provides users access to all the shared folders in your organization. DFS namespace and use replication to copy files between multiple servers and provides a centralized directory structure for folders shared from multiple computers and is capable of automatically replicating files between folders for redundancy.
1. You create a shared folder named Backup on both Srv1 and Srv2
2. On srv1, in Server Manager, right-click Roles, and then choose Add Roles. The Add Roles Wizard appears.
3. On the Before You Begin page, click Next.
4. On the Server Roles page, select the File Services check box. Click Next.
5. On the File Services page, click Next.
6. On the Select Role Services page, select the role services File Server, Distributed File System check box and Click Next.
7. On DFS Namespace page, type the namespace name Backup and Click Next.
8. On the Namespace Two option available whether to create a domain-based namespace or a stand -alone namespace. Domain based namespace use Active directory domain name as their root, and stand alone namespace use the server as their root. Select Domain based namespace and Click Next.
9. On the Namespace Configuration page, click Next.
10. On the Confirmation page, click Install.
11. On the Results page, click Close.
12. Click Start, Administrative tool and click on DFS Management option.
13. In DFS Management, right-click the namespace, and then choose Add folder Target.
14. New Folder Target option, Click Browse.
15. On Browse for shared folders option, Click Browse, and then enter the name of the server with DFS role installed that you want host the replica.
16. Select Computer Option Type the Name of the server with the DFS role installed
17. Ensure that the server name is set to the target server.
18. New Folder Target option appear, click ok
19. You will be prompted to create a replication group, Click Yes.
20. The Progress Option appear.
21. In Replicate folder wizard option appear, Click Next.
22. In Replication Group minimum of two servers to a replication group.
23. From Replicate Folder Wizard option, Select Primary Member.
24. Select the type of replication topology that you want to use, Select Full-mesh topology and Click Next.
25. You have the option of configuring replication to occur continuously or according to a schedule and the Click Next.
26. Review Settings and create Replication group option appear, Click Create to continue.
27. After the New Replication Group Wizard complete, Click Close.
28. Click Ok button to acknowledge the replication delay.
Adding a Server to the DFS Namespace
29. In Server Manager, right-click NameSpaces \\trainingtech.net, and then choose Add Namespace Server.
30. The Add Namespace Server dialog box appear, click browse.
31. Select Computer Option Type the Name of the server SRV2 and Click Check Names to verify.
32. In the details pane, click the Namespace Servers tab. Note that both servers are listed
33. In DFS Management, select the DFS Management\Replication\trainingtech.net\Backup\data node. In the details pane, browse each of the four tabs to view more information about the replication group.