1 檢視Lync資料庫與AD的預設同步周期,同步周期為一小時。
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703267dGux.png" target="_blank"></a>
2 從Lync2010資料庫到伺服器ABS的同步周期:
有時候我們會發現添加了新的Lync使用者後,在用戶端的搜尋欄中輸入新使用者的部分sip位址的部分字元無法找到該使用者,必須輸入完整的sip位址才能找到該使用者。
這是因為建立Lync使用者這個AD更改操作雖然在1分鐘後同步到了Lync的資料庫,但還沒有同步到伺服器端的ABS檔案中。
我們可以通過如下指令看到Lync2010資料庫到伺服器端ABS的同步周期:
RunTimeOfDay ABS的同步時間在每天淩晨的1:30。是以每天白天建立的賬戶,第二天才能通過模糊搜尋查詢。
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703269huRz.png" target="_blank"></a>
3 更改每天的同步時間方法:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703271UKxZ.png" target="_blank"></a>
4 通立即使ABS和資料庫同步的方法。
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703273NUW5.png" target="_blank"></a>
5 用戶端位址簿同步時間
初次登入lync需要1-60分鐘從ABS下載下傳GalContacts.db 和 GalContacts.db.idx這兩個位址簿檔案
所有此時你将無法使用模糊搜尋,當你搜尋”-“時,用戶端端會提示你說位址簿正在同步;
錯誤範例1:
無法同步通訊簿
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703275r6TO.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703277gM2v.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067032792z7J.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703281GyMB.png" target="_blank"></a>
錯誤範例2:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703282WZXY.png" target="_blank"></a>
troubleshooting 過程
參考連結:
http://technet.microsoft.com/zh-cn/magazine/hh824722.aspx
1檢視用戶端政策
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703284HwnX.png" target="_blank"></a>
2 測試使用者是否能夠通路并下載下傳通訊簿
(1)成功的截圖
PS C:\> Test-CsAddressBookService -TargetFqdn lyncpool.globallink.cis.com.cn -Us
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703286iKjx.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703288ez3n.png" target="_blank"></a>
(2)失敗的截圖
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703291wUqD.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703294Cmbn.png" target="_blank"></a>
3測試使用者使用位址簿 Web 查詢服務的通訊簿資訊的能力。
PS C:\> Test-CsAddressBookWebQuery -TargetFqdn lyncpool.globallink.cis.com.cn -U
1)成功的截圖
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703297C4mP.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703299V1xr.png" target="_blank"></a>
2)失敗的截圖
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703301nUqz.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067033032tqO.png" target="_blank"></a>
4 檢視日志檔案:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067033055L5I.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067033082vJl.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703310P9xE.png" target="_blank"></a>
正确的日志内容:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703313DFBT.png" target="_blank"></a>
錯誤的日志内容:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067033150AWQ.png" target="_blank"></a>
解決方法:
以上錯誤是因為缺少了.net的相關元件。在Lync前端伺服器安裝以下組建并重新開機伺服器
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_14067033171OdE.png" target="_blank"></a>
我們再次做以上的測試操作,測試成功
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703319R1lB.png" target="_blank"></a>
檢視相關的日志,資料同步成功:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703321bPSS.png" target="_blank"></a>
響應組服務啟動成功
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703322hGBp.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703323rQAH.png" target="_blank"></a>
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703325alTC.png" target="_blank"></a>
用戶端已經同步成功可以實作模糊查找了:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703327up3t.png" target="_blank"></a>
當然對于Lync 2013來說同樣會出現相同的問題,是以依然需要添加相關元件:
<a href="http://lixiaosong.blog.51cto.com/attachment/201407/30/705126_1406703328abYV.png" target="_blank"></a>
本文轉自handsome7038 51CTO部落格,原文連結:http://blog.51cto.com/lixiaosong/1532803