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

Re: Slave connecting to maser always stay connected?



On 3/30/10 8:51 PM, Quanah Gibson-Mount wrote:
> --On Tuesday, March 30, 2010 12:23 PM -0600 Mathew Rowley
> <mathew_rowley@cable.comcast.com> wrote:
> 
>> I have a setup with 2 masters (nway multimaster) and 4 slaves each having
>> syncrepl set up to connect to the 2 masters.  The question I have, with
>> the following configuration (on the slaves) should they always be
>> connected to the masters?  Netstat is showing that the connections are
>> intermittent:
>>
>> type=refreshAndPersist retry="60 +"
>>
>>
>> Netstat on the masters shows that the connections from the slaves will
>> vary – sometimes 0, sometimes 4 – seems to be somewhat random.  We
>> are trying to determine if there is something wrong in our network.
>> Thanks for the help.
> 
> Yes, that's what refreshAndPersist implies.  The connections from the
> replica should stay connected to the provider, unless the network is
> flaky, a firewall is timing them out, etc.  Or you stop/restart the
> slapd on either side. ;)

... or (possibly) your accesslog purges:

http://www.openldap.org/lists/openldap-software/201003/msg00066.html

Are you using delta-syncrepl?