Hi José,

Thank you for your answer. With this setup, it seems indeed to work. Weird enough that you have to use 0 as priority value because the documentation on the website clearly state "The priority value accepted is between 1 and 9", so there must be a little bug somewhere.

Thanks again
tibz

On 14/1/2013 1:21 PM, José García Robles wrote:
Hi, Tibz.

I have been trying some diferent settings and this is the way it worked for me:

I have used priority algorithm.

I didn't mark client persistence in the global parameters

1st server with priority 0 (didn't work right with other values).
2nd server with priority greater than 0 (I selected priority 5).

With this config, all the connections went to the first server when it was active. When it was down, all the connections went to the second server. When the first server were back, all the conections went to it again.

I think you must try this and let me now if it works for you.

Best regards...


2013/1/11 tibz <[email protected] <mailto:[email protected]>>

    Hello and happy new year to everybody.

    Now that the holiday period is over, the management is coming back
    to me to get a status. Any chance to have a confirmation whether
    it's a bug or not and what to do?

    Thanks
    tibz


    On 14/12/2012 4:04 PM, tibz wrote:
    Thanks Emilio, i'm using v2 stable.

    root@VMWZLB001:~# dpkg -l | grep zenload
    ii    zenloadbalancer                2.0     Zen Load Balancer v2.0

    tibz

    On 14/12/2012 3:46 PM, Emilio Campos wrote:
    I'm not sure but I remember something about this issue. I would
    swear It was solved in v2stable

    tibz what version are you running?


    2012/12/13 tibir <[email protected] <mailto:[email protected]>>

        Hi Laura,

        Thank you for your answer, but have you read my mail
        entirely or just
        the first sentence? ;-)
        I'm doing with priority, but unfortunately that doesnt work as
        expected/described in the doc.
        Look at my config below ... I'm using prio, and have set the
        prio value
        to each server. But nevertheless, the first client is sent
        to server 0,
        the second client is sent to server 1 and so on. I tried
        restart the
        farm but does not help.

        Thanks
        tibz


        On 13/12/2012 18:01, Laura Garcia wrote:
        > Hi, you're describing the priority algorithm.
        > In the official documentation you'll find the information
        and priority
        > values to make this work for tcp farms.
        >
        > Laura.
        >
        > El 13/12/2012 16:34, "tibz" <[email protected]
        <mailto:[email protected]> <mailto:[email protected]
        <mailto:[email protected]>>>
        > escribió:
        >
        >     Hello,
        >
        >     I'm trying to achieve some kind of failover between 2
        servers instead of
        >     load balancing. So I want all client to always be
        directed to the same
        >     servers as long as it's online (nevermind the load,
        number of
        >     connections, etc) and be directed to the 2nd servers
        when the 1st is not
        >     reachable.
        >     Reading at the doc, priority was the way to go.
        >
        >     I thought that was easy to achieve but I cannot get it
        to work, I tried
        >     with weight, priority, but it always end into load
        balancing.
        >
        >     Is this achievable? Can you give me some guidelines?
        >
        >     Thanks
        >     tibz
        >
        >     My pen config:
        > root@VMWZLB001:/usr/local/zenloadbalancer/config# cat
        >     ZLB-IRONPORTS-RELAY_pen.cfg
        >     # Generated by pen 2012-12-12 13:21:02
        >     # pen -S 10 -c 2000 -x 2000 -F
        >
        '/usr/local/zenloadbalancer/config/ZLB-IRONPORTS-RELAY_pen.cfg'
        -C
        > 127.0.0.1:13505 <http://127.0.0.1:13505>
        <http://127.0.0.1:13505> 192.168.135.8:25
        <http://192.168.135.8:25>
        >     <http://192.168.135.8:25>
        >     no acl 0
        >     no acl 1
        >     no acl 2
        >     no acl 3
        >     no acl 4
        >     no acl 5
        >     no acl 6
        >     no acl 7
        >     no acl 8
        >     no acl 9
        >     acl 9 deny 0.0.0.0 0.0.0.0
        >     no ascii
        >     blacklist 30
        >     no block
        >     client_acl 0
        >     control_acl 0
        >     debug 0
        >     no delayed_forward
        >     no hash
        >     no http
        >     no log
        >     no roundrobin
        >     server 0 acl 0 address 192.168.90.8 port 25 max 0 hard
        0 prio 2
        >     server 1 acl 0 address 192.168.90.9 port 25 max 0 hard
        0 prio 1
        >     server 2 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 3 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 4 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 5 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 6 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 7 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 8 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     server 9 acl 0 address 0.0.0.0 port 0 max 0 hard 0 prio 0
        >     no stubborn
        >     timeout 5
        >     tracking 0
        >     no web_stats
        >     no weight
        >     prio
        >
        >
        
------------------------------------------------------------------------------
        >     LogMeIn Rescue: Anywhere, Anytime Remote support for
        IT. Free Trial
        >     Remotely access PCs and mobile devices and provide
        instant support
        >     Improve your efficiency, and focus on delivering more
        value-add services
        >     Discover what IT Professionals Know. Rescue delivers
        > http://p.sf.net/sfu/logmein_12329d2d
        > _______________________________________________
        >     Zenloadbalancer-support mailing list
        > [email protected]
        <mailto:[email protected]>
        >     <mailto:[email protected]
        <mailto:[email protected]>>
        >
        https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
        >
        >
        >
        >
        
------------------------------------------------------------------------------
        > LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
        Free Trial
        > Remotely access PCs and mobile devices and provide instant
        support
        > Improve your efficiency, and focus on delivering more
        value-add services
        > Discover what IT Professionals Know. Rescue delivers
        > http://p.sf.net/sfu/logmein_12329d2d
        >
        >
        >
        > _______________________________________________
        > Zenloadbalancer-support mailing list
        > [email protected]
        <mailto:[email protected]>
        >
        https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
        >


        
------------------------------------------------------------------------------
        LogMeIn Rescue: Anywhere, Anytime Remote support for IT.
        Free Trial
        Remotely access PCs and mobile devices and provide instant
        support
        Improve your efficiency, and focus on delivering more
        value-add services
        Discover what IT Professionals Know. Rescue delivers
        http://p.sf.net/sfu/logmein_12329d2d
        _______________________________________________
        Zenloadbalancer-support mailing list
        [email protected]
        <mailto:[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]
    <mailto:[email protected]>



    
------------------------------------------------------------------------------
    LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
    Remotely access PCs and mobile devices and provide instant support
    Improve your efficiency, and focus on delivering more value-add services
    Discover what IT Professionals Know. Rescue delivers
    http://p.sf.net/sfu/logmein_12329d2d


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



    
------------------------------------------------------------------------------
    LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
    Remotely access PCs and mobile devices and provide instant support
    Improve your efficiency, and focus on delivering more value-add services
    Discover what IT Professionals Know. Rescue delivers
    http://p.sf.net/sfu/logmein_12329d2d


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


    
------------------------------------------------------------------------------
    Master HTML5, CSS3, ASP.NET <http://ASP.NET>, MVC, AJAX,
    Knockout.js, Web API and
    much more. Get web development skills now with LearnDevNow -
    350+ hours of step-by-step video tutorials by Microsoft MVPs and
    experts.
    SALE $99.99 this month only -- learn more at:
    http://p.sf.net/sfu/learnmore_122812
    _______________________________________________
    Zenloadbalancer-support mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support




--
José García Robles
Open Source Business Development
[email protected] <mailto:[email protected]>
+34677751363
www.sofintel.net <http://www.sofintel.net/>


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412


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

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to