Re: Mirrormode Docs

Howard Chu <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Brett @Google wrote:

> I wonder out of interest, is it legal to have something like the
> following on both nodes (that is with two different rid=xxx syncrepl
> statements) ?

Yes.

> This would in theory allow the same config on both servers, assuming
> it was acceptable config-wise.
>
> Cheers
> Brett
>
> --- cut ---
>
>         # Global section
>
>         serverID        1   ldap://ldap-sid1.example.com
>         serverID        2   ldap://ldap-sid2.example.com
>
>         # database section
>
>         # syncrepl directive
>         syncrepl      rid=001
>                       provider=ldap://ldap-sid2.example.com
>                       bindmethod=simple
>                       binddn="cn=mirrormode,dc=example,dc=com"
>                       credentials=mirrormode
>                       searchbase="dc=example,dc=com"
>                       schemachecking=on
>                       type=refreshAndPersist
>                       retry="60 +"
>
>         syncrepl      rid=002
>                       provider=ldap://ldap-sid1.example.com
>                       bindmethod=simple
>                       binddn="cn=mirrormode,dc=example,dc=com"
>                       credentials=mirrormode
>                       searchbase="dc=example,dc=com"
>                       schemachecking=on
>                       type=refreshAndPersist
>                       retry="60 +"
>
>         mirrormode on
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.