Hello,
I set up 10 OpenLDAP Servers in MirrorMode replication.Â
(Using OpenLDAP 2.4.24)
syncrepl
[Server1] Â provider: server10, server2
[Server2] Â provider: server1, Â server3
[Server3] Â provider: server2, Â server4
[Server4] Â provider: server3, Â server5
[Server5] Â provider: server4, Â server6
[Server6] Â provider: server5, Â server7
[Server7] Â provider: server6, Â server8
[Server8] Â provider: server7, Â server9
[Server9] Â provider: server8, Â server10
[Server10] provider: server9, Â server1
(like the shape of a ring.)
When data was updated by Server1, the value was updated only by Server1 and Server3.Â
(Reproducibility is low)Â
Question
* How to investigate the cause which was not replicated?Â
* Although all the servers become a setup which serves both as a provider and a consumer, is there any problem?Â
* Is there the method(API) that can detect what was replicated?
Thanks.
Hiro
Configuration
Server1
---------------------------------------------------------------
overlay   syncprov
syncprov-checkpoint 100 5
syncprov-sessionlog 1000
serverID Â 1
syncrepl  rid=2
      provider=ldap://server2
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
syncrepl  rid=10
      provider=ldap://server10
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
mirrormode on
---------------------------------------------------------------
Server2
---------------------------------------------------------------
overlay   syncprov
syncprov-checkpoint 100 5
syncprov-sessionlog 1000
serverID Â 2
syncrepl  rid=1
      provider=ldap://server1
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
syncrepl  rid=3
      provider=ldap://server3
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
mirrormode on
---------------------------------------------------------------
Server3
---------------------------------------------------------------
overlay   syncprov
syncprov-checkpoint 100 5
syncprov-sessionlog 1000
serverID Â 3
syncrepl  rid=2
      provider=ldap://server2
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
syncrepl  rid=4
      provider=ldap://server4
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
mirrormode on
---------------------------------------------------------------
....
Server10
---------------------------------------------------------------
overlay   syncprov
syncprov-checkpoint 100 5
syncprov-sessionlog 1000
serverID Â 10
syncrepl  rid=9
      provider=ldap://server9
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
syncrepl  rid=1
      provider=ldap://server1
      bindmethod=simple
      binddn="cn=Manager,dc=my-domain,dc=com"
      credentials="secret"
      searchbase="dc=my-domain,dc=com"
      schemachecking=off
      type=refreshAndPersist
      retry="2 30 30 +"
mirrormode on
---------------------------------------------------------------