[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
MirrorMode Replication Problem
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: MirrorMode Replication Problem
- From: rocketdive5@yahoo.co.jp
- Date: Tue, 27 Nov 2012 18:01:22 +0900 (JST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1354006882; bh=wlhCiIx+odxAtNCddKljEjpi/DQ769D8UmNeS+LBCeI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Wwo0McAyodZQW5ywi7AtwktKViRx14Fj/D7AEnk0+nbkAALPZPEOhoXbcyZXpbLAKYcshiundV9iX9lzaWHqSet40D8wWipzR/LRUZxPu8ayOdu1r844cZ8Itp9tTUeYAfnpSSRz3uoEH+srSKNeAJnMUD6o7Wn8Ms7mP6lJMQ4=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=J5QqR4PhBDuShW6k9ZLODvlIPV6TnvB0EvkZtztP+rXBjwZWwLXRcXNi6yqoJ96a7QHYjJ6WnhJO1EqJrcjy3xYb8eYvOSSYmqYvwmpGuJ6zcjCcfdgcJqCABNcSnDnoA7B9HiQ6bbEyLbxMgug4g37s9T/wdhYj1FDZCUynqms=;
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
---------------------------------------------------------------