[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Configuring MirrorMode via cn=config
Hello all,
I am writing to ask for a confirmation on the steps that I followed to
configure MirrorMode replication via cn=config
The step is the typical, 2 nodes where m1 is the first node and m2 is the second one.
1) start m1
2) create dit
3) add mirrormode_user
4) slaptest -f slapd.conf -F slapd.d
chown -R ds-ldap.ds-ldap slapd.d
5) stop m1 ;start m1
6) enable sync log
7) start m2
8) slaptest -f slapd.conf -F slapd.d
chown -R ds-ldap.ds-ldap slapd.d
9) stop m2;start m2
10) enable sync log
11) add replication configuration on m1 [1]
12) add replication configuration on m2 [2]
I did testing on the replication and it worked.
But, I noticed that when I configured the syncpro overlay after the replicas both servers stopped responding.
I will try to reproduce that issue and get some debug messages, may be I didn't something wrong or it is a bug.
Cheers,
Pavlos
[1] Replication configuration for node m1
dn: cn=config
changetype: modify
add: olcServerID
olcServerID: 1
dn: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
olcSpCheckpoint: 100 600
olcSpSessionlog: 100
dn: olcDatabase={2}bdb,cn=config
changetype: modify
add: olcLimits
olcLimits: {0}dn.base="cn=mirrormode_user,o=solution.acision.com" size.soft=un
limited size.hard=unlimited time.soft=unlimited time.hard=unlimited
-
add: olcSyncrepl
olcSyncrepl: rid=002 provider=ldap://m2 bindmethod=simple timeout=0 network-ti
meout=0 binddn="cn=mirrormode_user,o=solution.acision.com" credentials="mirro
r" starttls=no filter="(objectclass=*)" searchbase="o=solution.acision.com" s
cope=sub schemachecking=off type=refreshAndPersist retry="10 3 60 +"
-
add: olcSyncrepl
olcSyncrepl: rid=001 provider=ldap://m1 bindmethod=simple timeout=0 network-ti
meout=0 binddn="cn=mirrormode_user,o=solution.acision.com" credentials="mirro
r" starttls=no filter="(objectclass=*)" searchbase="o=solution.acision.com" s
cope=sub schemachecking=off type=refreshAndPersist retry="10 3 60 +"
-
add: olcMirrorMode
olcMirrorMode: TRUE
-
add: olcDbIndex
olcDbIndex: entryUUID eq
olcDbIndex: entryCSN eq
###############################
[2] replication configuration for node m2
dn: cn=config
changetype: modify
add: olcServerID
olcServerID: 2
dn: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
olcSpCheckpoint: 100 600
olcSpSessionlog: 100
dn: olcDatabase={2}bdb,cn=config
changetype: modify
add: olcLimits
olcLimits: {0}dn.base="cn=mirrormode_user,o=solution.acision.com" size.soft=un
limited size.hard=unlimited time.soft=unlimited time.hard=unlimited
-
add: olcSyncrepl
olcSyncrepl: rid=002 provider=ldap://m2 bindmethod=simple timeout=0 network-ti
meout=0 binddn="cn=mirrormode_user,o=solution.acision.com" credentials="mirro
r" starttls=no filter="(objectclass=*)" searchbase="o=solution.acision.com" s
cope=sub schemachecking=off type=refreshAndPersist retry="10 3 60 +"
-
add: olcSyncrepl
olcSyncrepl: rid=001 provider=ldap://m1 bindmethod=simple timeout=0 network-ti
meout=0 binddn="cn=mirrormode_user,o=solution.acision.com" credentials="mirro
r" starttls=no filter="(objectclass=*)" searchbase="o=solution.acision.com" s
cope=sub schemachecking=off type=refreshAndPersist retry="10 3 60 +"
-
add: olcMirrorMode
olcMirrorMode: TRUE
-
add: olcDbIndex
olcDbIndex: entryUUID eq
olcDbIndex: entryCSN eq