Hello,
It's a bug that will be corrected in next version. Meanwhile you can fix it by reading this:

I see the routine that starts farm 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 routine 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.

On 28/03/2014 12:31, Florent B wrote:
Other thing : when ZLB1 came back again as master, FG is not working.
I have to manually click on "modify" via GUI to get service started again.

On 03/28/2014 12:04 PM, Florent B wrote:
Hi list,

I have 2 ZLB nodes configured as cluster, ZLB1 & ZLB2.

ZLB1 is configured to be master, and ZLB2 backup node.

I have a few L4xNAT farms with FarmGuardian configured.

All is working fine when ZLB1 is online.

But when ZLB1 is stopped and ZLB2 become master, farms are running but
it seems Farmguardian not !

I have no FG logs on ZLB2 when it's master. And all nodes appears online
even if one is offline.

Is it an expected behaviour or did I miss something in configuration ?

Thank you all.

------------------------------------------------------------------------------
_______________________________________________
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

------------------------------------------------------------------------------
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to