Re: Question about TCP balancing

2009-08-09 Thread Willy Tarreau
On Thu, Aug 06, 2009 at 12:33:02PM +0400, Dmitry Sivachenko wrote: So I should stick with 1.4 for that purpose, right? exactly. However, keep in mind that 1.4 is development, and if you upgrade frequently, it may break some day. So you must be careful. Okay, what is the estimated

Re: Question about TCP balancing

2009-08-06 Thread Dmitry Sivachenko
On Thu, Aug 06, 2009 at 12:03:25AM +0200, Willy Tarreau wrote: On Wed, Aug 05, 2009 at 12:01:34PM +0400, Dmitry Sivachenko wrote: On Wed, Aug 05, 2009 at 06:30:39AM +0200, Willy Tarreau wrote: frontend my_front acl near_usable nbsrv(near) ge 2 acl far_usable nbsrv(far) ge 2

Re: Question about TCP balancing

2009-08-05 Thread Dmitry Sivachenko
On Wed, Aug 05, 2009 at 06:30:39AM +0200, Willy Tarreau wrote: frontend my_front acl near_usable nbsrv(near) ge 2 acl far_usable nbsrv(far) ge 2 use_backend near if near_usable use_backend far if far_usable # otherwise error backend near balance

Re: Question about TCP balancing

2009-08-04 Thread Dmitry Sivachenko
Hello! Thanks for clarification. I have another question then (trying to solve my problem in a different way). I want to setup the following configuration. I have 2 sets of servers (backends): let call one set NEAR (n1, n2, n3) and another set FAR (f1, f2, f3). I want to spread incoming

Question about TCP balancing

2009-08-03 Thread Dmitry Sivachenko
Hello! I am trying to setup haproxy 1.3.19 to use it as TCP load balancer. Relevant portion of config looks like: listen test 0.0.0.0:17000 mode tcp balance roundrobin server srv1 srv1:17100 check inter 2 server srv2 srv2:17100 check inter 2

Re: Question about TCP balancing

2009-08-03 Thread Willy Tarreau
Hello Dmitry, On Mon, Aug 03, 2009 at 02:24:47PM +0400, Dmitry Sivachenko wrote: Hello! I am trying to setup haproxy 1.3.19 to use it as TCP load balancer. Relevant portion of config looks like: listen test 0.0.0.0:17000 mode tcp balance roundrobin server