/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-06 / Pound Cluter ideas ?

[ << ] [ >> ]

[ Re: [Pound Mailing List] Apache Trailing Slash ... ] [ Am I being daft? pound v1.10 config? / Malcolm ... ]

Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-04 18:04:57 [ SNIP ]
Hi guys,

 

I was wondering if anyone could suggest me a way to cluster Pound. 

As it is becoming a central point of failure in my organisation I am looking
for ideas and feedback from your various experiences . 

I already checked several solutions like LVS / piranha solution for RH, as
well as DNS round robin (why not ?). 

 

Which would be  the best in terms of maintenance and reliability , as It is
aimed at a production network ? 

 

Thanks guys .

 

Yann 

 

 

 


Attachments:  
text.html text/html 3477 Bytes

Re: [Pound Mailing List] Pound Cluter ideas ?
Dave Steinberg <dave(at)redterror.net>
2007-06-04 19:12:17 [ SNIP ]
> I was wondering if anyone could suggest me a way to cluster Pound. 
> 
> As it is becoming a central point of failure in my organisation I am looking
> for ideas and feedback from your various experiences . 
> 
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?). 
> 
> Which would be  the best in terms of maintenance and reliability , as It is
> aimed at a production network ? 

I'm pretty sure this has been discussed in the archives.  Take a look there.

Personally I've got a hot-backup system based on OpenBSD using carp. 
It's pretty simple, but it ignores sticky sessions, which I'm not using 
anyway.

Regards,
-- 
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

Re: [Pound Mailing List] Pound Cluter ideas ?
lists <lists(at)loadbalancer.org>
2007-06-04 20:24:30 [ SNIP ]
Carbonell, Yann wrote:
> I was wondering if anyone could suggest me a way to cluster Pound. 
>
>
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?). 
>   
Yann,

I would have thought HA-Linux or Keepalived for clustering Pound would 
make more sense.
If you want to load balance pound instances then LVS + HA-Linux or 
Keepalived.

Regards,
Malcolm.




RE: [Pound Mailing List] Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-04 21:35:53 [ SNIP ]
Thanks for the input  Dave,

I'll look into the mail archive, to be honest I quickly checked it and I
might have missed the information.

Thanks

Yann.

www.banctec.com
____________
-----Original Message-----
From: Dave Steinberg [mailto:dave(at)redterror.net] 
Sent: June 4, 2007 1:12 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound Cluter ideas ?

> I was wondering if anyone could suggest me a way to cluster Pound. 
> 
> As it is becoming a central point of failure in my organisation I am
looking
> for ideas and feedback from your various experiences . 
> 
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?). 
> 
> Which would be  the best in terms of maintenance and reliability , as It
is
> aimed at a production network ? 

I'm pretty sure this has been discussed in the archives.  Take a look there.

Personally I've got a hot-backup system based on OpenBSD using carp. 
It's pretty simple, but it ignores sticky sessions, which I'm not using 
anyway.

Regards,
-- 
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/

-- 
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1180
977137000

RE: [Pound Mailing List] Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-04 21:37:28 [ SNIP ]
Hi,

But would the LVS server become a single point of failure too ? Let's say if
I put it in front of the Pound HA ?

Thanks

____________
 
Yann Carbonell
www.banctec.com

-----Original Message-----
From: lists [mailto:lists(at)loadbalancer.org] 
Sent: June 4, 2007 2:25 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound Cluter ideas ?

Carbonell, Yann wrote:
> I was wondering if anyone could suggest me a way to cluster Pound. 
>
>
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?). 
>   
Yann,

I would have thought HA-Linux or Keepalived for clustering Pound would 
make more sense.
If you want to load balance pound instances then LVS + HA-Linux or 
Keepalived.

Regards,
Malcolm.




-- 
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1180
981470000

Re: [Pound Mailing List] Pound Cluter ideas ?
Michal Taborsky - Internet Mall <michal.taborsky(at)mall.cz>
2007-06-04 22:03:11 [ SNIP ]
Carbonell, Yann napsal(a):
> I was wondering if anyone could suggest me a way to cluster Pound. 

We are using keepalived to switch between two pound servers. The 
keepalived is configured to transfer the IP address and fire up pound on 
the secondary machine, should the primary go off-line. It works 
smoothly, though we haven't actually had a real disaster yet (fingers 
crossed :) ), just tests. We use it on Linux.

-- 
Michal Táborský
chief systems architect
Internet Mall, a.s.
<http://www.MALL.cz>
-----------------------
NOVINKA - VODNI HRISTE PRO HORKE DNY! Detske nafukovaci vodni hriste Intex s
bazenkem, brouzdalistem, sprchovadlem a vodnimi hrami. Dodani obratem.


http://www.ostrovpokladu.cz/nafukovaci-hracky/intex-vodni-centrum
-----------------------

Re: [Pound Mailing List] Pound Cluter ideas ?
Jesse Nelson <jnelson(at)military-inc.com>
2007-06-04 22:45:43 [ SNIP ]
we run pound setup with linux-ha active/passive for failover. use  
rsync to synchronize configs.

drawback to this is that when pound server dies connection state  
isn't replicated. Not such a huge issue as we use pound mainly as a  
transparent proxy and we use another pair of servers running IPVS +  
linux-ha for load balancing.

if your interested i can post the haresorces and the resorce  files  
to the list tho they aren't necessarily pretty.

On Jun 4, 2007, at 12:35 PM, Carbonell, Yann wrote:

> Thanks for the input  Dave,
>
> I'll look into the mail archive, to be honest I quickly checked it  
> and I
> might have missed the information.
>
> Thanks
>
> Yann.
>
> www.banctec.com
> ____________
> -----Original Message-----
> From: Dave Steinberg [mailto:dave(at)redterror.net]
> Sent: June 4, 2007 1:12 PM
> To: pound(at)apsis.ch
> Subject: Re: [Pound Mailing List] Pound Cluter ideas ?
>
> > I was wondering if anyone could suggest me a way to cluster Pound.
> >
> > As it is becoming a central point of failure in my organisation I am
> looking
> > for ideas and feedback from your various experiences .
> >
> > I already checked several solutions like LVS / piranha solution  
> for RH, as
> > well as DNS round robin (why not ?).
> >
> > Which would be  the best in terms of maintenance and  
> reliability , as It
> is
> > aimed at a production network ?
>
> I'm pretty sure this has been discussed in the archives.  Take a  
> look there.
>
> Personally I've got a hot-backup system based on OpenBSD using carp.
> It's pretty simple, but it ignores sticky sessions, which I'm not  
> using
> anyway.
>
> Regards,
> -- 
> Dave Steinberg
> http://www.geekisp.com/
> http://www.steinbergcomputing.com/
>
> -- 
> To unsubscribe send an email with subject 'unsubscribe' to  
> pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
> http://www.apsis.ch/pound/pound_list/archive/ 
> 2007/2007-06/1180973097000/1180
> 977137000
>
> -- 
> To unsubscribe send an email with subject 'unsubscribe' to  
> pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
> http://www.apsis.ch/pound/pound_list/archive/ 
> 2007/2007-06/1180973097000/1180985753000
>


Re: [Pound Mailing List] Pound Cluter ideas ?
Barry Abrahamson <barry(at)automattic.com>
2007-06-04 23:04:23 [ SNIP ]
We are currently using spread [1] and wackamole [2] to facilitate a HA 
pound environment and it is working quite well.  It is also very easy to 
setup.  We are pushing about 200Mbit/sec and 2500 req/sec through our 
load balancers, and have had no issues with regards to failover.  We 
don't use persistent sessions, so this solution does not address that.

There are a couple of things to keep in mind:

1) A failover will only be triggered if the heartbeat/ping between the 2 
servers fails.   You will probably want to write some sort of monitoring 
script that initiates a failover if the pound service is not responding 
but the server is still online.  This can easily be accomplished via 
something like monit[3]

2) `echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind` is your friend

Barry

[1] http://www.spread.org/
[2] http://www.backhand.org/wackamole/
[3] http://www.tildeslash.com/monit/


Carbonell, Yann wrote:
> Hi guys,
> 
>  
> 
> I was wondering if anyone could suggest me a way to cluster Pound. 
> 
> As it is becoming a central point of failure in my organisation I am looking
> for ideas and feedback from your various experiences . 
> 
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?). 
> 
>  
> 
> Which would be  the best in terms of maintenance and reliability , as It is
> aimed at a production network ? 
> 
>  
> 
> Thanks guys .
> 
>  
> 
> Yann 
> 
>  
> 
>  
> 
>  
> 
> 
> 

RE: [Pound Mailing List] Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-04 23:36:26 [ SNIP ]
> We are using keepalived to switch between two pound servers. The 
keepalived is configured to transfer the IP address and fire up pound on 
the secondary machine

What is the difference between keepalive and Linux HA ? They both transfer
the floating IP from one server to another in case of failure right .
Why keepalive more than Linux HA ? 


Thanks

Yann



-----Original Message-----
From: Michal Taborsky - Internet Mall [mailto:michal.taborsky(at)mall.cz] 
Sent: June 4, 2007 4:03 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound Cluter ideas ?

Carbonell, Yann napsal(a):
> I was wondering if anyone could suggest me a way to cluster Pound. 

We are using keepalived to switch between two pound servers. The 
keepalived is configured to transfer the IP address and fire up pound on 
the secondary machine, should the primary go off-line. It works 
smoothly, though we haven't actually had a real disaster yet (fingers 
crossed :) ), just tests. We use it on Linux.

-- 
Michal Táborský
chief systems architect
Internet Mall, a.s.
<http://www.MALL.cz>
-----------------------
NOVINKA - VODNI HRISTE PRO HORKE DNY! Detske nafukovaci vodni hriste Intex s
bazenkem, brouzdalistem, sprchovadlem a vodnimi hrami. Dodani obratem.


http://www.ostrovpokladu.cz/nafukovaci-hracky/intex-vodni-centrum
-----------------------

-- 
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1180
987391000

Re: [Pound Mailing List] Pound Cluter ideas ?
"justin randell" <justin.randell(at)gmail.com>
2007-06-04 23:49:32 [ SNIP ]
hi,

On 6/5/07, Carbonell, Yann <Yann.Carbonell(at)banctec.ca> wrote:
> Hi guys,
>
> I was wondering if anyone could suggest me a way to cluster Pound.
>
> As it is becoming a central point of failure in my organisation I am looking
> for ideas and feedback from your various experiences .
>
> I already checked several solutions like LVS / piranha solution for RH, as
> well as DNS round robin (why not ?).

we use wackamole and spread to ensure that the IPs we have in DNS are
always available if a pound load balancer goes down.

let me know if you want more detail.

cheers
justin

Re: [Pound Mailing List] Pound Cluter ideas ?
"Darryl Dixon" <darryl.dixon(at)gmail.com>
2007-06-05 04:19:05 [ SNIP ]
We use LVS in Direct Routing mode. In general, this works well, but one
thing to be aware of is the time between service checks is Direct Routing
mode - if one Pound node goes down between checks it's possible that a user
might get a timeout or 503 etc.

Cheers,
D

On 6/5/07, justin randell <justin.randell(at)gmail.com> wrote:
>
> hi,
>
> On 6/5/07, Carbonell, Yann <Yann.Carbonell(at)banctec.ca> wrote:
> > Hi guys,
> >
> > I was wondering if anyone could suggest me a way to cluster Pound.
> >
> > As it is becoming a central point of failure in my organisation I am
> looking
> > for ideas and feedback from your various experiences .
> >
> > I already checked several solutions like LVS / piranha solution for RH,
> as
> > well as DNS round robin (why not ?).
>
> we use wackamole and spread to ensure that the IPs we have in DNS are
> always available if a pound load balancer goes down.
>
> let me know if you want more detail.
>
> cheers
> justin
>
> --
> To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
>
>
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1180993772000
>

Attachments:  
text.html text/html 1754 Bytes

Re: [Pound Mailing List] Pound Cluter ideas ?
"Francois Rejete" <francois(at)rejete.com>
2007-06-05 07:33:32 [ SNIP ]
Hi,

I'm also looking to setup an HA Pound cluster, possibly with wackamole, and
any pointers about configuration would be welcome. :)

-- 
François Rejeté
www.macbidouille.com

On 6/5/07, justin randell <justin.randell(at)gmail.com> wrote: hi,
>
> we use wackamole and spread to ensure that the IPs we have in DNS are
> always available if a pound load balancer goes down.
>
> let me know if you want more detail.
>
> cheers
> justin
Attachments:  
text.html text/html 1141 Bytes

RE: [Pound Mailing List] Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-05 16:23:04 [ SNIP ]
Ok thanks for the input, 

But as I see it I would have to setup  another level of LVS-HA server on
front of two Pound proxy. Dod I get it right ?

Thanks

Yann.

____________
 
Yann Carbonell
ycarbonell(at)banctec.ca 
-----Original Message-----
From: Darryl Dixon [mailto:darryl.dixon(at)gmail.com] 
Sent: June 4, 2007 10:19 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound Cluter ideas ?

We use LVS in Direct Routing mode. In general, this works well, but one
thing to be aware of is the time between service checks is Direct Routing
mode - if one Pound node goes down between checks it's possible that a user
might get a timeout or 503 etc.

Cheers,
D

On 6/5/07, justin randell <justin.randell(at)gmail.com> wrote:
>
> hi,
>
> On 6/5/07, Carbonell, Yann <Yann.Carbonell(at)banctec.ca> wrote:
> > Hi guys,
> >
> > I was wondering if anyone could suggest me a way to cluster Pound.
> >
> > As it is becoming a central point of failure in my organisation I am
> looking
> > for ideas and feedback from your various experiences .
> >
> > I already checked several solutions like LVS / piranha solution for RH,
> as
> > well as DNS round robin (why not ?).
>
> we use wackamole and spread to ensure that the IPs we have in DNS are
> always available if a pound load balancer goes down.
>
> let me know if you want more detail.
>
> cheers
> justin
>
> --
> To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
>
>
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1180
993772000
>


-- 
To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
Please contact roseg(at)apsis.ch for questions.
http://www.apsis.ch/pound/pound_list/archive/2007/2007-06/1180973097000/1181
009945000

RE: [Pound Mailing List] Pound Cluter ideas ?
"Carbonell, Yann" <Yann.Carbonell(at)BancTec.ca>
2007-06-05 18:08:16 [ SNIP ]
Thanks  barry  ,


I checked the Spread/wackamole websites and it sounds very interesting, I
didn't know about those tools. But first I have to check if the product we
use for our web services requires session persistent , but I doubt it.

> but the server is still online.  This can easily be accomplished via
> something like monit[3]

I am already using Monit and I get you point regarding the service restart. 
I will read more about Spread to understand the concdept and might contact
you later if I have further questions as I don't understand how Monit will
help if you have several backends . 
Do you have a sort of diagram that would illustrate the implementation ?.
Perhaps  I could find it on the wackamole site.

Yann

____________
 
Yann Carbonell
ycarbonell(at)banctec.ca 

> -----Original Message-----
> From: Barry Abrahamson [mailto:barry(at)automattic.com]
> Sent: June 4, 2007 5:04 PM
> To: pound(at)apsis.ch
> Subject: Re: [Pound Mailing List] Pound Cluter ideas ?
> 
> We are currently using spread [1] and wackamole [2] to facilitate a HA
> pound environment and it is working quite well.  It is also very easy to
> setup.  We are pushing about 200Mbit/sec and 2500 req/sec through our
> load balancers, and have had no issues with regards to failover.  We
> don't use persistent sessions, so this solution does not address that.
> 
> There are a couple of things to keep in mind:
> 
> 1) A failover will only be triggered if the heartbeat/ping between the 2
> servers fails.   You will probably want to write some sort of monitoring
> script that initiates a failover if the pound service is not responding
> but the server is still online.  This can easily be accomplished via
> something like monit[3]
> 
> 2) `echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind` is your friend
> 
> Barry
> 
> [1] http://www.spread.org/
> [2] http://www.backhand.org/wackamole/
> [3] http://www.tildeslash.com/monit/
> 
> 
> Carbonell, Yann wrote:
> > Hi guys,
> >
> >
> >
> > I was wondering if anyone could suggest me a way to cluster Pound.
> >
> > As it is becoming a central point of failure in my organisation I am
> looking
> > for ideas and feedback from your various experiences .
> >
> > I already checked several solutions like LVS / piranha solution for RH,
> as
> > well as DNS round robin (why not ?).
> >
> >
> >
> > Which would be  the best in terms of maintenance and reliability , as It
> is
> > aimed at a production network ?
> >
> >
> >
> > Thanks guys .
> >
> >
> >
> > Yann
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> --
> To unsubscribe send an email with subject 'unsubscribe' to pound(at)apsis.ch.
> Please contact roseg(at)apsis.ch for questions.
> http://www.apsis.ch/pound/pound_list/archive/2007/2007-
> 06/1180973097000/1180991063000

Re: [Pound Mailing List] Pound Cluter ideas ?
Barry Abrahamson <barry(at)automattic.com>
2007-06-05 19:11:45 [ SNIP ]
Carbonell, Yann wrote:
>> but the server is still online.  This can easily be accomplished via
>> something like monit[3]
> 
> I am already using Monit and I get you point regarding the service restart. 
> I will read more about Spread to understand the concdept and might contact
> you later if I have further questions as I don't understand how Monit will
> help if you have several backends . 

Monit would be used to monitor the pound process or the responsiveness 
of port 80 on the LB itself, not the backends.  If pound were to stop 
responding, and would not restart, it would trigger an IP failover to 
your 2nd LB.  traffic routing to the backends is something pound takes 
care of.

> Do you have a sort of diagram that would illustrate the implementation ?.
> Perhaps  I could find it on the wackamole site.

Not really, but it's pretty simple.  We have n + 1 load balancers in an 
active-active configuration and we have many backends behind them. 
Using wackamole allows you to do n + 1 rather than having simply pairs 
of devices. Depending on the datacenter it can be 50-100 backends.

Barry

>> -----Original Message-----
>> From: Barry Abrahamson [mailto:barry(at)automattic.com]
>> Sent: June 4, 2007 5:04 PM
>> To: pound(at)apsis.ch
>> Subject: Re: [Pound Mailing List] Pound Cluter ideas ?
>>
>> We are currently using spread [1] and wackamole [2] to facilitate a HA
>> pound environment and it is working quite well.  It is also very easy to
>> setup.  We are pushing about 200Mbit/sec and 2500 req/sec through our
>> load balancers, and have had no issues with regards to failover.  We
>> don't use persistent sessions, so this solution does not address that.
>>
>> There are a couple of things to keep in mind:
>>
>> 1) A failover will only be triggered if the heartbeat/ping between the 2
>> servers fails.   You will probably want to write some sort of monitoring
>> script that initiates a failover if the pound service is not responding
>> but the server is still online.  This can easily be accomplished via
>> something like monit[3]
>>
>> 2) `echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind` is your friend
>>
>> Barry
>>
>> [1] http://www.spread.org/
>> [2] http://www.backhand.org/wackamole/
>> [3] http://www.tildeslash.com/monit/
>>
>>
>> Carbonell, Yann wrote:
>>> Hi guys,
>>>
>>>
>>>
>>> I was wondering if anyone could suggest me a way to cluster Pound.
>>>
>>> As it is becoming a central point of failure in my organisation I am
>> looking
>>> for ideas and feedback from your various experiences .
>>>
>>> I already checked several solutions like LVS / piranha solution for RH,
>> as
>>> well as DNS round robin (why not ?).
>>>
>>>
>>>
>>> Which would be  the best in terms of maintenance and reliability , as It
>> is
>>> aimed at a production network ?
>>>
>>>
>>>
>>> Thanks guys .
>>>
>>>
>>>
>>> Yann
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> --
>> To unsubscribe send an email with subject 'unsubscribe' to
pound(at)apsis.ch.
>> Please contact roseg(at)apsis.ch for questions.
>> http://www.apsis.ch/pound/pound_list/archive/2007/2007-
>> 06/1180973097000/1180991063000
> 

MailBoxer