Re: Corrections and addition on The Ultimate Cheapskate Cluster

From: Nathan Butcher <n-butcher_at_gol.com>
Date: Tue, 01 May 2007 13:58:05 +0900

My experiences with using pen to loadbalance HTTP over two servers with
pen and freevrrp in "cheapskate cluster" configuration are detailed here.

http://www.geocities.com/ntb4real/howto/failover

To loadbalance both HTTP and HTTPS however, unfortunately I had to
resort to using "Pound" instead of "Pen". Pen's HTTPS support is
currently unreliable.

Wim Vinckier wrote:
> Hi,
>
> I've trying to create a cluster based on the ultimate cheap cluster
> and I have some remarks. This is the only way it worked. In my
> example I've used the addresses from
> http://siag.nu/pen/vrrpd-linux2.shtml:
>
> Server 1: 10.1.1.2
> Server 2: 10.1.1.3
> shared IP: 10.1.1.4
>
> 1. Start vrpd
> * vrrpd -i eth1 -p 25 -v 1 10.1.1.4
> This creates a device listening on 10.1.1.4. It has to be started
> before pen.
>
> 2. Start apache
> * on server 1: Listen 10.1.1.2:80, Listen 127.0.0.1:80
> * on server 2: Listen 10.1.1.3:80, Listen 127.0.0.1:80
> Just let apache listen on the 'normal' interface. Pen will contact
> apache on this one
>
> 3. Start pen:
> * on server 1: /opt/pen/bin/pen 10.1.1.4:80 localhost:80 10.1.1.3:80
> -l pen.log
> * on server 2: /opt/pen/bin/pen 10.1.1.4:80 localhost:80 10.1.1.2:80
> -l pen.log
> I've been searching a while on this one. It makes pen listen on the
> shared IP and balance the requests between localhost and the other
> server.
>
> If anyone has any remark about this one, please feel free to respond.
> It would be nice for others if this could be added to the original
> documentation.
>
> Greetings,
>
> wim vinckier.
Received on Tue May 01 2007 - 07:15:05 CEST

This archive was generated by hypermail 2.2.0 : Tue May 01 2007 - 07:15:07 CEST