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

Re: Multiple Master, one slave replica?



At 09:23 PM 5/29/00 +0200, Turbo Fredriksson wrote:
>Now to the  question. I'd like to have  my personal machine's database
>replicated to the same slave... Is this possible? And if so, how is it
>done?

Yes.  You just setup the second replication as you would the
first... hint: use a separate database for each tree being
replicated on both sides.

Ie:

masterA:
 database ldbm
 suffix "dc=example,dc=net"

masterB
 database ldbm
 suffix "dc=example,dc=com"

slave:
 database ldbm
 suffix "dc=example,dc=net"

 database ldbm
 suffix "dc=example,dc=com"

(of course, you need to provide the additional directives on both
sides to make it... see the slapd.conf(5) and the U-Mich guide.)