DFS Lab - Zacham17/my-tech-journal GitHub Wiki

Summary

In this lab, I added two file servers to the network and created a shared drive over the two of them that uses replication

Requirements

  • Mgmt01 VM
  • DFS01 VM joined to domain
  • DFS02 VM joined to domain

Creating shared folders

  • Add the file server role to DFS01 and DFS02
  • In computer management for each server, add a shared folder called dfsX with the path, C:\dfsX. Replace X with the appropriate number
    • Make sure the folder gives full access to domain admins and read-only access to all others
  • You can view the shared folders that you created with commands or through file explorer

Installing DFS

  • Using RSAT on MGMT01:
    • Install DFS Management Tools, DFS Namespace, and DFS replication on MGMT01
    • Install DFS Replication on DFS01 and DFS02

Creating a shared namespace

  • On MGMT01, open DFS Manager
  • Create a namespace called dfsshare and set the share permissions to allow all users read & write to a local path of C:\DFSRoots\dfshare for a domain-based namespace
  • Create a folder in the DFS namespace called SYS265, and make the folder targets the two shared folders you previously created
  • When prompted to create a replication group, select yes.
  • Make sure that the df1 and dfs2 folder shares are selected
  • Set DFS01 as the primary member
  • Select Full mesh

Side Notes

  • If dfs1 or dfs2 goes down individually, the files in the share will still be there due to the replication.