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

Re: multi master replication



Guruprasad Kulkarni wrote:
Hi,

I did have a look at the options and only "--enable-modules" option
talks about dynamic module support

I tried "--enable-dynamic" option as well (the description for it is
enable linking built binaries with dynamic libs)

What I do observe is that even though I have "moduleload syncprov.la
<http://syncprov.la>" directive in slapd.conf, slapd does not complain
about it. So I guess I do not have to specify the module path
(syncreplication tests were successful as well)

Correct, moduleload silently succeeds if you specify a module that was built statically.

I also realized I was looking at the OLC configuration examples for
multi master. What I need to do is find slapd.conf example for multi master.


On Mon, Nov 24, 2014 at 11:29 AM, Dieter Klünter <dieter@dkluenter.de
<mailto:dieter@dkluenter.de>> wrote:

    Am Mon, 24 Nov 2014 09:52:34 -0500
    schrieb Guruprasad Kulkarni <gkulkarni@gridcosystems.com
    <mailto:gkulkarni@gridcosystems.com>>:

    > I have 2 questions regarding multi master replication:
    >
    > 1. I built openldap 2.4.40 from source and according to the makefile,
    > the module directory should be at /usr/local/libexec/openldap.
    >
    >     However I do not see such a folder. Am I missing something? The
    > options I used with configure were "--enable-debug --enable-modules
    > --enable-hdb --enable-monitor --enable-ppolicy --enable-syncprov
    > --with-tls --with-cyrus-sasl"
    >
    >     I am asking because the multi master replication example (
    >http://www.openldap.org/doc/admin24/replication.html
     > <http://www.openldap.org/doc/admin24/replication.html#N-Way>) needs
    > me to load thesyncprov.la <http://syncprov.la> module, but I am not sure if the
    > modulepath given there is correct or not.

    You have probably not build dynamic loadable modules, but built-in
    modules.
    you should run ./configure --help | less, which will show proper build
    choices.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/