Thủ thuật phần mềm

Step by Step : Deploy DFS in Windows Server 2012 R2

Thủ thuật phần mềm | Đăng lúc: Đang cập nhật - 491 Lượt xem

Today, let’s go through a step by step on how to deploy Distributed File System (DFS) in Wndows Server 2012 R2, but before we start, you should know what is DFS all about.

What Is DFS?

Normally for domain users, to access a file share, they might use Universal Naming Convention (UNC) name to access the shared folder content.

Many large company have 100 of file servers that are dispersed geographically throughout an organization.

This is very challenging for users who are trying to find and access files efficiently.

So by using a namespace, DFS can simplify the UNC folder structure. In addition, DFS can replicate the virtual namespace and the shared folders to multiple servers within the organization. This can ensure that the shares are located as close as possible to users, thereby providing an additional benefit of fault tolerance for the network shares.

Orait, that’s a just a bit of DFS introduction, for more information, please do refer to, or for those who interested to “feel” the hands-on on the DFS, please do join my Server 2012 training, please refer to my website for more information :

So, enough said, lets get started with our DFS deployment.

** as usual, for this DFS demo, I’m using 3 server 2012 (DC01, SVR01, COMSYS-RODC01) and Window Client (Surface01).


** I will install DFS into SVR01 and COMSYS-RODC01 Server

1 – Always be aware that to deploy DFS you need 2 Servers so that the Folder will replicate each other, so I will install DFS into SVR01 and COMSYS-RODC01 server, you can install DFS simultaneously.

To install DFS in Svr01 server, open Server Manager, on the Dashboard click Add Roles and Features


2 – In the Before you begin box, click Next


3 – On the Select installation type box, click Next to proceed (make sure Role-based or feature-based installation is selected)…


4 – On the Select destination server box, click Next to proceed…


5 – On the Select server roles page, expand File and Storage Services, expand File and iSCSI Services, and then select the DFS Namespaces check box, in the Add Roles and Features pop-up box, click Add Features…


6 – Next, make sure you select the DFS Replication check box, and then only click next to proceed…


7 – Next, on the Select features box, click Next


8 – On the Confirm installation selections box, click Install


9 – Wait for few minutes for the installation to complete and when the installation completes, click close…



** As I mentioned previously, you need to install DFS in another server also which is in my demo is a COMSYS-RODC01 server…

** Once you confirm both of the Server has been installed with DFS, please proceed with DFS namespace configuration.

10 – 1st, open DFS Management from Server Manager…


11 – Next, on the DFS console, right-click Namespaces, and then click New Namespace (A namespace is a virtual view of shared folders in your server)…


12 – In the New Namespace Wizard, on the Namespace Server page, under Server, type svr01, and then click Next…


13 – Next, on the Namespace Name and Settings box, under Name, type MarketingDocs, and then click Edit Settings…


14 – In the Edit Settings box, under Local Path of shared folder: type C:DFSRootsMarketingDocs and select Administrator have full access; other users have read and write permissions, then click OK…


15 – Next, on the Namespace Type box, verify that Domain-based namespace is selected. Take note that the namespace will be accessed by comsys.localMarketingDocs, ensure also that the Enable Windows Server 2008 mode check box is selected, and then click Next…


16 – On the Review Settings and Create Namespace page, click Create


17 – On the Confirmation box, verify that the Create namespace task is successful, and then click Close…


18 – Next, you need to enable access-based enumeration for the MarketingDocs namespace.

To do so, under Namespaces, right-click comsys.localMarketingDocs, and then click Properties…


19 – In the comsys.localMarketingDocs Properties box, click the Advanced tab, then  select the Enable access-based enumeration for this namespace check box, and then click OK…


20 – Next, let’s add the Brochures folder to the MarketingDocs namespace…

To do that, right-click comsys.localMarketingDocs , and then click New Folder


21 – In the New Folder box, under Name, type Brochures then click Add…


22 – In the Add Folder Target dialog box, type comsys-rodc01Brochures, and then click OK…


23 – In the Warning box, click Yes


24 – In the Create Share box, in the Local path of shared folder box, type C:MarketingDocsBrochures, and select Administrator have full access; other users have read and write permissions, then click OK…


25 – In the Warning box, click Yes to proceed…


26 – Click OK again to close the New Folder dialog box…


27 – Next, I want to add the OnlineAdvert folder to the MarketingDocs namespace, so to do that, right-click comsys.localMarketingDocs, and click New Folder, then In the New Folder box, under Name, type OnlineAdvert, and then, click Add…

Bình luận trên Facebook