Thanks Tibiz for the reply.Will it be a good idea to move the cluster IP in
a different Ethernet interface (eth1)?

Regards,
Sathish


On Fri, Mar 28, 2014 at 3:22 PM, tibz <[email protected]> wrote:

>  Hello,
>
> I've encountered this but only once or twice in a year, but indeed when it
> happen, VIPs stops responding as network devices (router) have updated
> their arp cache en believe the VIP is on your secondary zlb.
> Do you have this often? It can eventually happen on network peak or system
> load peak that vrrp packet are lost/not processed in time, but not
> frequently.
>
> To mitigate this, you can edit the /etc/init.d/zenloadbalancer file.
> Search for "ucarp" and add/edit the deadratio. By default (if not
> specified) it's 3. You may increase it to 5 or even more. (just be aware
> that it will slow down a little bit the failover in case or real problem)
>
> There are 2 places to add this, here is an example (parameter is "-r 5"):
>                         my @eject = system("$ucarp $ignoreifstate
> --interface=@cliface[2] --srcip=$lip --vhid=2 --pass=secret
> --addr=@cliface[1] --upscript=/usr/local/zenloadbalancer/app/zenlatency/
> zenlatency-start.pl--downscript=/usr/local/zenloadbalancer/app/zenlatency/
> zenlatency-stop.pl -r 5 -B -f local6");
>
> (more info about ucarp parameter at
> http://manpages.ubuntu.com/manpages/precise/en/man8/ucarp.8.html)
>
> However note that this workaround is only if you have false positive
> failover occasionnaly. If it happen often, you likely have another problem
> to fix.
>
> Regards,
>
>
>
> On 27/03/2014 22:34, Sathish Gangadharan wrote:
>
>  Even after installing VMware tools, updating NTP server the error seems
> to be reoccurring. We had also got confirmation from Network team that vrrp
> is not blocked at switch level. But still this error is appearing in
> /var/log/messages.
>
> Is there any thing else that needs to be checked for arresting this issue?
>
>
> On Fri, Mar 14, 2014 at 3:35 PM, Emilio Campos <
> [email protected]> wrote:
>
>>   check:
>>  -ntp syncronization
>>  -if you are working with virtual machines, ensure that the vmware tools,
>> xen tools or similar are installed.
>>  -confirm that switches are nol locking vrrp packages.
>>
>>  Regards
>>
>>
>> 2014-03-14 7:12 GMT+01:00 Sathish Gangadharan <
>> [email protected]>:
>>
>>>   Hello ZenLB Admins,
>>>
>>> We had implemented Zen LB (opensource) v3.03 for loadbalancing proxy
>>> servers. A virtual IP with L4xNAT profile is being used for load balancing
>>> 3 servers and there are 2 nodes in the cluster (Cluster Type: LB01 or LB02
>>> can be masters).
>>>
>>> We are facing flapping issue between the LB nodes. Unfortunately, when
>>> this issue occurs the service goes down completely. Can someone throw some
>>> light on this issue?
>>>
>>> Here are the logs taken from both the LBs:
>>>
>>> 192.168.1.5 (Primary)
>>>
>>> Mar 13 15:38:24 LB1 ucarp[3949]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>> Mar 13 15:38:24 LB1 ucarp[3949]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>> Mar 13 15:38:24 LB1 ucarp[3949]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>> Mar 13 17:15:02 LB1 ucarp[15913]: [INFO] Local advertised ethernet
>>> address is [00:50:56:85:1a:e2]
>>> Mar 13 17:15:02 LB1 ucarp[15913]: [WARNING] Switching to state: BACKUP
>>> Mar 13 17:15:02 LB1 ucarp[15913]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-stop.pl eth0
>>> 192.168.1.7]
>>> Mar 13 17:15:09 LB1 ucarp[15913]: [WARNING] Switching to state: MASTER
>>> Mar 13 17:15:09 LB1 ucarp[15913]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-start.pl eth0
>>> 192.168.1.7]
>>> Mar 13 17:15:24 LB1 ucarp[15913]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>> Mar 13 17:15:24 LB1 ucarp[15913]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>> Mar 13 17:15:24 LB1 ucarp[15913]: [WARNING] Non-preferred master
>>> advertising: reasserting control of VIP with another gratuitous arp
>>>
>>> 192.168.1.6 (Secondary)
>>> Mar 13 15:38:15 LB2 ucarp[3546]: [WARNING] Switching to state: MASTER
>>> Mar 13 15:38:15 LB2 ucarp[3546]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-start.pl eth0
>>> 192.168.1.7]
>>> Mar 13 15:38:24 LB2 ucarp[3546]: [WARNING] Switching to state: BACKUP
>>> Mar 13 15:38:24 LB2 ucarp[3546]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-stop.pl eth0
>>> 192.168.1.7]
>>> Mar 13 15:38:29 LB2 ucarp[3546]: [WARNING] Preferred master advertised:
>>> going back to BACKUP state
>>> Mar 13 17:15:07 LB2 ucarp[14526]: [INFO] Local advertised ethernet
>>> address is [00:50:56:85:1a:e3]
>>> Mar 13 17:15:07 LB2 ucarp[14526]: [WARNING] Switching to state: BACKUP
>>> Mar 13 17:15:07 LB2 ucarp[14526]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-stop.pl eth0
>>> 192.168.1.7]
>>> Mar 13 17:15:15 LB2 ucarp[14526]: [WARNING] Switching to state: MASTER
>>> Mar 13 17:15:15 LB2 ucarp[14526]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-start.pl eth0
>>> 192.168.1.7]
>>> Mar 13 17:15:24 LB2 ucarp[14526]: [WARNING] Switching to state: BACKUP
>>> Mar 13 17:15:24 LB2 ucarp[14526]: [WARNING] Spawning
>>> [/usr/local/zenloadbalancer/app/zenlatency/zenlatency-stop.pl eth0
>>> 192.168.1.7]
>>> Mar 13 17:15:29 LB2 ucarp[14526]: [WARNING] Preferred master advertised:
>>> going back to BACKUP state
>>>
>>> Many Thanks
>>>  Sathish
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> _______________________________________________
>>> Zenloadbalancer-support mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>>
>>>
>>
>>
>> --
>> Load balancer distribution - Open Source Project
>> http://www.zenloadbalancer.com
>> Distribution list (subscribe):
>> [email protected]
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Zenloadbalancer-support mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Zenloadbalancer-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
------------------------------------------------------------------------------
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to