Corrections and addition on The Ultimate Cheapskate Cluster

From: Wim Vinckier <wimpunk_at_gmail.com>
Date: Sun, 29 Apr 2007 13:19:38 +0200

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.

-- 
You have been on the computer to long when you start tilting your head
sideways to smile :-)
Received on Sun Apr 29 2007 - 14:23:31 CEST

This archive was generated by hypermail 2.2.0 : Sun Apr 29 2007 - 14:23:33 CEST