Redundant DFS Setup - SomethingGeneric/sparkle.local GitHub Wiki
Configuring DFS/DFS Management Roles and Features
Prerequisite: Configure at least 2 domain joined systems with Windows Server 2019 as well as a System with Windows Server Manager to more easily setup both DFS Servers.
On Mgmt01 use Server Manager to add/install the File Server, DFS Namespaces, and DFS Replication roles for both DFS01 and DFS02. This can be found under Server Roles > File and Storage Services > and File and iSCSI Services.
Figure 1: VV
On Mgmt01, use Server Manager again to add the following features to allow for the configuration and management of the DFS Servers:
- Open
Server Manager>Manage>Add Roles and Features> SelectMgmt01 - In the
Add Roles and Features Wizard: Go toFeatures> SelectRole Administration Tools> InstallFile Services Tools> Under File Services Tools, installDFS Management Tools.
Figure 2: VV
Configuring a New Domain DFS Namespace
After installing the necessary DFS roles and features, we can now use Mgmt01 to configure a new DFS namespace for Sparkle.local.
- To do this, open
Server Manager>Tools> and selectDFS Managementto open the DFS Management menu. - From here, we can select
Namespacesand click-onNew Namespace...to open theNew Namespace Wizard
Figure 3: VV
Within the New Namespace Wizard, we can now configure the necessary settings to create our new DFS share. Configure the settings as follows:
- Select a server to host the new namespace (ex. DFS01) > Enter a name for the new namespace share as shown in
Figure 4(ex. "sparkle-share") > Edit the share settings as shown inFigure 5> SelectDomain-based namespace> Lastly, click onCreateto create the new DFS Network Share (Figure 6shows the new namespace share was successfully created).
Figure 4: VV
Figure 5: VV
Figure 6: VV
Configuring DFS Replication
After creating our root DFS network share, we can now configure the redundancy of our DFS Servers by setting up DFS Replication on both our DFS1 and DFS2 servers.
- In
DFS Management, Right-clickReplicationand selectNew Replication Group…to open the DFS Replication Group wizard. - From here: Select
Multipurpose replication group> Enter a name for the new replication group (e.g “sparkle-group”) > Add servers to be members of the new replication group (“DFS01” + DFS02”) > Choose theFull meshreplication topology > Select thePrimary MemberServer (In this case, I choose dfs01 to be the primary member as it contains the root of the “sparkle-share” namespace share) > Specify the folders to be replicated between servers (again I specified the location of DFS01’s DFS share “C:\DFSRoots\sparkle-share”) - Next in
Local Path of share on Other Members, I configured the DFS share to sync its files locally onto DFS02 (As shown inFigures 7.1 + 7.2). - To do this, I double-clicked on DFS02 and set its Membership status to
Enabledand specified the local path of the dfs shared folder on the system > Following this, I clickedOK’ to save this setting and then proceeded toCreatethe new Replication Group for thesparkle-share` dfs folder.
Figures 7.1 + 7.2: VV
Figure 8: Screenshot of
DFS Managementbeing used to showsparkle-sharesuccessfully replicated on bothDFS01andDFS02.
Modify DFS Share settings:
Lastly, I decided to modify the DFS share settings for sparkle-share to allow necessary access permissions for user groups:
- To modify share permissions, navigate to
Server Manager>File and Storage Services>Sharesand right-click on the newsparkle-shareunderdfs01-shimmerand selectProperties. - In the
sparkle-shareproperties, navigate toPermissions>Customize permissions…and configure the necessary user group permissions necessary for your environment. - For this implementation, I decided to give the
Domain UsersgroupFull Controlshare permissions for thesparkle-shareAdditionally theDomain AdminsGroup was given Full Control NTFS Permissions while theDomain Userswere given the Modify Permission.
Figures 9.1 + 9.2: Screenshots of me configuring the Permissions and Sharing settings for the
sparkle-shareDFS Network share.
Additional DFS and Redundant DFS setup information can be found here --> Link