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

RE: LDAP Writes are not propagated to mirror nodes.




Tried this as well. No satisfactory results :( 

-Sachin


-----Original Message-----
From: Gavin Henry [mailto:ghenry@suretecsystems.com] 
Sent: Friday, February 22, 2008 8:53 PM
To: K C, Sachin (Sachin)
Cc: K C, Sachin (Sachin); openldap-technical@openldap.org
Subject: RE: LDAP Writes are not propagated to mirror nodes.

Try the overlay syncprov stuff before the syncrepl directives.

--
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

<quote who="K C, Sachin \(Sachin\)">
>
> Gavin,
>
> Just wanted to update with the configuration files on both sides one 
> more time.
> Apart from intermittent update problem, one more problem I found is 
> that changes to node with serverID 1 gets replicated to node with 
> serverID 2, but not the reverse.
>
> Node 1: serverId 1
> ===================
> database	bdb
> suffix		"o=<O>"
> directory       <loc>
> rootdn		"uid=Directory Manager,o=<o>"
> rootpw		<PWD>
> # cleartext passwords, especially for the rootdn, should # be avoid.  
> See slapd.conf(5) for details.
> cachesize 10000
> index   cn pres,eq,sub
> index   sn pres,eq,sub
> index   givenName pres,eq,sub
> index   uid eq
> index   objectclass,entryCSN,entryUUID eq
> syncrepl rid=1
> 	provider=ldap://<node2>:389/
> 	type=refreshAndPersist
> 	interval=00:00:00:10
> 	retry="30 +"
> 	searchbase="ou=people,o=<o>"
> 	filter="(objectclass=*)"
> 	scope=sub
> 	attrs="*,+"
> 	sizelimit="unlimited"
> 	timelimit="unlimited"
> 	schemachecking=off
> 	bindmethod=simple
> 	binddn="uid=<uid>,o=<O>"
> 	credentials=<pwd>
> mirrormode	on
> overlay syncprov
> syncprov-checkpoint 100 1
> syncprov-sessionlog 100
>
> Node 2: serverId 2
> ====================
> database	bdb
> suffix		"o=<o>"
> directory       <loc>
> rootdn		"uid=Directory Manager,o=<o>"
> rootpw		<PWD>
> # cleartext passwords, especially for the rootdn, should # be avoid.  
> See slapd.conf(5) for details.
> cachesize 10000
> index   cn pres,eq,sub
> index   sn pres,eq,sub
> index   givenName pres,eq,sub
> index   uid eq
> index   objectclass,entryCSN,entryUUID eq
> syncrepl rid=1
> 	provider=ldap://<node1>:389/
> 	type=refreshAndPersist
> 	interval=00:00:00:10
> 	retry="30 +"
> 	searchbase="ou=people,o=<o>"
> 	filter="(objectclass=*)"
> 	scope=sub
> 	attrs="*,+"
> 	sizelimit="unlimited"
> 	timelimit="unlimited"
> 	schemachecking=off
> 	bindmethod=simple
> 	binddn="uid=<uid>,o=<o>"
> 	credentials=<pwd>
> mirrormode	on
> overlay syncprov
> syncprov-checkpoint 100 1
> syncprov-sessionlog 100
>
> Thanks a lot Gavin
> Sachin
>
>
>
> -----Original Message-----
> From:
> openldap-technical-bounces+sachinkc=alcatel-lucent.com@openldap.org
>
[mailto:openldap-technical-bounces+sachinkc=alcatel-lucent.com@openldap.
> org] On Behalf Of K C, Sachin (Sachin)
> Sent: Friday, February 22, 2008 9:12 AM
> To: Gavin Henry
> Cc: openldap-technical@openldap.org
> Subject: RE: LDAP Writes are not propagated to mirror nodes.
>
>
> Yes, I can do ldapsearch from this machine.
> The same thing is inconsistent from within syncrepl :(
>
> - Sachin
>
> -----Original Message-----
> From: Gavin Henry [mailto:ghenry@suretecsystems.com]
> Sent: Thursday, February 21, 2008 5:11 PM
> To: K C, Sachin (Sachin)
> Cc: openldap-technical@openldap.org
> Subject: RE: LDAP Writes are not propagated to mirror nodes.
>
> <quote who="K C, Sachin \(Sachin\)">
>>
>> Here it is...
>>
>>
>>    841  ldap_pvt_connect: fd: 18 tm: -1 async: 0
>>    842  ldap_close_socket: 18
>>    843  slap_client_connect: URI=ldap://<IP>:390 DN="uid=<UID>,o=<0>"
>> ldap_sasl_bind_s failed
>>  (-1)
>>    844  do_syncrepl: rid=001 retrying
>>    845  do_syncrepl: rid=002 retrying
>
> OK, so can you definitely ldapsearch these to servers from this
machine?
>
>
>