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

meta and replica

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 

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 ?


Jehan Procaccia
Institut National des Telecommunications| Email:
MCI, Moyens Communs Informatiques	| Tel  : +33 (0) 160764436 
9 rue Charles Fourier 91011 Evry France | Fax  : +33 (0) 160764321