[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: entryCSN is larger (later) in consumer node than in provider node
- To: Quanah Gibson-Mount <quanah@zimbra.com>
- Subject: Re: entryCSN is larger (later) in consumer node than in provider node
- From: Frank Luo <frank.luoy@gmail.com>
- Date: Tue, 24 May 2016 15:55:04 -0400
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=RGKI2jnMr6snR+JSyIGDHFhXC6871XeOm0+sAi1TF7U=; b=Y7tQbtta7JpRbDjqsnRyvF1AZwVPNgYr0N8DzgyRzFBKmRflccQiBDqav8KtBc0URE I2wHzZ7n4XiQ0NlmZVKXSmV5opmQtwiOSUJe/B8Er9BqKeaRG0aj3c4Do6sZ/Cw+B8Xq zQTUq7XNkWtV42m/Wrr25MdqD89WwX9wm3KE8eVnckYWPDSEWLvd21luaZnyRrXlJb1e xeyuaetgkByn//w/EWKLWEGtPuaih/5Ey/Z5tYl1ipaFkHfu77gsy4KwSzrIeEutqzlv OkYP8woUBYmWSKdcni/D3iIgK5v8ZQJdkMXdnD4k3wflC9VesSUNT3ctHI8q1eX4C8hX k6rA==
- In-reply-to: <91D632D14CF870E93653AF84@192.168.1.19>
- References: <CAPdEfVKcYr0VzLWQB=4mtXJ_ayLp9Qq+Y90Rh0mitFR6wi=M6w@mail.gmail.com> <F7BFA5BFA93A0DDC28C3CFDD@192.168.1.19> <CAPdEfVJry8BJnEZX86Dwe_6-AttN35ONbbr5zCs0pQFERCt=Zg@mail.gmail.com> <91D632D14CF870E93653AF84@192.168.1.19>
but we always have two masters - and you can tell that this is pretty
current time tag.
contextCSN: 20160521215740.310825Z#000000#000#000000
Does this mean the slave gets updated from some other source in
additional to the two masters.
I am attache the replication portion of the slaver sever 3,
server2.u.com is one of the two masters
syncrepl rid=003
provider=ldap://server2.u.com
bindmethod=simple
binddn="cn=Manager,dc=u,dc=com"
credentials=password
searchbase="dc=u,dc=com"
schemachecking=on
type=refreshAndPersist
retry="60 +"
Thanks
Frank
On Tue, May 24, 2016 at 12:54 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
> Sure -- 000 is from when things were single master.
>
> --Quanah
>
> --On Tuesday, May 24, 2016 12:37 PM -0400 Frank Luo <frank.luoy@gmail.com>
> wrote:
>
>> Thanks. The two servers were off by 15 seconds
>>
>> I also checked contextCSN and see there were more than 1 values - any
>> idea there are multiple?
>>
>> To help you understand we have a multiple(2) masters and three slaves.
>>
>> on two masters (node1 and node 2), each has two contextCSN like this,
>> I can understand since they are in mirror mode, it get updates from
>> each other
>>
>> node 1:
>> contextCSN: 20160524152519.525094Z#000000#001#000000
>> contextCSN: 20160524152340.159717Z#000000#002#000000
>>
>> node 2:
>> contextCSN: 20160524152519.525094Z#000000#001#000000
>> contextCSN: 20160524152340.159717Z#000000#002#000000
>>
>>
>> on three slavers (nodes3,4 and5), each has 3 contextCSN. Where does
>> the third contextCSN come from - you can see the third one is out of
>> sync with each other.
>>
>> node 3:
>> contextCSN: 20160524152519.525094Z#000000#001#000000
>> contextCSN: 20160521215740.310825Z#000000#000#000000
>> contextCSN: 20160524152340.159717Z#000000#002#000000
>>
>> node 4:
>> contextCSN: 20160524152519.525094Z#000000#001#000000
>> contextCSN: 20160524152558.806951Z#000000#000#000000
>> contextCSN: 20160524152340.159717Z#000000#002#000000
>>
>> node 5:
>> contextCSN: 20150723095205.352520Z#000000#000#000000
>> contextCSN: 20160524152519.525094Z#000000#001#000000
>> contextCSN: 20160524152340.159717Z#000000#002#000000
>>
>> THanks
>>
>> Frank
>>
>>
>> On Mon, May 23, 2016 at 5:11 PM, Quanah Gibson-Mount <quanah@zimbra.com>
>> wrote:
>>>
>>> --On Monday, May 23, 2016 5:56 PM -0400 Frank Luo <frank.luoy@gmail.com>
>>> wrote:
>>>
>>>> All,
>>>>
>>>> I am having a out-of sync situation now with some entries' entryCSN
>>>> is larger (later) in consumer node than in provider node. So the
>>>> consumer never gets updated since it thinks it has the latest value.
>>>
>>>
>>>
>>> Check the clocks on each server. It is required that your clocks be
>>> tightly sync'd.
>>>
>>> --Quanah
>>>
>>>
>>> --
>>>
>>> Quanah Gibson-Mount
>>> Platform Architect
>>> Zimbra, Inc.
>>> --------------------
>>> Zimbra :: the leader in open source messaging and collaboration
>>> A division of Synacor, Inc
>
>
>
>
> --
>
> Quanah Gibson-Mount
> Platform Architect
> Zimbra, Inc.
> --------------------
> Zimbra :: the leader in open source messaging and collaboration
> A division of Synacor, Inc