Right, I added redundant lines. Will test again after removing them. Thanks for your help.
ST Wong (ITSC) wrote:
Hi all, I set up a 2 server multi-master environment using OpenLDAP 2.4.9 + BerkeleyDB 4.6 on CentOS 5.1. Make test and simple load test on add/mod/del are okay. However, seems some records are not replicated in delete phrase when there are lot of simultaneous delete operations (e.g. 10 threads spawned from 2 clients to add/del 100 users in each threads). I'm newbie to syncrepl and have no idea about the problem are scanning debug output. My slapd.conf syncrepl section follows: #master overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 #consumer syncrepl rid=001 provider=ldaps://192.168.28.69 starttls=yes tls_reqcert=never tls_cacert=/etc/CA/cacert.pem type=refreshAndPersist retry="5 + 5 +" searchbase="dc=mydomain,dc=hk" schemachecking=off bindmethod=simple binddn="cn=replicator,ou=People,dc=mydomain,dc=edu" credentials=secret
Would anyone pls help? Sorry for the newbie question. Thanks a lot. /st wong
Why are you running StartTSL on an ldaps server?
-- Kind Regards,
Gavin Henry. OpenLDAP Engineering Team.
E ghenry@OpenLDAP.org
Community developed LDAP software.
Same result after correcting the syncrepl configuration (same for ldaps, ldap+starttls, or ldap only). The problem can be simulated consistently by running several copies of perl scripts using Net::LDAP in background on 2 clients. Each of them add/delete 100 users, e.g. running 4 scripts on each client to operate on add/delete of 2-3 sets of 100 users. Thanks again.
________________________________
From: openldap-software-bounces+st=itsc.cuhk.edu.hk@OpenLDAP.org [mailto:openldap-software-bounces+st=itsc.cuhk.edu.hk@OpenLDAP.org] On Behalf Of ST Wong (ITSC) Sent: Tuesday, May 27, 2008 9:12 AM To: Gavin Henry Cc: openldap-software@openldap.org Subject: Re: Pls help:delete missing in multi-master environment
Right, I added redundant lines. Will test again after removing them. Thanks for your help.
ST Wong (ITSC) wrote:
Hi all, I set up a 2 server multi-master environment using OpenLDAP 2.4.9 + BerkeleyDB 4.6 on CentOS 5.1. Make test and simple load test on add/mod/del are okay. However, seems some records are not replicated in delete phrase when there are lot of simultaneous delete operations (e.g. 10 threads spawned from 2 clients to add/del 100 users in each threads). I'm newbie to syncrepl and have no idea about the problem are scanning debug output. My slapd.conf syncrepl section follows: #master overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 #consumer syncrepl rid=001 provider=ldaps://192.168.28.69 starttls=yes tls_reqcert=never tls_cacert=/etc/CA/cacert.pem type=refreshAndPersist retry="5 + 5 +" searchbase="dc=mydomain,dc=hk" schemachecking=off bindmethod=simple binddn="cn=replicator,ou=People,dc=mydomain,dc=edu" credentials=secret
Would anyone pls help? Sorry for the newbie question. Thanks a lot. /st wong
Why are you running StartTSL on an ldaps server?
-- Kind Regards,
Gavin Henry. OpenLDAP Engineering Team.
E ghenry@OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/ http://www.openldap.org/project/
I'd hold off testing until 2.4.10 is out. lots of fixes.
Thanks.
openldap-software@openldap.org