[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OL 2.3.19, delta-syncrepl issue



Samuel Tran wrote:
Hi All,

I am testing delta-syncrepl with two Debian Sarge Linux boxes running OL
2.3.19 + 2 patches (ITS #4369 and #4376).

Here the configuration on the provider:

This configuration is wrong. See the slapd.conf files used in test043 of the test suite for a correct configuration.
# Accesslog DB definition (slapo-accesslog)
database        bdb
suffix          "cn=accesslog"
rootdn          "cn=root,cn=accesslog"
directory       /var/lib/ldap/accesslog
index           default eq
index           entryCSN,objectClass,reqEnd,reqResult,reqStart

# Let the replica DN have limitless searches
limits dn.exact="cn=syncrepl,ou=Accounts,ou=Apps,dc=example,dc=com"
time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited


# Primary AMNH database definition
database        bdb
suffix          "dc=example,dc=com"
rootdn          "cn=Manager,dc=example,dc=com"

# syncprov specific indexing
index   entryUUID,entryCSN eq

# Let the replica DN have limitless searches
limits dn.exact="cn=syncrepl,ou=Accounts,ou=Apps,dc=example,dc=com"
time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited


#############################################################
# Syncrepl - Provider configuration
#############################################################

overlay syncprov
syncprov-checkpoint 100 30
syncprov-sessionlog 100
syncprov-nopresent TRUE
syncprov-reloadhint TRUE

#############################################################
# Accesslog - Access Logging overlay (required for delta syncrepl)
#############################################################

overlay accesslog
logdb cn=accesslog
logops writes
# scan the accesslog DB every day, and purge entries older than 28 days
logpurge 28+00:00 01+00:00



--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/