[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
syncrepl constantly desyncing
- To: OpenLDAP Technical List <openldap-technical@openldap.org>
- Subject: syncrepl constantly desyncing
- From: "Eugene M. Zheganin" <eugene@zhegan.in>
- Date: Sat, 25 Jun 2016 09:52:38 +0500
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=vivat-retail.ru; s=key; t=1466830351; bh=0q294nmhLT1SO//u7mH01/U/eBMubSdaPrx80TrwwiA=; h=From:Subject:To:Date; b=W8Q1rvTRpnxXrDzUZHqFDRe7nj1G12t+8TWQqhWIxvCv/Ps40J42FcMmqchJQyopE MZRr/upEU/aNQASMtto+uwPqOzT4AfH5SpeCt3W53HF4gNAGNtao3BwPzzRisxfVuS 0FbaP1hKuTka1q9tIImCC68p0m3954k/NEdHVY0M=
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
Hi,
I'm using a configuration with two slapd servers, master and replica.
The problem is that replica is constantly desyncing. I'm monitoring it's
number of users and groups and the cound of members of one particular
group. Users and group entities are always in sync, but entities like
groupOfUniqueNames are desyncing - they are not receiveing deltas from
master, keeping their members count constant.
My config (done according to the documentation):
===Cut===
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
syncrepl rid=123
provider=ldap://xx.xx.xx.xx:389
type=refreshAndPersist
interval=00:00:10:00
retry="60 10 300 +"
filter="(objectClass=*)"
searchbase="dc=my,dc=domain"
attrs="*,+"
schemachecking=off
bindmethod=simple
binddn="uid=proxy,ou=accounts,ou=internal,dc=my,dc=domain"
credentials=XXXXXXXXXXXXXX
===Cut===
I've also tried the refreshOnly method, which gave me same result. In
order to resync replica I have to flush the directory contents each time
and restart the slapd. I'm also suspecting that this desyncing happens
because for some reason replica slapd isn't refreshing attribute values,
only entities themselves: today I found a user, which userPassword
attributes were out of sync on the replica. As far as I understand the
documentation, syncrepl should sync the attributes.
And the last question - is there any simple way to enable logging of
syncrepl warnings and errors ? My experience with openldap logging tells
me there's to mode of logging - "none" and "generate 10Gb of logs per
day", but may me it's just me.
Thanks.
Eugene.