Solved

DFS Replication Issue Server Offline for Several Months

Posted on 2016-10-16
7
96 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
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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 250 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 39

Accepted Solution

by:
Adam Brown earned 250 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
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 …

816 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

11 Experts available now in Live!

Get 1:1 Help Now