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]> 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 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]
> 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]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support