Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-11-08
3
Medium Priority
?
74 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 29

Accepted Solution

by:
Michael Pfister earned 2000 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 29

Expert Comment

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

Expert Comment

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

Featured Post

Problems using Powershell and Active Directory?

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

Question has a verified solution.

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

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…
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

610 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