?
Solved

DFS servers out of sync

Posted on 2014-12-05
2
Medium Priority
?
1,942 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 2000 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

752 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