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

Re: syncrepl only updates after consumer restart



Robert Fitzpatrick wrote:
I have 2.3.38 running on a provider and two consumers. Not every time,
but most of the time, when I make an update to the provider, the
consumers do not receive until I manually go there and restart the
consumer, then all updates. I have loglevel set to 512 on both machines,
is this enough to catch the problem. I have grep'd the debug.log on
these FreeBSD machines and can't find any warn or error messages.

loglevel sync stats

etc:

16384  (0x4000 sync) LDAPSync replication


What is the best way for me to find the problem? Also, I'd like to know if by merely replacing the syncrepl parameters from slapd.conf with the overlay parameters, will this will make a consumer a master server in the event of the provider going down indefinitely? And then be able to redirect other consumers to this new provider?

Provider:
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100

Consumer 1:
syncrepl rid=123
                provider=ldap://ldap.example.com:389
                type=refreshOnly
                interval=00:00:05:00

You obviously waited for over 5 minutes, right?

Gavin.

--
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/