Solved

DFS Replication Issue Server Offline for Several Months

Posted on 2016-10-16
7
141 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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 40

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

730 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