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

Re: delta-syncrepl replica out of date



On 10/24/07 4:36 PM, Quanah Gibson-Mount wrote:


--On October 24, 2007 3:22:21 PM -0400 Francis Swasey <Frank.Swasey@uvm.edu> wrote:

Please post your configs.

They have changed very little since the first posting. Here they are though (as attachments)


--
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
  "I am not young enough to know everything." - Oscar Wilde (1854-1900)
#######################################################################
# Accesslog database definitions
#######################################################################
database	hdb
suffix		cn=accesslog
directory	/var/lib/ldap/accesslog
rootdn		cn=accesslog
checkpoint	1024 5
index	default	eq
index	entryCSN,objectClass,reqEnd,reqResult,reqStart

overlay syncprov
syncprov-checkpoint 1000 60
syncprov-nopresent TRUE
syncprov-reloadhint TRUE

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

#######################################################################
# bdb database definitions
#######################################################################
database        bdb
suffix		dc=example,dc=com
rootdn		cn=Manager,dc=example,dc=com
directory	/var/lib/ldap/example.com
cachesize	1000
idlcachesize	1000
checkpoint	1024 5
index	objectClass					pres,eq
index	entryUUID,entryCSN				eq

# syncrepl Provider for primary db
overlay syncprov
syncprov-checkpoint 1000 60
syncprov-reloadhint TRUE

# accesslog overlay definitions for primary db
overlay accesslog
logdb cn=accesslog
logops writes
logsuccess TRUE
logpurge 12:00 02:00

# auditlog overlay to generate a changes log
overlay auditlog
auditlog /var/log/slapd/auditlog.ldif

# Let the replica DN have limitless searches
limits dn.exact="cn=SyncUser,dc=uvm,dc=edu"
	time.soft=unlimited time.hard=unlimited
	size.soft=unlimited size.hard=unlimited

#######################################################################
# monitor database definitions
#######################################################################
database monitor

#######################################################################
# bdb database definitions
#######################################################################
database        bdb
suffix		"dc=example,dc=com"
rootdn		"cn=Manager,dc=example,dc=com"
directory	/var/lib/ldap/example.com
cachesize	20000
idlcachesize	20000
checkpoint	1024 30
# Indices to maintain
index	objectClass		pres,eq
index   entryUUID,entryCSN      eq

#
# SyncReplication configuration
#
syncrepl rid=100
        provider=ldaps://ldaprw.example.com
        type=refreshAndPersist
        retry=30,+
        searchbase="dc=example,dc=com"
        schemachecking=on
        bindmethod=simple
        binddn="cn=SyncUser,dc=example,dc=com"
        credentials=NotMyRealPassword
        logbase="cn=accesslog"
        logfilter="(&(objectclass=auditWriteObject)(reqResult=0))"
        syncdata=accesslog

# auditlog overlay to generate a changes log
overlay auditlog
auditlog /var/log/slapd/auditlog.ldif

# Replica configuration...
#	Send update requests to the master
updateref	ldaps://ldaprw.example.com

#######################################################################
# monitor database definitions
#######################################################################
database monitor

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature