Solved

DFS servers out of sync

Posted on 2014-12-05
2
1,671 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare 5, Add Host to Datastore 10 59
Recover options for a failed domain. 4 54
iCloud for Desktop 3 32
google retention policy 4 66
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

749 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