[Date Prev][Date Next]
Re: Help Needed with mirrormode configuration in 2.4.6
> I?m using OpenLDAP 2.4.6 and trying to use the mirrormode and syncrepl.
> My setup has 2 LDAP nodes, one as master and other as slave through a
> When the master goes down, the slave will become master and vice-versa.
> At any point to keep both the LDAP in sync I want to use mirror mode and
> syncrepl and I?m using the following conf file.
> database bdb
> directory $MMAIL_VAR_DIR/ldap/ipu-mail-ldap
> suffix "o=mereonmail"
> rootdn "cn=admin,o=mereonmail"
> rootpw secret
> index objectClass,entryCSN,entryUUID pres,eq
> index mail,cn eq,sub
> overlay syncprov
> syncprov-checkpoint 100 10
> syncprov-sessionlog 100
> syncrepl rid=1
> retry="60 +"
> mirrormode on
> But with the above conf file an the both the nodes ( rid = 2 on the other
The docs on the main site are out of date, I did them wrong the first
time. The latest version isn't up yet for MirrorMode, but will be when
2.4.7 is out this week.
Each config has to be the same, including rid, except you now need:
on one node and:
on the other. Apart from that, both configs are the same (obviously
changing where they point too ;-) ).
Search "man slapd.conf" for serverID