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

Re: meta and replica

I am reposting my question ...! Any comments on that, how to use replicas with an openldap meta database ?
Are there people using the meta backend ?


see details below ...

Jehan PROCACCIA wrote:
Hello, i am experimenting with openldap meta fonctionnality.
It seems to work fine, at least for the simple test below

database        meta
suffix          "dc=meta,dc=fr"

uri           "ldap://localhost/dc=entite1,dc=meta,dc=fr";
suffixmassage "dc=entite1,dc=meta,dc=fr" "dc=entite1,dc=fr"

uri           "ldap://localhost/dc=entite2,dc=meta,dc=fr";
suffixmassage "dc=entite2,dc=meta,dc=fr" "dc=entite2,dc=fr"

uri           "ldap://master/dc=entite3,dc=meta,dc=fr";
suffixmassage "dc=entite3,dc=meta,dc=fr" "dc=entite3,dc=fr"
lastmod  off

I am wondering how can I define the meta server to use replicas. something like uri "ldap://master/dc=entite3,dc=meta,dc=fr","ldap://slave/dc=entite3,dc=meta,dc=fr";

isn't accepted :-(

One would say that I create one couple uri/suffixmassage for the master
and an other for the slave, uri "ldap://master/dc=entite3,dc=meta,dc=fr";
suffixmassage "dc=entite3,dc=meta,dc=fr" "dc=entite3,dc=fr"
uri "ldap://slave/dc=entite3,dc=meta,dc=fr";
suffixmassage "dc=entite3,dc=meta,dc=fr" "dc=entite3,dc=fr"

but if both are running I'll get search result doubled !.

Is it possible to use efficientlty replicas with meta ?