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

RE: LDAP Writes are not propagated to mirror nodes.



Hello Gavin,

	I was on vacation last week and could not follow up. Any updates
on this?

Thanks
Sachin


-----Original Message-----
From: Gavin Henry [mailto:ghenry@suretecsystems.com] 
Sent: Thursday, February 28, 2008 5:39 AM
To: K C, Sachin (Sachin)
Cc: Howard Chu; openldap-technical@openldap.org
Subject: Re: LDAP Writes are not propagated to mirror nodes.

K C, Sachin (Sachin) wrote:
> Gavin,
> 
> 	Find in the attached the config files for 2 nodes (node1.conf
and 
> node2.conf)
> 	initial.ldif file contains the LDIF data.
> 

Well I've spent 3 hours tonight testing various settings and operations;
adding/deleting/modifying etc.

It seems very inconsistent. For example, I'll add 5 new users on node2
and node1 will only add one of them and stop at:

send_ldap_result: conn=-1 op=0 p=0
bdb_dn2entry("uid=user6,ou=people,o=org")
=> bdb_dn2id("uid=user6,ou=people,o=org")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found
(-30990)
=> bdb_dn2id_add 0x8: "uid=user6,ou=people,o=org"
<= bdb_dn2id_add 0x8: 0
=> index_entry_add( 8, "uid=user6,ou=people,o=ORG" ) =>
key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change 0
=> key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change
0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <=
key_change 0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8)
<= key_change 0 => key_change(ADD,8) <= key_change 0 =>
key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change 0
=> key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change
0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <=
key_change 0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8)
<= key_change 0 => key_change(ADD,8) <= key_change 0 =>
key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change 0
=> key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <= key_change
0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8) <=
key_change 0 => key_change(ADD,8) <= key_change 0 => key_change(ADD,8)
<= key_change 0 => key_change(ADD,8) <= key_change 0 <= index_entry_add(
8, "uid=user6,ou=people,o=ORG" ) success => entry_encode(0x00000008):
uid=user6,ou=people,o=ORG
bdb_add: added id=00000008 dn="uid=user6,ou=people,o=ORG"
send_ldap_result: conn=-1 op=0 p=0
bdb_dn2entry("o=org")
bdb_entry_get: rc=0
bdb_dn2entry("o=org")
bdb_modify_internal: 0x00000001: o=ORG
bdb_modify: modify failed (16)
send_ldap_result: conn=-1 op=0 p=0
null_callback : error code 0x10
syncrepl_updateCookie: rid=001 be_modify failed (16)


node1 is now sitting there with only that user6.

Replication seems to have stopped working also. Both nodes are still up.

If I stop and start node1 it catches up ok.

Attached are the configs I'm working with.

-- 
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/