DC降級引起的複製不同步

環境描述 站點A : YPDC YSDC 站點B : RSDC

起因:在實施單域整合工作中,將站點A中的YSDC進行了降級操作,順利完成操作過後發現同一站點中的YPDC已經捕獲到YSDC降級操作,並將自己提升爲ISTG。但是在站點B中的RSDC上卻無法獲取到此更新,日誌中爆出大量KCC錯誤日誌,提示無法建立複製拓撲、站點A不可達。如圖:

imageimage

分析:由於此錯誤主要集中在RSDC上,所以登陸RSDC對其上的事件進行了分析,主要的錯誤日誌內容如下:

Event Type: Error
Event Source: NTDS KCC
Event Category: Knowledge Consistency Checker
Event ID: 1311
Date: 2013-10-28
Time: 18:54:00
User: NT AUTHORITY\ANONYMOUS LOGON
Computer: RSDC
Description:
The Knowledge Consistency Checker (KCC) has detected problems with the following directory partition.
There is insufficient site connectivity information in Active Directory Sites and Services for the KCC to create a spanning tree replication topology. Or, one or more domain controllers with this directory partition are unable to replicate the directory partition information. This is probably due to inaccessible domain controllers.
User Action
Use Active Directory Sites and Services to perform one of the following actions:
- Publish sufficient site connectivity information so that the KCC can determine a route by which this directory partition can reach this site. This is the preferred option.
- Add a Connection object to a domain controller that contains the directory partition in this site from a domain controller that contains the same directory partition in another site.
If neither of the Active Directory Sites and Services tasks correct this condition, see previous events logged by the KCC that identify the inaccessible domain controllers.

通過上面的日誌內容分析可以知道,當前RSDC木有能夠和YPDC建立起通訊通道的原因是,KCC無法沒有獲取到足夠的建立複製拓撲的站點信息。而日誌中也給出了2個比較好的處理辦法:a,提供足夠的站點信息給KCC自動建立複製拓撲 b,手動在兩個站點間建立一個連接通道。這裏我選擇A方式來處理問題,因爲這將更加有利於問題的排除和知識的梳理。

足夠的站點信息應當包括哪些呢?? 站點、子網、站點鏈接對象、複製計劃、橋頭堡主機、ISTG等信息。

分別對上面的信息進行了確認,前面4個項目均正確,當檢測到橋頭堡主機後發現站點A中的後續2個信息如下:

站點A : YPDC YSDC(Bridgehead、IS_GC、IS_TG)

當前站點A中的橋頭堡主機依舊是被降級的YSDC,很明顯這個地方是有問題的。於是按照下面的辦法對橋頭堡主機進行了修正。

解決辦法:

首先在YPDC的站點管理中修改橋頭堡主機的設置,將YPDC設置爲站點A的橋頭堡主機,如下圖:

image

其次,在RSDC的站點管理中也修改 站點A的橋頭堡主機爲YPDC,並刪除YSDC的橋頭堡設置。

最後,在RSDC的站點管理中 手動檢查複製拓撲,等待一段時間後KCC即可依據當前的站點信息建立新的複製拓撲,並完成整個域的收斂一致。

image

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章