Issue description : Lync Server 2010 set up on a single server install. Exchange 2010 on a separate server.
When I install the Lync cilent on any PC, the users are unable to search for contacts to add for at least a few hours or more. They get the message "The address book is preparing to synchronize. Search results may not be current." Why does it take so long for the address book to synch? In Communicator 2007 R2 server, syncing was immediate. Resolution :
The overall process is basically the same as what Office Communications Server does (covered in this past article), but with added flexibility of easily customizing some of the timing of the different events. The entire process happens over time based on a number of intervals, and by default looks like this: The first two items on the list above are both server-side processes are are controlled individually by separate Set andUpdate cmdlets. Since PowerShell cmdlets are now used for any and all configuration this means that separate command-line tools like lcscmd.exe or abserver.exe are no longer used in Lync Server. The ‘abserver.exe –RegenUR’command has been replaced by Update-CsUserDatabase and the ‘abserver.exe –SyncNow’ command has been replaced by Update-CsAddressBook. PS C:\> Get-CsUserReplicatorConfiguration Identity : Global The ReplicationCycleInterval value indicates the default behavior of Lync Server to search Active Directory for any changes every minute. This interval is 1 minute by default and can be customized to any value between 1 second and 24 hours. The second half of the server-side process is controlled by the Address Book Service which pulls information from the SQL database and writes the changes to the address book files. PS C:\> Get-CsAddressBookConfiguration Noteworthy here are the SynchronizePollingInterval and RunTimeofDay settings. The default RunTimeofDay value of 1:30 AM is the same setting that OCS used and is still indicative of the one time per day that Lync Server automatically updates the address book files automatically. The SynchronizePollingInterval is how often the abserver.exe process checks for a pending synchronization event. Basically when the Update-CsAddressBook cmdlet is run then a ‘synchronize now‘ event is marked and the update is not actually run immediately. The event itself happens the next time abserver looks to see if a sync event has been triggered. This polling interval is 5 minutes by default and can be customized to any value between 5 seconds and 3 hours. Because Step #1 in the process happens by default every minute then any recent changes in AD should already be imported into the SQL database. If this is not the case or for some reason normal replication is failing then a manual process can be used to toss out the entire copy of AD information in the SQL database’s address book store and regenerate a completely new copy. To rebuild Lync’s copy of the AD data simply use the Update-CsUserDatabase cmdlet. Be aware that is stuff is more process intensive than the automatic delta synchronization. This step should not be necessary under normal circumstances. In the time it took to read the previous paragraph Lync Server should have synchronized and outstanding changes in Active Directory and Step #2 can be manually processed. Event ID: 21005 Event ID: 21010 Event ID: 21056 Event ID: 21004 Just as Office Communicator has done since a later R2 hotfix, Lync also will not immediately download changes to the Address Book files when first launched, but instead wait for a random interval of time between 1 and 60 minutes. To trigger an immediate download two steps must be taken on the client workstation. The first step only needs to be performed once per workstation, while the second would be done each time a forced update is desired. reg add HKLM\Software\Policies\Microsoft\Communicator /v GalDownloadInitialDelay /t REG_DWORD /d 0 /f Take note that the there is another difference here between the Lync and Communicator clients. For standard 32-bit operating systems the registry path below is the same regardless of the client versions (OC 2007 R2 with July 2009 update or Lync 2010 RC) but previously 64-bit operating systems running the 32-bit only OC 2007 R2 client had to have the setting created under the Wow6432Node policies key. On Windows XP workstations: %userprofile%\Local Settings\Application Data\Microsoft\Communicator\sip_<username@domain>\ On Windows Vista or Windows 7 workstations: %userprofile%\AppData\Local\Microsoft\Communicator\sip_<username@domain>\
Just as with OCS there are many scenarios when waiting a ‘day or so’ to see changes appear in the contact list are less than ideal, so the manual steps have been outlined in detail in this article.
Understanding the Process
Let us first look at the User Replicator configuration, which is the process which synchronizes data between Active Directory and the Lync SQL databases.
ADDomainNamingContextList : {}
ReplicationCycleInterval : 00:01:00
Identity : Global
RunTimeOfDay : 1:30 AM
KeepDuration : 30
SynchronizePollingInterval : 00:05:00
MaxDeltaFileSizePercentage : 20
UseNormalizationRules : True
IgnoreGenericRules : False
EnableFileGeneration : TrueUpdate Servers
Description:
Synchronization pass started.
Description:
Synchronization pass completed successfully. Address Book web service backend data partition = RtcAb1
Description:
Synchronization Pass Summary.
Sync pass completed with 11 contacts processed
Number of separate AD partitions: 1
Number of valid contacts: 11
Number of empty contacts: 0
Number of invalid contacts: 0
Number of cached photos deleted: 0
Number of stale OC files deleted: 0
Number of OC full files written: 1 with 11 total contacts
Number of OC delta files written: 8 with a total of 40 new/updated contacts and 0 deleted contacts.
Number of OC bytes written: 10,072 compressed to 7,134 bytes on disk.
Number of stale device files deleted: 0
Number of device full files written: 1 with 0 total contacts
Number of device delta files written: 11 with a total of 0 new/updated contacts and 0 deleted contacts.
Number of device bytes written: 1,657 compressed to 1,248 bytes on disk.
Description:
Next synchronization pass will start at: 9/24/2010 1:30:00 AMUpdate Clients
Lync 2010 client 不能同步联系人
原创richard706 博主文章分类:lyncServer ©著作权
Issue description : Lync Server 2010 set up on a single server install. Exchange 2010 on a separate server.
When I install the Lync cilent on any PC, the users are unable to search for contacts to add for at least a few hours or more. They get the message "The address book is preparing to synchronize. Search results may not be current." Why does it take so long for the address book to synch? In Communicator 2007 R2 server, syncing was immediate. Resolution :
-
Linux编译socket.io-client-cpp
Linux socket.io build.
socket.io Linux Build socket.io-client.cpp c++ -
android 同步联系人
比较高效的解决android联系人同步的问题.
观察者 联系人 android version 数据表同步联系人 -
Outlook 2010 联系人如何导出?
你好,我们可以依次点击文件-选项-高级,即可点击 导出 按钮,然后点击导出到文件,选择逗号分隔符的文件,即可导出一个csv格式。
导出 csv foxmail 2010 outlook