Sharing stick stable with 2 instances

2013-04-18 Thread Daniel Schultze
Is there a feature in 1.4 to share a sticky table between two or more instances of haproxy. In my situation these instances will run on different servers but point to the same backend. -Dan

Re: Problems integrating HA1.4 with keepalived

2013-04-18 Thread Thomas Heil
Hi Joshua, You are a bit off topic. Please ask for details with keepalived on keepalived mailinglist. On 04/18/13 20:42, Joshua Chee wrote: > update: > not very smart with http_get as haproxy is configured to RR between > apache. Thus if 1 apache is down, it will still reflect as real server > do

Re: HAProxy on FreeBSD 8.3 with transparent proxying (TProxy?)

2013-04-18 Thread PiBa-NL
Hi All / Baptiste, It seams i have found error in my initial email sorry for that. It should have mentioned IP_BINDANY in the example line of code instead of IP_FREEBIND. Still the my problem remains the same. Returning SYN-ACK packets are not recieved/intercepted by HAProxy. And the browser

Re: Additional colours in web interface for soft stop?

2013-04-18 Thread Geoff Bucar
Hi all, I'm not sure if this is duplicating functionality that wasn't functional or not, but here are the changes I've made to the latest snapshot to support the functionality I was requesting. This is an output of a 'diff -C 3' of my changes to dumpstats.c . Can one of the devs weigh in on whet

Re: HA Proxy FTP Load Balancing Timeout

2013-04-18 Thread Alok Kumar
Ben Timby writes: > > > > On Thu, Apr 18, 2013 at 3:38 PM, Alok Kumar wrote:Hi Ben, > In my case we are load balancing across FTP servers. > FTP uses two data channel and command channel port for data transfer. > > > > > I use haproxy for the same purpose. Closing the command channel will

Re: [PATCH] MINOR: stats: remove the autofocus on the scope input field

2013-04-18 Thread Willy Tarreau
On Thu, Apr 18, 2013 at 10:38:35PM +0200, Cyril Bonté wrote: > commit 88c278fadf provided a new input field on the statistics page which was > focused by default. The autofocus prevent to scroll down the page with the > keyboard immediately afterloading it, without the need to leave that field. > I

[PATCH] MINOR: stats: remove the autofocus on the scope input field

2013-04-18 Thread Cyril Bonté
commit 88c278fadf provided a new input field on the statistics page which was focused by default. The autofocus prevent to scroll down the page with the keyboard immediately afterloading it, without the need to leave that field. It also interfered with "stats refresh" by scrolling up to this field

RE: 'maxconn' usages

2013-04-18 Thread Lukas Tribus
Hi Merton, > I have about 800 mb memory left when all services are running (with > minimal traffic and load). The per-connection memory usage of my > backend is about 25 kb. > [...] > But I do want to serve optimally (or get the best performance) for > any number <= 2000 connections. Well you s

Balance Roundrobin vs Balance Source

2013-04-18 Thread haproxy
Hi All, We have HAPROXY 1.4.22 running in our environment, one issue that I have encountered during testing concerns source IP address affinity, we are trying to achieve a form of Sticky Session persistence. I noticed that if we have the following configuration in place then we experience probl

Micro Ayuda del 81% Para Creacion Paginas Web (Colombia)

2013-04-18 Thread CAMARA DE COMERCIO E INDUSTRIA EUROP. E IND.
MICRO AYUDA 81 % + FINANCIACION 19% (INMEDIATA) PARA CREACION PAGINA WEB CON VENTA ONLINE + Plataforma Movil (.mobi) >>> SIN LETRA PEQUEÑA <<< Atencion a Empresas de Colombia: +57 (1) 381.68.50. - Solicitud Directa: www.institex.com/subvenciones Estimado Empresario: La INSTITUC

Re: HA Proxy FTP Load Balancing Timeout

2013-04-18 Thread Ben Timby
On Thu, Apr 18, 2013 at 3:38 PM, Alok Kumar wrote: > Hi Ben, > In my case we are load balancing across FTP servers. > > FTP uses two data channel and command channel port for data transfer. > I use haproxy for the same purpose. Closing the command channel will not affect a transfer in any way, u

Re: HA Proxy FTP Load Balancing Timeout

2013-04-18 Thread Alok Kumar
Ben Timby writes: > > > Alok, > > > On Tue, Apr 16, 2013 at 8:26 PM, Alok Kumar wrote:I have a HA Proxy server(1.4), thzt is  load balacing FTP traffic to Six FTP > servers. > I noticed that Load Balancer is dropping traffic after 50 sec, where as there > was a valid ftp control port and

Re: Problems integrating HA1.4 with keepalived

2013-04-18 Thread Joshua Chee
update: not very smart with http_get as haproxy is configured to RR between apache. Thus if 1 apache is down, it will still reflect as real server down, which is not how i want it, i only want it to be down only when all apache of the webfarm is down. the vrrp_script is checking if haproxy is runn

Re: Problems integrating HA1.4 with keepalived

2013-04-18 Thread Joshua Chee
ok able to get vrrp to detect webfarms down by http_get on vrrp, however still unable to change the state or reduce the priority of MASTER global_defs { notification_email { x...@.com } notification_email_from x...@.com smtp_server 127.0.0.1 smtp_connect_timeout 30

Re: Problems integrating HA1.4 with keepalived

2013-04-18 Thread Joshua Chee
shared IP=192.168.88.95 || keepalived1 keepalived2 || haproxy1 haproxy2 192.168.88.96:80 192.168.88.97:80 | | |||| apache1 apache2 a

Re: 'maxconn' usages

2013-04-18 Thread Merton Lister
> How much free memory do you have left and how much does your backend > software consume per connection? I have about 800 mb memory left when all services are running (with minimal traffic and load). The per-connection memory usage of my backend is about 25 kb. Given the purpose and normal usag

Problems integrating HA1.4 with keepalived

2013-04-18 Thread Joshua Chee
I am running 2VRRP and 2HA. Each VRRP is linked to 1 HA and each HA is linked to 2 apache webserver. I am only able to make the vrrp failover when i stop the vrrp service, not able to do that when i stop the haproxy service or stop all apache services. Is there a way for haproxy to stop or reflec

RE: 'maxconn' usages

2013-04-18 Thread Lukas Tribus
> These connections tend to stay open for 30-60 mins Ok. > Currently, I have only one process of this backend running with HAProxy > on the same machine (actually VPS). The machine has 8-core cpu and 1g > memory.  How much free memory do you have left and how much does your backend software con

Re: backport d16a1b2a818359e8c3ade85f789e66ed7ca9488c

2013-04-18 Thread Willy Tarreau
Hi Lukas, On Thu, Apr 18, 2013 at 03:39:18PM +0200, Lukas Tribus wrote: > Hi Willy! > > > > Done, thanks Thomas! > > Can you also push it so that people see it in git and a nightly snapshot > is created? ah yes, stupid me, I forgot to push, done now! > The bug is pretty major, if it is in git

RE: backport d16a1b2a818359e8c3ade85f789e66ed7ca9488c

2013-04-18 Thread Lukas Tribus
Hi Willy! > Done, thanks Thomas! Can you also push it so that people see it in git and a nightly snapshot is created? The bug is pretty major, if it is in git and there are snapshots with this fix included at least we don't forget about it and people not following the ML are aware of it (like p

Re: Re-distributing the sticky table

2013-04-18 Thread Baptiste
Hi, you can clear the table content when all your servers have started up and are in the farm. Use the HAProxy stats socket and the clear table statement. Baptiste On Thu, Apr 18, 2013 at 8:08 AM, sol myr wrote: > Hi, > > We have stickiness, but would like to re-distribute the sticky table, whe