Solved

DFS servers out of sync

Posted on 2014-12-05
2
1,314 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 35

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now