DFS Replication on a Windows Server 2012 R2 Failover Cluster

Preparing for the Lab 

Lab Scenario

Lab Scenario

The first Step is to create a V-Disk on the Storage Server for each Office

  1. Open Server Manager
  2. Add Roles and select iSCSI role and Finish
  3. Open iSCSI and Create V-Disks and Targets for each office and the Replication Group Servers and Finish
    Targets And V-Disks
  4. create one Target and add the 2 Nodes on it as an initiator
  5. Create the V-Disks for each Office
  6. On each node we connect to the V-Disks using iSCSI Initiator from server manager and Bring disk online. 

Now we have a 4 V-Disks connected to Servers

DFs1 and DFS2 Office1 connected to Office1.vhdx

DFS3 and DFS4 office2 connected to Office2.vhdx

RG1 and RG2 Replication office connected to 2 V-Disks for Replication and Failover Clustering

The Second Step is to Configure a Windows Failover Cluster between Nodes of  each office

  1. Open DFS1 and DFS2 Servers Server Manager
  2. From roles select failover cluster and finish
  3. Open Failover Cluster Manager Validate and Create a Failover Cluster between DFS1 and DFS2
  4. Create the Same steps of Failover between the Nodes of other Offices “Office 2  DFS3, DFS4 and Replication group Office RG1, RG2“.

The Third step is to configure the File Server Role on the Failover cluster on the First office and the second office

  1. Open failover cluster manager
  2. On Roles Configure a new role and select File Server Role FirstOfficeFS
  3. Create the same steps on the other offices which play as a file server ” Office 2 ” SecondOfficeFs

**When you configure File Server you have to create a shared Folder on the 2 offices which contains the Replicated data

Test 1 For Office1 and Test 2 for Office 2

DFS RG shared Folders

The Fourth Step is to Configure a DFS Replication between the 2 offices

  1. on the RG1 Server open DFS Management and Configure a DFS between the 2 offices using the Name of the Failover Cluster FirstOfficeFS and SecondOfficeFS

The Last Step is to Configure a Replication group for data collection

  1.  On RG1 Server open server manager-tools-DFS Management and open Replication
  2. Select New replication group and choose New Replication group for data collection
  3. Select the Branch Server and the Hub Server ” Office 1 and Office 2 “ we create a cluster between nodes so i’ts better to deal with the cluster name ” FirstOfficeFS and SecondOfficeFs ”  not the Servers name 
  4. In our lab i will add the Domain Controller AD as a third node in the Replication Group so now after add the AD we have a 3 way replication from and to the 3 Locations we have.
  5. the Replication will contains FirstOfficeFS, SecondOfficeFS, and the AD ServerReplication Group


Windows Server 2012 R2 Network Load Balancing NLB

You can configure Network Load Balancing to enhance the scalability and availability of server applications.

  1. Open Server Manager
  2. Add roles and features
  3. From features
  4. Network Load Balancing
  5. Open server manager from tools choose NLB Manager Screenshot (98)
  6. Click on Network load balane and choose New Cluster Screenshot (102)
  7. Type the  name of VM which play as and NLB and click Connect Screenshot (103)
  8. Priority it’s by default 1 and click NextScreenshot (104)
  9. Add IPv4 adress from the Network subnet and the subnet maskScreenshot (106)
  10. Chosse the Cluster operation mode in this case we choose Malticast and click Next , FinishScreenshot (108)Screenshot (109)
  11. Once thw NLB configured and the Status is Converged click on the NLB and choose Add Host To ClusterScreenshot (110)
  12. Type the name of the Second Node to add to the NLB Cluster and ConnectScreenshot (111)
  13. Add Host and click NextScreenshot (112)
  14. Configure the Port number and click FinishScreenshot (113)
  15. On the DC open DNS and create new recorde for NLB Cluster and Add Host Screenshot (114)
  16. Now the NLB configured let’s bing and Make sure that’s Working Screenshot (115)

History of Windows Server

• Windows NT 3.1 –Released on  August 1993

• Windows NT 3.5 –Released on  September 1994

• Windows NT 3.51 –Released on  June 1995

• Windows NT 4.0 –Released on July 29, 1996

• Windows 2000 –Released on February 17, 2000

• Windows Server 2003 –Released on April 24, 2003

• Windows Server 2003 R2 –Released on December 6, 2005

• Windows Server 2008 –Released on February 27, 2008

• Windows Server 2008 R2 –Released on September 14, 2009

• Windows Server 2012 –Released on September 4, 2012

• Windows Server 2012 R2 –Released on October 18, 2013