Re: Fronting RMI servers with haproxy

From: Barak Yaish <barak.yaish#gmail.com>
Date: Thu, 15 Jul 2010 18:58:04 +0300


John (and list),

Thanks for your last reply, it indeed solved the problem. I followed the docs for enabling stats, and got that:

'stats' statement ignored for proxy 'RMI' as it requires HTTP mode

Can stats be enabled for mode tcp?

Thanks.

On Thu, Jul 15, 2010 at 4:34 PM, John Marrett <JMarrett#mediagrif.com>wrote:

> Barak,
>
> > listen RMI 10.80.0.55:3305
> >
> > mode tcp
> >
> > option httpchk
>
> I doubt that your RMI server is responding that well to your httpchk.
>
> If you enable the stats page and access it (or perhaps the control
> socket), I suspect that you'll see that your backend server is marked as
> down. Once you have the backend server up things may work a little
> better.
>
> You'll need to set up the stats socket on another port from your RMI
> port. You should check out the docs [1], search for the string stats uri
> and you'll find a little configuration example.
>
> [1] http://haproxy.1wt.eu/download/1.4/doc/configuration.txt
>
> -JohnF
>
>
Received on 2010/07/15 17:58

This archive was generated by hypermail 2.2.0 : 2010/07/15 18:00 CEST