天天看点

关于Lync的通讯簿同步

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:\&gt; 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:\&gt; 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