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

Re: replicating subtrees of the directory only



Am Mit, 03 Mai 2000 schrieb Jochen Tuchbreiter:
> Hi,
>
> is it possible to only replicate _subtrees_ of a directory to a "slave"
> server ? Let´s say that I have do have two subtrees "machine=speedy,
> cn=mycompany, cn=de" and "machine=runner, cn=mycompany, cn=de" on the main
> ldap-server and that I would like to replicate all information in the
> subtree "machine=speedy ..." to a slapd that runs on "speedy" and all
> information in the subtress "machine=runner ..." to a slapd that runs on
> "runner". Is this possible ? (if yes: it would be nice if you could point
> me into the right direction)

Yes, just create two (or even more) database entries in slapd.conf (the order 
matters: first the leafs, lastly the root). For each database file you can 
create a replogfile and therefore replica.
>
> The nice thing about this would be that the slapd on the ldap-slaves only
> has exactly the information it needs (so dbsize is small --> lookup is
> fast) and that an update of a record on the main ldap-server will not put
> load on _all_ slaves but only on the ones that carry this particular
> subtree.

Small search: narrow you base dn.
>
> I would like to use this to have centralized user-management without having
> the main ldap-server as performance bottleneck or SPOF.
>
> Greetings,
>
> Jochen
Ciao
Stephan

-- 
Stephan Müller			Stephan.Mueller@suse.de
>>> Wer Rechtschreibfehler findet, darf sie behalten. <<<