DFS - eamonstackpole/my-tech-journal GitHub Wiki

Overview

  • In this lab we learned how to set up Share Folders, Namespaces, and Namespace Folders.

Setting up Server Core

Sconfig & Joining AD

  • Use the sconfig command to configure the network and computer settings

Network Configuration

  • Enter 8 for the Network Settings
  • Select the interface listed (it should be 1)
  • Configure similiar to below (MAKE SURE DNS IS CORRECT BEFORE GOING FORWARD)

image

  • Return to the Main Menu using the 4th option

Joining AD

  • Enter 1 for the Domain/Workgroup
  • Enter D for Domain
  • Enter the name of the domain (eamon.local)
  • Enter the administrator account to authorize its entry (eamon\eamon.stackpole-adm)
  • Enter the password, then when prompted Change the device name to DFS01-eamon
  • Then restart the machine
  • If you configured it correctly the sconfig page should look like this:

image

Server Manager

Roles & Features

  • MGMT
    • Roles: DFS Namespace & DFS Replication
    • Features: DFS Management Tools (Role Adminstration Tools\File Services Tools)
  • DFS01 & DFS02
    • Roles: File Server, Storage Services, DFS Replication

Computer Management & Share Creation

  • To enable Computer Management on the Core servers, run the powershell command Enable-NetFirewallRule -DisplayGroup "Remote Service Management" on both DFS1 & DFS2
  • Then use Computer Management and Create a new Share Folder
    • Path is C:\dfs#, the name is dfs#, and give admins full access and others are read only
  • This is what the shared folders should look like when completed:

image

DFS Management & Namespace Creation

  • Right click on MGMT and open DFS Management, then right click on DFS Management and select "New Namespace"
  • Choose MGMT as the namespace server
  • Name it "dfsshare" with the path C:\DFSRoots\dfsshare
  • Go to Edit Settings to Give all users read and write permissions
  • Once Completed it should look like this:

image

Namespace Folder Creation

  • Select "New Folder", name it "SYS265", and then add the paths for the two share folders made for DFS1 and DFS2
  • Select Yes for creating a replication group for the folder targets
  • A Replication Group wizard will appear, and make sure that the names and target folders are in the configurations
  • Make the Primary Member of the group DFS1 (Go to Notes to learn more about Primary members)
  • Make it a Full Mesh topology, then complete its creation
  • If done correctly you will see this:

image

Notes

  • DFS Replication
    • Primary Member

Sources