(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Category) Replication : (Answer) What does "sessionlog" directive do?
The "sessionlog" directive is used on the Provider to keep a small history of entires that have been deleted in between replications. Because of the nature of Sync Replication, deleted entries are hard to discover without a history of deleted entries being stored on the Provider. However replication will still occurr without the sessionlog (just not as efficiently). The directive has the following format:

sessionlog <rid> <changelimit>

rid = an arbitrary Replication ID. It must be 3 digits or less. '1' works. This should match between the Provider and Consumer configs (1st argument for syncrepl on Consumer).

changelimit = this represents the number of deleted entries to keep track of. For example of you replicate every 5 minutes and you don't think you'll have over 100 deleted entries in that period then 100 would be a good number to use
jsaint-rossy@associates.usss.treas.gov

[Append to This Answer]
Previous: (Answer) How do I auto-restart replication if I'm using "refreshAndPersist" mode?
Next: (Answer) How to automatically chase referrals on a syncrepl slave
This document is: http://www.openldap.org/faq/index.cgi?file=1125
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org