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

Re: Mirrormode Docs



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/