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

Re: sync replicate glued database



On Tuesday, 19 June 2007, Hans Moser wrote:
> Hi!
>
> I have a glued DIT on a syncProvider:
>
> -----snip from slapd.conf------
> database meta
> subordinate
> suffix proxy,ou=foo
>
> database bdb
> subordinate
> suffix humans,ou=foo

overlay syncprov

>
> database bdb
> subordinate
> suffix system,ou=foo
>
> database bdb
> suffix ou=foo
>
> overlay glue
> overlay syncprov

You probably want to remove the syncprov overlay here.

>   syncprov-checkpoint 100 10
>   syncprov-sessionlog 100
> -----snap from slapd.conf------
>
> This should be replicated to a consumer:
>
> syncrepl rid=401
>          provider=ldap://provider
>          type=refreshAndPersist
>          retry="60 10 300 10 3600 10"
>          searchbase="ou=humans,ou=foo"
>          bindmethod=simple
>          binddn="cn=human,ou=mgr,ou=foo"
>          credentials=nothing
> updateref ldap://provider
>
>
> This does not work. Nothing is replicated.
>
> When I slapcat everthing, define one, global database und slapadd all in
> - so I don't have a glued DIT at the provider anymore, it works.
>
> Is the above configuration not working or did I a configuration error?

In 2.3, you can only syncrepl at the searchbase that contains a database with 
a syncprov overlay.

Also, you should not sync-repl a glued database, rather sync-repl the 
subordinates individually, and glue them back together on the consumer.

Regards,
Buchan


-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
http://en.wikipedia.org/wiki/List_of_Internet_slang_phrases

Attachment: pgphiniOvaMSw.pgp
Description: PGP signature