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

3 database multimaster



Hi

Has anyone ever setup a three database multimaster system?

All examples and documentation I've found refer to two system multimastering (and there aren't many of them!)

I'm trying to create a system where I have two slaves and one master, most changes are made to the master and replicated to the slaves, but any updates to the
slaves need to be replicated back to the master and back down to the other slave from time to time.


Any suggestions would be much appreciated.

The problem I have here is that you can't have multiple updatedn directives in slapd.conf, otherwise I'd use the following.

<slapd.conf.0>
replica host=host1:389
  binddn="cn=REPLICATOR0,o=someorg"
  bindmethod=simple credentials=passwd

replica host=host2:389
  binddn="cn=REPLICATOR0,o=someorg"
  bindmethod=simple credentials=passwd

updatedn cn=REPLICATOR1,o=someorg
updatedn cn=REPLICATOR2,o=someorg
</slapd.conf.0>

<slapd.conf.1>
replica host=host0:389
  binddn="cn=REPLICATOR1,o=someorg"
  bindmethod=simple credentials=passwd

replica host=host2:389
  binddn="cn=REPLICATOR1,o=someorg"
  bindmethod=simple credentials=passwd

updatedn cn=REPLICATOR0,o=someorg
updatedn cn=REPLICATOR2,o=someorg
</slapd.conf.1>

<slapd.conf.2>
replica host=host0:389
  binddn="cn=REPLICATOR2,o=someorg"
  bindmethod=simple credentials=passwd

replica host=host1:389
  binddn="cn=REPLICATOR2,o=someorg"
  bindmethod=simple credentials=passwd

updatedn cn=REPLICATOR0,o=someorg
updatedn cn=REPLICATOR1,o=someorg
</slapd.conf.2>

Cheers
Don