Windows Server 2019: Install and configure DFS Replication (Part 2)

Windows Server 2019: Install and configure DFS Replication (Part 2)

/* ====================================
Metadata:

// Windows Server 2019 Domain Controller
Host Name: Win2K19-DC01
Role: AD DS, DNS
IP Address: 192.168.0.201
RAM: 4GB
Domain: VICTORINFOSOL.LOCAL

// Windows Server 2019 DFS Server 01 (Primary)

Host Name: Win2K19-DFS01
Role: DFS
IP Address: 192.168.0.202
RAM: 8GB
Domain: VICTORINFOSOL.LOCAL

// Windows Server 2019 DFS Server 02

Host Name: Win2K19-DFS02
Role: DFS
IP Address: 192.168.0.203
RAM: 8GB
Domain: VICTORINFOSOL.LOCAL

// Windows 10 PC

Host Name: Win10-CL01
IP Address: 192.168.0.151
RAM: 4GB

==================================== */

1) [Win2K19-DFS02] > Server Manager > Local Server - Ethernet0 > Properties - IPv4:-

IP Address: 192.168.0.203
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.1

Preferred DNS Server: 192.168.0.201
Alternate DNS Server: 192.168.0.1    // Router Gateway

2) [Win2K19-DFS02] > Server Manager > Local Server - Computer Name:- Change - Computer Name: Win2K19-DFS02 | Member of Domain: VICTORINFOSOL.LOCAL > Windows Security - Computer Name/Domain Changes - Administrator | ******** // Password > OK > Reboot

// Move Win2K19-DFS01 to VICTORINFOSOL.LOCAL-INDIA-Servers (for easier management)

3) [Win2K19-DC01] > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - Computers > Move:- Name: Win2K19-DFS02 | Type: Computer | To:- [Win2K19-DC01] > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - INDIA - Servers > Name: Win2K19-DFS02 | Type: Computer > Active Directory Users and Computers - VICTORINFOSOL.LOCAL - INDIA - Servers -
Name:                      | Type:
Win2K19-DFS01      Computer
Win2K19-DFS02      Computer

4)  [Win2K19-DFS02] > Login using DFSAdmin account/password (// under Other User instead of Adminstrator) > >  This PC - DFS (D:) // contains an empty Folder named:- Public >

4) i) [Win2K19-DFS02] > Server Manager > Manage > Add Roles and Features > Server Roles - (x) File and Storage Services - (x) File and iSCSI Services - (x) File Server | (x) DFS Namespaces (Add Features) | (x) DFS Replication // this is only needed if you intend to do DFS replication > Install > Close >

5) [Win2K19-DFS01]> Server Manager > Tools > DFS Management > DFS Management - Replication > New Replication Group > Replication Group Type > (x) Multipurpose replication group > Name of replication group: Public | Optional description of replication group: this is replication group for Public share folder | Domain: VICTORINFOSOL.LOCAL > Next > Replication group members > Add > Select Computers - select this object type: Computers | From this location: VICTORINFOSOL.LOCAL | Enter the object names to select: WIN2K19-DFS01 WIN2k19-DFS02 > Topology Selection: (x) Full mesh > Replication Group Schedule and Bandwidth - (x) Replicate continuously using the specified bandwidth - Bandwidth: Full > Primary member: WIN2K19-DFS01 // WIN2K19-DFS01 has all the data > Folders to replicate:- Add - Local Path of folder to replicate: D:\Public > OK > Next > Local Path of Public on Other Members - Edit > General - Member: WIN2K19-DFS02 | Membership Status: (x) Enabled | Local Path of folder: D:\Public > Create >

6) [Win2K19-DFS01]> Server Manager > Tools > DFS Management > DFS Management - Replication - Public >
Local Path  | Membership Status | Member               | Replicated Folder   | Staging Quota
D:\Public      Enabled                    Win2K19-DFS01   Public                       4.00 GB
D:\Public      Enabled                    Win2K19-DFS02   Public                       4.00 GB

7) [Win2K19-DFS01]> Server Manager > Tools > DFS Management > DFS Management - Namespaces - (right-click) \\VICTORINFOSOL.LOCAL\INDIA-HO > Add Namespace Server >  Namespace  \\VICTORINFOSOL.LOCAL\INDIA-HO -
Namespace server: WIN2K19-DFS02 |
Path to shared folder: \\WIN2K19-DFS02\INDIA-HO

7) i)  [Win2K19-DFS01]> Server Manager > Tools > DFS Management > DFS Management - Namespaces - (right-click) \\VICTORINFOSOL.LOCAL\INDIA-HO > Namespace Servers:-

Referral Status: |  Site:       |  Path:
Enabled                INDIA      \\WIN2K19-DFS01.VICTORINFOSOL.LOCAL\INDIA-HO
Enabled                INDIA      \\WIN2K19-DFS02.VICTORINFOSOL.LOCAL\INDIA-HO










Comments