Hello All,
I am trying to setup Mirror Mode of replication. Using the
configuration files listed below for 2 node setup. The database comes up
and after every 2 or 3 writes, the data is not pushed onto the other
mirror node. This is happening on both the mirror nodes.
I am getting the following error:
slap_client_connect: URI=ldap://135.254.229.102:389
DN="uid=<UID>,o=csosso_arc" ldap_sasl_bind_s failed (-1)
slap_client_connect: URI=ldap://135.254.229.102:389
DN="uid=<UID>,o=csosso" ldap_sasl_bind_s failed (-1)
This is happening after 2 or 3 write operations to the database.
The slapd.conf on node 1 is:
=================================
database bdb
suffix "o=CSOSSO"
directory /opt/cso/ldap/db
rootdn "uid=<UID>,o=CSOSSO"
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
include /opt/cso/ldap/replica/135.254.229.102-390
database bdb
suffix "o=CSOSSO_ARC"
directory /opt/cso/ldap/db_arc
rootdn "uid=<UID>,o=CSOSSO_ARC"
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
include /opt/cso/ldap/replica/135.254.229.102-390-arc
=========================================
The syncrepl configuration on node 1 is:
=========================================
syncrepl rid=1
provider=ldap://135.254.229.102:389
type=refreshAndPersist
interval=00:00:01:00
retry="30 +"
searchbase="ou=people,o=csosso"
filter="(objectclass=*)"
scope=sub
attrs="*,+"
sizelimit="unlimited"
timelimit="unlimited"
schemachecking=off
bindmethod=simple
binddn="uid=<UID>,o=CSOSSO"
credentials=<PWD>
mirrormode on
overlay syncprov
syncprov-checkpoint 100 1
syncprov-sessionlog 100
=======================================
Same configuration files are used on node 2 except the port numbers and
the serverID.
Thanks
Sachin