Distributed File System Replication (DFSR) is a piece of DFS that enables automatic file replication between multiple servers. In the first recipe of this chapter, we added the roles and created a DFS Namespace, so we have access to files and folders that are sitting within our DFS environment. So far, though, it is all sitting on a single file server. Follow along to enable the R part of DFSR, Replication. We will set up DFSR between the two file servers in our environment, FILE1 and FILE2, and test it to make sure that data is being synchronized between the two.
We already have a DFS server online, FILE1. It is hosting a DFS Namespace with a folder inside. A new file server, FILE2, is online and joined to the domain. This recipe expects that you have already installed the necessary roles for using this server with DFS. The procedure for installing these roles is outlined in our previous recipe, Enabling Distributed File System and creating a Namespace. Add the roles to the new FILE2 exactly the same way that you did for FILE1, and then continue on with this recipe to configure the replication.
To set up DFSR between the two file servers in our environment, follow these steps:
Installers
folder, which we configured inside our DFS Namespace:
Installers
folder to exist on the other member server, FILE2. Click on the Edit… button and configure it as follows:
\mydomainitinstallers
.C:Installers
folder on each file server. You should see that there are copies of your new files now located on both servers' hard drives!
In this recipe, we took our DFS environment and expanded its capabilities a little by adding in replication. DFSR is a great tool to use for distributing files around to your branch offices, while keeping the user experience and drive mappings similar no matter where everyone happens to be accessing the files from. Historically speaking, Microsoft's Distributed File System has a bad reputation, because of some issues in older Windows Server operating systems. Those days are gone, and if you haven't tried out this technology in your own environment yet, you've got no reason to wait!
3.17.187.119