tcp-check setup

2014-11-11 Thread Yosef Amir
Hi , I installed in my lab HA-Proxy version 1.5-dev22-1a34d57 2014/02/03. I would like HAProxy to check IMAP response (banner) in order to increase HA. IMAP Server banner is * OK ProxyIMAP ready to serve you, master . In order to run negative test I inserted wrong string (blabla) but when I

Re: tcp-check setup

2014-11-11 Thread JCM
On 11 November 2014 10:52, Yosef Amir amir.yo...@comverse.com wrote: [snip] What did I configure wrong ? server cas1 10.106.26.44:50143 server cas2 10.106.138.132:50143 As per the docs (http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#check), individual servers are

HTTP : having /foo/ served by another backend

2014-11-11 Thread Hoggins!
Hello folks, I'm not sure what to use, and if it's possible. I have a website : http://www.radiom.fr. The whole site is served by a couple of backend servers. Everything works fine. I would like to know if it's possible to have http://www.radiom.fr/foo/ served by another backend. Thank you for

Re: HTTP : having /foo/ served by another backend

2014-11-11 Thread Baptiste
On Tue, Nov 11, 2014 at 2:07 PM, Hoggins! fucks...@wheres5.com wrote: Hello folks, I'm not sure what to use, and if it's possible. I have a website : http://www.radiom.fr. The whole site is served by a couple of backend servers. Everything works fine. I would like to know if it's possible

RE: HTTP : having /foo/ served by another backend

2014-11-11 Thread Lukas Tribus
Hello folks, I'm not sure what to use, and if it's possible. I have a website : http://www.radiom.fr. The whole site is served by a couple of backend servers. Everything works fine. I would like to know if it's possible to have http://www.radiom.fr/foo/ served by another backend. Thank

Re: HTTP : having /foo/ served by another backend

2014-11-11 Thread Hoggins!
Wow ! That's fast ! It's a very positive aspect of HAProxy : its community. Anyway, thanks for these answers, Baptiste and Lukas. It's almost working as expected, except that I guess I need to use some sort of Apache's ProxyPass equivalent, because my new backend does not understand that query

[SPAM] LFDD华南照明工程展暨工装|软装|家装|设计展

2014-11-11 Thread 上海博华国际展览有限公司
Title: 第二十届中国国际家具展览会 2014年12月6-9日中山市灯都古镇会议展览中心 联系我们 /官方微信/网页版 本期亮点:展商预览现场活动 展会官网 展位预定 免费预登记 官方微信 平面图

Re: HTTP : having /foo/ served by another backend

2014-11-11 Thread Hoggins!
I'm answering myself : Le 11/11/2014 15:04, Hoggins! a écrit : Wow ! That's fast ! It's a very positive aspect of HAProxy : its community. Anyway, thanks for these answers, Baptiste and Lukas. It's almost working as expected, except that I guess I need to use some sort of Apache's

Re: Problems with agent check

2014-11-11 Thread Simon Horman
On Mon, Nov 10, 2014 at 01:45:45PM +0100, Cyril Bonté wrote: Hi, Le 10/11/2014 12:54, Lasse Birnbaum Jensen a écrit : Hi all I have a problem with agent checks on a ssl backend (i cannot change the backend to http). This configuration forces the agent-check port expect ssl, which seems

Re: [PATCH] BUG/MEDIUM: checks: fix conflicts between agent checks and ssl healthchecks

2014-11-11 Thread Willy Tarreau
Hi Cyril, On Mon, Nov 10, 2014 at 11:48:26PM +0100, Cyril Bonté wrote: Lasse Birnbaum Jensen reported an issue when agent checks are used at the same time as standard healthchecks when SSL is enabled on the server side. The symptom is that agent checks try to communicate in SSL while it

[PATCH 1/2] BUG/MEDIUM: Do not set agent health to zero if server is disabled in config

2014-11-11 Thread Simon Horman
disable starts a server in the disabled state, however setting the health of an agent implies that the agent is disabled as well as the server. This is a problem because the state of the agent is not restored if the state of the server is subsequently updated leading to an unexpected state. For

[PATCH 2/2] MEDIUM/BUG: Only explicitly report DOWN (agent) if the agent health is zero

2014-11-11 Thread Simon Horman
Make check check used to report explicitly report DOWN (agent) slightly more restrictive such that it only triggers if the agent health is zero. This avoids the following problem. 1. Backend is started disabled, agent check is is enabled 2. Backend is stabled using set server vip/rip state ready

[PATCH 0/2] Do not incorrectly report status as DOWN (agent)

2014-11-11 Thread Simon Horman
Hi, this short series is intended to address to cases where the status of a backend is incorrectly reported as DOWN (agent). Simon Horman (2): BUG/MEDIUM: Do not set agent health to zero if server is disabled in config MEDIUM/BUG: Only explicitly report DOWN (agent) if the agent health

Re: [PATCH 1/2] BUG/MEDIUM: Do not set agent health to zero if server is disabled in config

2014-11-11 Thread Willy Tarreau
Hi Simon, On Wed, Nov 12, 2014 at 03:55:53PM +0900, Simon Horman wrote: disable starts a server in the disabled state, however setting the health of an agent implies that the agent is disabled as well as the server. This is a problem because the state of the agent is not restored if the

Re: [PATCH] BUG/MEDIUM: checks: fix conflicts between agent checks and ssl healthchecks

2014-11-11 Thread Cyril Bonté
Hi Willy, Le 12/11/2014 06:42, Willy Tarreau a écrit : Hi Cyril, On Mon, Nov 10, 2014 at 11:48:26PM +0100, Cyril Bonté wrote: Lasse Birnbaum Jensen reported an issue when agent checks are used at the same time as standard healthchecks when SSL is enabled on the server side. The symptom is