Full_Name: Frank Offermanns
Version: 2.4.21
OS: Windwos
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.6.189.242)


I am running LDAP from Head with BDB 4.8.26 as backend on windows. I am testing
master/slave replication while adding 10000 users with 10 filled attributes. 
I am not using a specific time synchronization. Standard windows time
synchronization in domains is active. But as far as I understood, a microsecond
time synchronisation is only needed for master-master, which I am not testing. 

My problem is, that not every user and/or every attribute is replicated from my
master to my slave. 

If the replicationmode is refreshAndPersist more entries are incorrect on the
slave. 
When doing refreshOnly (every 5 mins) fewer entries have this problem.
Switching to delta-syncrepl changes this behaviour. 
With delta-syncrepl once the intial content load has run, the replication seems
to work 100%.
But when I add entries while the inital content load (empty slave database) is
running, a few complete users are missing (seems to be always a few in a row).
But every written user has all attributes, so no missing attributes in this
case. 
I will post my configuration (for refreshAndPersist replication). 
If you need any other info please let me known. 

Here my configurations:
Master:
ucdata-path     ./ucdata
include         ./schema/core.schema
include         ./schema/cosine.schema
include         ./schema/Personcaesar.schema
include         ./schema/ConfigObjects.schema

loglevel        0

pidfile         ./run/slapd.pid
argsfile        ./run/slapd.args


access to * by dn.one="ou=Admins,o=caesar" write
        by * read


#######################################################################
# BDB database definitions
#######################################################################

database        hdb
cachesize       10000
idlcachesize    30000
suffix          ""
checkpoint      1024    5
rootdn          "cn=Administrator,o=caesar"
rootpw          {SHA}secret...

directory       "c:/all2421/data"
dbconfig set_cachesize  0       400000000       1
dbconfig set_flags      DB_LOG_AUTOREMOVE
dbconfig set_lg_regionmax       1048576
dbconfig set_lg_max     10485760
dbconfig set_lg_bsize   2097152


# Indices to maintain
index   sn              pres,eq
index   cn              pres,eq,sub
index   MasterApp       pres,eq
index   RightVoice      pres,eq
index   DCOMServer      pres,eq
index   ExtensionSMS    pres,eq
index   ExtensionFax    pres,eq,sub
index   ExtensionVoice  pres,eq,sub
index   ExtensionCTI    pres,eq
index   Deleted         pres,eq
index   GUID            pres,eq
index   CTIServerName   pres,eq,sub
index   LastSyncUser    pres,eq
index   ApplicationPhoneNr      pres,eq,sub
index   NetDialLoginName        pres,eq
index   email           pres,eq
index   FullExtensionVoice      pres,eq,sub
index   FullExtensionFax        pres,eq,sub
index   FullExtensionSMS        pres,eq
index   FullName        pres,eq
index   PersonalID      pres,eq
index   entryUUID       eq
index   entryCSN        eq
index   objectClass     eq


overlay         syncprov
syncprov-checkpoint 1000 60
syncprov-sessionlog 10000

________________________________________________
Slave:
ucdata-path     ./ucdata
include         ./schema/core.schema
include         ./schema/cosine.schema
include         ./schema/Personcaesar.schema
include         ./schema/ConfigObjects.schema

loglevel        0

pidfile         ./run/slapd.pid
argsfile        ./run/slapd.args

access to * by dn.one="ou=Admins,o=caesar" write
        by * read

#######################################################################
# BDB database definitions
#######################################################################

database        hdb
cachesize       10000
idlcachesize    30000
suffix          ""
checkpoint      1024    5
rootdn          "cn=Administrator,o=caesar"
rootpw          {SHA}secret....

directory       "c:/all2421_48/data"
dbconfig set_cachesize  0       400000000       1
dbconfig set_flags      DB_LOG_AUTOREMOVE
dbconfig set_lg_regionmax       1048576
dbconfig set_lg_max     10485760
dbconfig set_lg_bsize   2097152


# Indices to maintain
index   sn              pres,eq
index   cn              pres,eq,sub
index   MasterApp       pres,eq
index   RightVoice      pres,eq
index   DCOMServer      pres,eq
index   ExtensionSMS    pres,eq
index   ExtensionFax    pres,eq,sub
index   ExtensionVoice  pres,eq,sub
index   ExtensionCTI    pres,eq
index   Deleted         pres,eq
index   GUID            pres,eq
index   CTIServerName   pres,eq,sub
index   LastSyncUser    pres,eq
index   ApplicationPhoneNr      pres,eq,sub
index   NetDialLoginName        pres,eq
index   email           pres,eq
index   FullExtensionVoice      pres,eq,sub
index   FullExtensionFax        pres,eq,sub
index   FullExtensionSMS        pres,eq
index   FullName        pres,eq
index   PersonalID      pres,eq
index   entryUUID       eq
index   entryCSN        eq
index   objectClass     eq


syncrepl       rid=001
               provider="ldap://CAS-WS091201.domain.local";
               searchbase="o=caesar"
               type=refreshAndPersist
               retry="5 3 15 +"
               binddn="cn=Administrator,o=caesar"
               bindmethod=simple
               credentials="secret"

sizelimit size.soft=100 size.hard=1000 size.prtotal=unlimited
limits dn.exact="cn=Administrator,o=caesar" time.soft=unlimited
time.hard=unlimited size.soft=unlimited size.hard=unlimited



Reply via email to