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

syncrepl and glued databases



Hello List,

is it OK to glue a database via replication from different suffixes together? What I tried:

syncrepl        rid=010                                                                                                                                                                                                                         
                provider=ldap://master01
                searchbase="dc=example,dc=com"
                keepalive=300:5:5
                retry="10 10 300 10 600 +"
                binddn="cn=syncuser,dc=example,dc=com"
                bindmethod=simple
                schemachecking=off
                credentials=secret
                scope=sub
                attrs="*,+"
                type=refreshAndPersist

syncrepl        rid=020
                provider=ldap://master02
                searchbase="ou=glue1"
                keepalive=300:5:5
                retry="10 10 300 10 600 +"
                binddn="cn=syncuser,dc=example,dc=com"
                bindmethod=simple
                schemachecking=off
                credentials=secret
                scope=sub
                type=refreshAndPersist
                attrs="*,+"
                suffixmassage="ou=glue2,dc=example,dc=com"

syncrepl        rid=030
                provider=ldap://master03
                searchbase="ou=glue2"
                keepalive=300:5:5
                retry="10 10 300 10 600 +"
                binddn="cn=syncuser,dc=example,dc=com"
                bindmethod=simple
                schemachecking=off
                credentials=secret
                scope=sub
                type=refreshAndPersist
                attrs="*,+"
                suffixmassage="ou=glue2,dc=example,dc=com"

This seems to work. Is this OK? Or should I use the traditional way with subordinate and glued databases?

Background: this replica should be the sync master for a bunch of other hosts.

Thanks for any hint.

Regards Uwe