Solved

"Sysvol" not replicating on a win 2012 DC...event 2213 logged in DFSR log

Posted on 2016-11-08
3
54 Views
Last Modified: 2016-11-27
Issue:

We have 3 Win 2012 DCs and one of the DCs (DC1) started logging event 2213 with below text:

"The DFS Replication service stopped replication on volume C:. This occurs when a DFSR JET database is not shut down cleanly and Auto Recovery is disabled. To resolve this issue, back up the files in the affected replicated folders, and then use the ResumeReplication WMI method to resume replication.
Additional Information:
Volume: C:
GUID: 5A8F8A87-DA18-11E2-93F6-806E6F6E6967
Recovery Steps
1. Back up the files in all replicated folders on the volume. Failure to do so may result in data loss due to unexpected conflict resolution during the recovery of the replicated folders.
2. To resume the replication for this volume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. For example, from an elevated command prompt, type the following command:
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="5A8F8A87-DA18-11E2-93F6-806E6F6E6967" call ResumeReplication
For more information, see http://support.microsoft.com/kb/2663685."


I read through MS KB 2958414 and gathered following troubleshooting info:
Following command returns sysvol share for all 3 DCs:
For /f %i IN ('dsquery server -o rdn') do @echo %i && @(net view \\%i | find "SYSVOL") & echo
Following command reports a state value of 4 for other 2 DCs but for this DC (DC1) it fails to report a state value and indicates "No Instance(s) Available.":
For /f %i IN ('dsquery server -o rdn') do @echo %i && @wmic /node:"%i" /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo WHERE replicatedfoldername='SYSVOL share' get replicationgroupname,replicatedfoldername,state
Following command returns a value of 60 days for MaxOfflineTimeInDays, so freshness state on all 3 DCs is enabled:
For /f %i IN ('dsquery server -o rdn') do @echo %i && @wmic /node:"%i" /namespace:\\root\microsoftdfs path DfsrMachineConfig get MaxOfflineTimeInDays
Event ID 4012 is not logged on this DC but event 2213 started appearing about 3 months back.


Query about Actions required:
From the troubleshooting info above I think the following portion of Step3 in above article applies to our situation: "If content freshness is not enabled or triggered and there are three or more domain controllers in the domain"
So according to the article I should backup SYSVOL data on each domain controller and run the ResumeReplication WMI method on the affected domain controllers. Is that correct?
And would the following command provided in the event id 2213 be the correct one to run?:-
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="5A8F8A87-DA18-11E2-93F6-806E6F6E6967" call ResumeReplication
0
Comment
Question by:mc7
[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
  • 3
3 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 500 total points (awarded by participants)
ID: 41878808
Backup the sysvols on your domain controllers in case changes were made on different DCs that haven't been replicated to the others (which can cause a conflicts).

And yes, to resume replication just run the wmic command on an elevated command prompt on the affected DC.
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41878813
When DFS replication has recovered you should see  event ID 2214
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41902968
Asker never came back, answer should have helped
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

739 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