Solved

DFS servers out of sync

Posted on 2014-12-05
2
1,583 Views
Last Modified: 2014-12-15
We have two files servers, FS1 and FS2, running on two different boxes in the same server room (protection against a server failure). Both are running Server 2012R2, running DFS with deduplication and replication.

We had a power failure and FS1 didn't acknowledge the UPS power down command and subsequently shut down hard. FS1 came back up dirty, needing to run the wmic command. After several hours of running, it seemed to just stop. This got alot of files back in sync, but still most of it is not. At this point we've changed DFS so that clients don't connect to FS1, at least this way files people create can be found again when they logon. My question is what can we do to restore synchronization? I see some things about robocopy but I wasn't very comfortable implementing it in our situation. While we have backups, a full restore because something went wrong would be best avoided, as due to the amount of data it would take a very long time to restore. I wouldn't mind even decommissioning FS1 as it's outlived it's usefulness (an old HP G5 upgraded to server 2012R2). What can I do to sync it though seeing as I know files have been modified and are in use on FS2. I want the files that were "abandoned" on FS1 back over on FS2.

Thank you.
0
Comment
Question by:Casey Weaver
2 Comments
 
LVL 36

Accepted Solution

by:
Mahesh earned 500 total points
ID: 40484808
If you are running 2012 R2 servers, your auto recovery function should work
However if database got in Journal wrap error, replication will not resume, you will find event id 2213 in dfsr event logs
In Windows Server 2012 R2, DFSR role installation sets the following registry value by default (and if not set to a value, the service treats it as set):
Key: HKey_Local_Machine\System\CurrentControlSet\Services\DFSR\Parameters
Value [DWORD]: StopReplicationOnAutoRecovery
Data: 0

Above registry should allow dfs to recover if got shutdown dirty unless you set that value to 1 or if database got in journal wrap error

In that case you can use method mentioned in below article, check below section in article
Recovering DFS-R Replication from a Wrapped Journal State
http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=229
0
 
LVL 7

Author Closing Comment

by:Casey Weaver
ID: 40500246
Thank you for the solution, my servers finally got synced! This regedit for some reason worked where the wmic command did not.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question