Post

Distributed File System (DFS)


Windows DFS (Distributed File System) is a Microsoft technology that allows us to organize and access files from multiple servers as if they were in a single shared folder. It provides fault tolerance, load balancing, and easier data management in a networked environment.



Topology

Here’s this deployment topology, here we will configure DFS on top of Windows Failover Cluster, where ultimately we’re able to access two different shared folder paths using one namespace

x



Configuring Windows Failover Cluster

First install DFS and Failover Clustering on the Windows Server Manager on both servers

x

x


After that, on one of the server open Failover Cluster Manager, select Validate Configuration, and add the 2 servers

x


After the process finishes, check on “Create the cluster now … “ and select finish

x


Now create the cluster name of “helenacluster2” and give each of them an IP Address

x


Review the summary and choose finish

x


Now the failover cluster is up, and the active node is on Win1

x


And if we ping the helenacluster2, we should get a return IP Address of the currently active node

x



Configuring DFS Namespace

Open DFS Management, select create New Namespace, select the primary server on which the data will be initially synced from

x


Give the namespace name

x


On Namespace Type, select Domain-based to enable DFS configuration on multiple servers in an AD Domain

x


Hit next until it finishes

x



Configuring DFS Replication

On Replication, select Create new Replication Group and select Multipurpose

x


Give the replication group a name

x


Next add all the servers involved in the replication

x


On topology, select Full Mesh

x


Then configure the scheduling and bandwidth usage for the replication

x


Select the primary member where the inital files will be synced from

x


Select the path where replication takes place

x


Next add the the other member to join the replication and select the path

x


Review and hit create

x


After a minute it should finish with success

x


Now on the created replication group, open the Replicated Folders tab and select Share and Publish Namespace

x


Give it the namespace path on which this replicated folder will be accessed from

x


Review and hit Share

x


Then it should finish with a success

x


Now if we open both path on Win1 and Win2, all the contents inisde the set folder will be replicated

x


And those folders can also be accessed using the namespace which will automatically select the active server based on the availability, but for now the automatic selection is not working yet because the namespace currently only has one server

x


To add another server as the namespace destination, on the namespace select the Namespace Servers tab, add Namespace server

x


Add the Win1 and its folder path

x


And now we have 2 servers

x


Finally the namespace is now accessible pointing to folder path on Win1 or Win2

x


This post is licensed under CC BY 4.0 by the author.