Windows 2012 DC 同步異常處理

今天早上,創建了一個新的組策略,結果發現一個遠程辦公室的客戶端始終沒有更新,運行gpupdate 直接就報錯。通過仔細檢查,發現當地域控的sysvol裏面根本就沒有同步新建立的policy。在AD sites and service裏面進行replicate也毫無效果。


最後在event viewer裏面逐條查看記錄,發現了大量的 DFSR unexpected shutdown recovery的警告日誌,最先的時間是從10號開始的,換句話說,3個禮拜前,這個域控就不一樣步了~

The DFS Replication service stoppedreplication on volume E:. This occurs when a DFSR JET database is not shut downcleanly and Auto Recovery is disabled. To resolve this issue, back up the filesin the affected replicated folders, and then use the ResumeReplication WMImethod to resume replication.

Additional Information:
Volume: E:
GUID: C2B76452-2993-11E3-93F5-00155D801816

Recovery Steps
1. Back up the files in all replicatedfolders on the volume. Failure to do so may result in data loss due tounexpected conflict resolution during the recovery of the replicated folders.
2. To resume the replication for thisvolume, use the WMI method ResumeReplication of the DfsrVolumeConfig class. Forexample, from an elevated command prompt, type the following command:
wmic /namespace:\\root\microsoftdfs pathdfsrVolumeConfig wherevolumeGuid="C2B76452-2993-11E3-93F5-00155D801816" callResumeReplication

For more information, see http://support.microsoft.com/kb/2663685.




通過搜索,我在這個博客裏面找到了答案
http://blogs.technet.com/b/filecab/archive/2013/07/31/dfs-replication-in-windows-server-2012-r2-revenge-of-the-sync.aspx

緣由很簡單,在2012以前的時代,若是同步異常,好比DC重啓之類的,那麼他會自動從新進行同步;可是這種方式會默認本地的信息無效,而自動從遠程的DC拷貝「最新信息「覆蓋,這樣可能會形成一些信息的丟失;在最新的2012中,若是出現了同步異常,他須要管理員手動同步,這樣能夠先進行備份避免丟失本地信息。事實上,從上面的event viewer裏面會直接提示如何操做。 並且這個操做也確實是有效的。執行以後,新的日誌代表

TheDFS Replication service successfully recovered from an unexpected shutdown onvolume E:.This can occur if the service terminated abnormally (due to a powerloss, for example) or an error occurred on the volume. No user action isrequired.


幾分鐘以後,個人組策略也成功同步工做了


頭一次遇見這個問題,2012 不少東西都不同了~
相關文章
相關標籤/搜索