Here we'll look at how to install and configure a complete DFS architecture. I'll keep it simple, as I'll only be using two DFS servers, but more can be added to improve redundancy or if you have remote sites.
The aim here is to provide high availability for network shares.
In the event of failure of one of the two servers, the second will seamlessly take over.
Note: Failover clustering (not covered here) can also be used for high availability file sharing. DFS is more suitable when servers are located at several remote sites, as it better handles 'slow' connections.
We need to install the DFS roles on both servers, either via the GUI or PowerShell.
PS C:\Users\administrator.STD> Install-WindowsFeature "FS-DFS-Namespace","FS-DFS-Replication" -IncludeManagementTools
We now need to add our SRV02 as a namespace server.
The reason is that, by default, we only have read access. Let's see how to change this.
Do the same for the SRV02 entrie.
This is quite normal, as we now need to configure DFS replication so that we have the same files on both our servers. We'll look at this in the next chapter.
As you can see from this diagram, DFS Replication will synchronize our two Common local folders on our servers.
Contact :