What is the ABS?
The ABS provides online and offline Address Book Service to the Lync clients.
Where is the ABS?
The ABS usually lives on the first Front End Server in the pool, if it fails Lync will bring up the ABS on another Front End Server..
Interestingly the ABS also provides the Distribution Group expansion and Phone Number normalisation.
In Lync 2010 the offline ABS is supplemented by a Address Book Web Query.
How is the ABS populated?
The ABS collects data from AD and then saves this in the RTCab and RTCab1 databases on the Lync SQL server. Why 2 databases?
These 2 databases are rotated on a daily basis to allow querying of the database while the alternate database is being updated.
The ABS cannot be configured by the Lync Control Panel, as all good and powerful things…it is governed in PowerShell.
The commandlet is CSAddressBookConfiguration.
RunTimeOfDay
indicates when the servers generate new Address Book files. The RunTimeOfDay property is based on a 24-hour clock (hours:minutes:seconds), The default value is 01:30:00 (1:30 A.M.).
KeepDuration
Specifies the amount of time (in days) that Address Book servers will keep change files. Change files older than the value of the KeepDuration property will be deleted. The KeepDuration can be set to any integer value between 1 and 90, inclusive. The default value is 30 days.
SynchronizePollingInterval
Indicates how often the ABS synchronizes information with the information stored in the User database. The SynchronizePollingInterval can be set to any value between 5 seconds (00:00:05) and 3 hours (03:00:00). The default value is 5 minutes (00:05:00).
MaxDeltaFileSizePercentage
When changes are made to Active Directory (such as a new user being enabled for Lync Server), the Address Book server typically records these changes in a “delta file,” a file consisting only of the updated information; Lync 2010 can then download the delta files rather than a complete Address Book file. The MaxDeltaFileSizePercentage property determines how large the delta files can get before they are incorporated into the complete Address Book file. By default, delta files can be as large as 20 percent of the complete Address Book file before a new Address Book file is generated. At that point, Lync clients will download the complete file rather than a delta file.
MaxDeltaFileSizePercentage must be entered as a percentage value between 1 and 100, inclusive.
UseNormalizationRules
Set-CsClientPolicy -AddressBookAvailability websearchonly
Update-CsAddressBook
Test-CsAddressBookService -TargetFqdn <LyncPool.lynclab.co.nz -UserCredential $cred1 -UserSipAddress "sip:paulb@lynclab.co.nz"