Good catch tibz.

Please find enclosed the /etc/init.d/zenloadbalancer service script with
the fixes for the hardcoded cluster vhid and the farmguardian status issue.

Regards.


On Thu, Dec 12, 2013 at 7:28 PM, Laura Garcia <[email protected]> wrote:

> Hi, let me check it and I let you know.
>
> Thank you.
>
>
> On Thu, Dec 12, 2013 at 3:29 PM, tibz <[email protected]> wrote:
>
>> Hello,
>>
>> Meanwhile i've been investigating and found the following.
>>
>> I see the routine that starts fam in /etc/init.d/zenloadbalancer, the
>> following:
>>
>>                          #farmguardian configured and up?
>>                          $fgstatus = &getFarmGuardianStatus($farmname);
>>                          if (($status == 0) && ($fgstatus == 0)){
>>                                  print "  * Starting Farm Guardian for
>> $farmname:";
>>
>> And in the routing getFarmGuardianStatus from farms_functions.cgi, this:
>>
>>          if ($value =~ /true/){
>>                  return 1;
>>          } else {
>>                  return 0;
>>          }
>>
>>
>> So the first want to get a 0 to start it, but the routing send back a 1
>> if it needs to be started, so it doesnt match.
>> I've then modified the startup script from
>>
>> if (($status == 0) && ($fgstatus == 0)){
>>
>> to
>>
>> if (($status == 0) && ($fgstatus == 1)){
>>
>> And it did the trick.
>>
>> Cheers,
>> tibz
>>
>> On 12/12/2013 13:08, tibz wrote:
>> > Hello,
>> >
>> > I've a zlb v3.03 cluster with one L4 farm + farmguardian.
>> >
>> > Uppon failover (ie: i reboot the primary node),  the farm is started on
>> > the secondary node, but farmguardian is not started.
>> >
>> > Once the primary is back, if I failback to it (by rebooting the
>> > secondary node), same thing, the farm is started by without farm
>> guardian.
>> >
>> > Is that a know issue? Is there an easy fix for that?  I've workaround
>> > the vrrp ID issue (see other thread) by hardcoding it into the startup
>> > script, but this farmguardian issue is more critical.
>> >
>> > Thanks
>> > tibz
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Rapidly troubleshoot problems before they affect your business. Most IT
>> > organizations don't have a clear picture of how application performance
>> > affects their revenue. With AppDynamics, you get 100% visibility into
>> your
>> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>> AppDynamics Pro!
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Zenloadbalancer-support mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>
>

Attachment: zenloadbalancer
Description: Binary data

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to