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

Re: Problem with replication in many databases



> replica uri=ldap://192.168.0.2:389
[...]
> replica uri=ldap://192.168.0.2:389

It's been quite a while since I've used slurpd, but I recall the uri (or
possibly just the hostname, like I said, it's been a while) was a primary
key for it. So in your config only one replica would run. I ended up
working around with a bunch of aliases. (The need for this hack was a
strong motivator for me to switch to syncrepl.) Your example is RFC1918
space so you probably don't want to publish CNAMEs, so something like (in
/etc/hosts on the slurpd machine):

192.168.0.2		slave slave-db1 slave-db2

and then in slapd.conf,
replica uri=ldap://slave-db1
replica uri=ldap://slave-db2

and so on. See if that helps; otherwise somebody with more current slurpd
knowledge might offer a correction.