[Date Prev][Date Next]
Re: how to configure multi-master
On Mon, Jul 21, 2008 at 12:49 PM, Buchan Milne <firstname.lastname@example.org
Where did you look for documentation? I could add some detail on how to run
On Sunday 20 July 2008 23:34:03 Liutauras Adomaitis wrote:
> Hello again,
> Run test050 to get simple configuration examples for n-way
> >> replication. For mirror mode configuration see
> >> http://www.openldap.org/doc/admin24/replication.html
, part 17.3.2 and
> >> 17.4.4
> > I have examined a bit tests scripts provided with openldap-tests rpm from
> Mandriva. First it is not very clear how to run scritps,
the scripts in the description of the package, or a readme file, but it really
is just the standard test suite ...
I looked in /usr/share/doc/openldap[-servers] and /usr/share/openldap/tests, scroll through run and opened Makefile
I also read urpmf --description openldap-tests. I think it would be really nice if ./run --help could give a sentence of description for each switch instead of just lising them.
For now, just './run test050' or similar.
The configuration directive may have been overloaded when multi-master was
> FInanly to the topic:
> sniff of the test050 scritpt:
> add: olcMirrorMode
> olcMirrorMode: TRUE
> It shows, that it is adding MirrorMode TRUE. So why?
added (after mirrormode). AFAIK it allows the database in question to both
have a syncrepl directive, yet take updates from a DN besides the updatedn
(see the description on the slapd.conf man page).
are you saying, that in multimaster configuration I have to have updatedn directive to be able to do writes?
I didnot find anything about that in documentation http://www.openldap.org/doc/admin24/replication.html
. On the other hand man page says:
This option is only applicable in a slave database.
See the rest of the paragraph, which continues to say:
> man page of slapd.conf states:
> "mirrormode on | off - This option puts a replica database into "mirror"
> Adding this to my conf file lets me do writes to masters, but I don't want
> MirrorMode, I want MultiMaster.
"Update operations will be accepted from any user, not just the
In thread "explain diff between multimaster and mirror mode"
I found out, that mirrormode is kind of high availability implementation for openldap. In my case I want to have multimaster replication, which could allow me to do writes to different master servers at a time. It contradicts mirrormode, which says, that writes should be directed to one master and switched only on failure of first master.
I would like to stress my question again: how to do writes in multimaster configuration? Simply following documentation didn't let me do writes to any master.