?
Solved

DFS Replication Issue Server Offline for Several Months

Posted on 2016-10-16
7
Medium Priority
?
298 Views
Last Modified: 2016-10-17
Hi,

I need advice how to deal with a DFS Replication site it has been offline for 5 month. Starting back the server, all the data is there (5 month old). Now in Event Log of the DFS I have this error :

This server has been disconnected from other partners for xxx days, which is longer than the time allowed by the MaxOfflineTimeInDays parameter (60). DFS Replication considers the data in this folder to be stale, and this server will not replicate the folder until this error is corrected.

I have a server currently in the DFS where all the data is accurate. Can I force DFS to replicate from the "Primary Server" into the Server back online ?

We have over 800GBs of data and we want to avoid data lost in the DFS.

Thanks,
0
Comment
Question by:Synergy
[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
  • 4
  • 2
7 Comments
 
LVL 7

Expert Comment

by:No More
ID: 41845743
Hey,

Is the server DC (which was offline) ?

I would say it's tombstoned and you will need to uninstall DC /DFSR clear data and then install and freshly replicate from Primary server.

Do not try to replicate it by force under any circumstances

Can you provide more detailed information about your infrastructure ?
0
 
LVL 7

Expert Comment

by:No More
ID: 41845751
Also, can you include DFS event ID's from the server, which was offline?

Run DCDIAG /e   or DCDIAG /v /c /e           >output.txt

Run DFSDIAG /testdcs
0
 

Author Comment

by:Synergy
ID: 41845754
Hi David,

This is the infrastructure

No it's not the DC.

We have currently :
One DC (Always running)
Data Server with DFS installed (Always running) Primary Server.
Data Server with DFS installed (Remote site A) (Always running) secondary server
Data Server with DFS installed (Remote Site B) Offline 5 month. **** This one is the problem.

Thanks for your feedback
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 7

Expert Comment

by:No More
ID: 41845801
Primary server is DFS root target folder ?

You could remove DFSR from server(siteB) clear all DFS data
(Data are stored in c:\system volume you need to take ownership get rights to remove all DFS data)

Remove/disable (siteB) target folder from primary server DFSR

Reinstall DFSR  

And then use Robocopy GUI to copy files from root target folder to target folder (site B)
https://technet.microsoft.com/en-us/library/2006.11.utilityspotlight.aspx?f=255&MSPPError=-2147217396
0
 

Author Comment

by:Synergy
ID: 41845977
Hi I change the value MaxOfflineTimeInDays for 180 days, do you think this will work or I have a risk of corrupted data ?

Thanks for your input.
0
 
LVL 7

Assisted Solution

by:No More
No More earned 1000 total points
ID: 41845998
Did you run ?

c;\>wmic.exe /namespace:\\root\microsoftdfs path DfsrMachineConfig set MaxOfflineTimeInDays=180

If you did that, you will have to do that on every server

You might get lucky and sync might fix it
0
 
LVL 43

Accepted Solution

by:
Adam Brown earned 1000 total points
ID: 41846060
The Content Freshness protection method David is talking about should be configured with a longer date *before* this issue occurs. Once it happens, you have to rebuild the DFSr database on the server. https://blogs.technet.microsoft.com/askds/2009/11/18/implementing-content-freshness-protection-in-dfsr/ explains all of this. You'll want to follow the instructions in the "Recovering DFSR from Content Protection" section, which explains how to initiate a forced rebuild of the replication database on the stale server. Essentially, the steps are to disable the stale server in the DFSr configuration, run a manual replication, then enable the stale server. This will cause a non-authoritative replication to the stale server, which will cause the server to rebuild its DFS database.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

649 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