Hi,

Here is how I manage this :

I write a different frontend/backend file for each frontend :

https://github.com/StevenLeRoux/webhub/blob/master/src/genconf.py

then when I start  :

https://github.com/StevenLeRoux/webhub/blob/master/src/haproxyctl

is doing : $CPP -P -C -I$HAPROXY_CONFDIR/$HAPHOST
-I$HAPROXY_CONFDIR/backend -I$HAPROXY_CONFDIR/frontend -o
$HAPROXY_CONF $HAPROXY_CPP

which basically rebuild one config file. Very fast and you still have
the flexibility to manually remove a frontend quickly.

Note that the genconf.py is old now and need to be fixed (header
manipulations...)

Regards,

On Tue, Feb 4, 2014 at 8:51 AM, Willy Tarreau <[email protected]> wrote:
> On Tue, Feb 04, 2014 at 10:20:28AM +0530, Sukanta Saha wrote:
>> Guys can you please help me
>
> Didn't you get Jonathan's response ?
>
>    http://marc.info/?l=haproxy&m=139125884712930&w=2
>
> Willy
>
>



-- 
Steven Le Roux
Jabber-ID : [email protected]
0x39494CCB <[email protected]>
2FF7 226B 552E 4709 03F0  6281 72D7 A010 3949 4CCB

Reply via email to