hi,

On Wed, Mar 28, 2007 at 12:20:53PM -0700, christian johansson wrote:
> I have two CARP:ed openbsd machines, firewalling a couple of linux servers
> behind them.
> 
> 3 of the linux machines run apache1 httpd:s. If need be, I can upgrade to
> apache2.
> I want to setup redundant httpd loadbalancing to these 3 machines from the
> openbsd machines.
> 
> I know PF can do simple round-robin balancing to these machines, but I want
> something that can take the load of the apache running machines into
> consideration and shape the traffic sent to them accordingly.
> 

the important thing is to do keep alive checks on the internal
webservers. we do not support weighted round-robin or something like
this yet, and i don't think that it makes much sense (except if your
servers are running on really different hardware platforms).

> Would it be a good idea to use apaches own loadbalancing module, the
> mod_proxy_balance, and run instances of apache on the openbsd machines?

no!

> I'm assuming this would mean that I have to compile apache2 myself, right?
> 
> Or can anyone suggest a better way to do this?
> 

have look at hoststated(8) in the upcoming OpenBSD 4.1 release or in -current.

http://www.undeadly.org/cgi?action=article&sid=20070101200326
http://www.undeadly.org/cgi?action=article&sid=20070110112446
http://www.undeadly.org/cgi?action=article&sid=20070222041312

reyk

Reply via email to