[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2284
  • Last Modified:

DFS servers out of sync

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
Casey Weaver
Asked:
Casey Weaver
1 Solution
 
MaheshArchitectCommented:
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
 
Casey WeaverNetwork EngineerAuthor Commented:
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now