sam.hon | 5 Sep 19:32 2004

Clustering standards for FreeBSD

Hi,

I'm wondering is there any clustering standards for FreeBSD like Linux has
LVS? I'm developing my own clustering solution for UNIX and would like to
learn from the FreeBSD folks.

cheers

_______________________________________________
freebsd-cluster <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
To unsubscribe, send any mail to "freebsd-cluster-unsubscribe <at> freebsd.org"

Marcus Vinicius Ferreira | 16 Sep 02:19 2004
Picon

(unknown)

--

-- 
Marcus Vinicius Ferreira
_______________________________________________
freebsd-cluster <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
To unsubscribe, send any mail to "freebsd-cluster-unsubscribe <at> freebsd.org"

xyberpix | 29 Sep 22:08 2004

Cluster help

Hi All,

Here's my scenario:

I currently have a machine running FreeBSD,Postfix, with SSL and TLS and
now I want to set up another machine, and then cluster the two machines.
Ideally what I would like is to have the cluster working as a HA
cluster, so that if one node fails, the other will take over.

Problem:

I have no idea where to start with this, and Google really hasn't been
too kind to me, so I am looking for any assistance that anyone is
willing to give.

TIA

xyberpix

--

-- 
For Security and Open Source news:
http://xyberpix.demon.co.uk

Dustin Puryear | 30 Sep 00:00 2004

Re: Cluster help

Hi. This is definitely doable. Some options:

1. Use a front-end load-balancer. This makes your life very easy.
2. Use MX records.
3. Use various tools available for FreeBSD for IP fail-over.

One of your biggest concerns is going to be storage. If a server fails-over
do you need to worry about the secondary server having access to the
primary's files? You didn't provide quite enough detail for me to tell.

---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Author of "Best Practices for Managing Linux and UNIX Servers"
Download your free copy:
http://www.puryear-it.com/bestpractices_ebook.htm

_______________________________________________
freebsd-cluster <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
To unsubscribe, send any mail to "freebsd-cluster-unsubscribe <at> freebsd.org"

xyberpix | 29 Sep 23:47 2004

Re: Cluster help

Hi Dustin,

Ok, so things are sounding positive already, this is great news!

As for using a load balancer, not an option, this is for home use, not
work, so the finances are a bit low. :(
As for the using MX records, I could do that, but the only problem is
that I only have 1 external IP addy, so unless someone is willing to
donate a spare one, and set up routing for me for nothing, which I can't
really see happening, this isn't really an option right now. I have
looked into getting more IP addy's from my ISP, but all the effort is
not really worth it at this point, and neither is the price.
You mentioned various tools available for FreeBSD for IP failover, can
you maybe please let me have some names, as this may be a good option
for me.
As for if a server fails over, it would be nice to have access to the
primary servers files, but this isn't really a necessity, as I am sure I
can accomplish this with nightly backups, and then a script to copy
things over to the secondary server, what do you think?

Thanks again
xyberpix

On Wed, 2004-09-29 at 23:00, Dustin Puryear wrote:
> Hi. This is definitely doable. Some options:
> 
> 1. Use a front-end load-balancer. This makes your life very easy.
> 2. Use MX records.
> 3. Use various tools available for FreeBSD for IP fail-over.
> 
(Continue reading)

Lasse L. Johnsen | 30 Sep 00:20 2004

Re: Cluster help

Hello,

Have a look at freevrrpd
(http://www.freebsd.org/cgi/url.cgi?ports/net/freevrrpd/pkg-descr) it a nice
tool for sharing one IP address between two machines.

So for instance machine A has IP 10.0.0.2 and machine B has IP 10.0.0.3. If you
run vrrpd on them both, you can give machine A the additional IP address
10.0.0.1, machine B will then constantly check that machine A is running. In
case it's not, machine B will assume the IP address 10.0.0.1. vrrpd also
provide hooks for launching various scripts when a switch happen so you can
start up say a postfix instance on machine B to take over the job of machine A.

(I'm sure the documentation explains it better than me).

Hope you make it work.

Br,

Lasse

Quoting xyberpix <xyberpix <at> xyberpix.com>:

> Hi Dustin,
>
> Ok, so things are sounding positive already, this is great news!
>
> As for using a load balancer, not an option, this is for home use, not
> work, so the finances are a bit low. :(
> As for the using MX records, I could do that, but the only problem is
(Continue reading)

Steve | 30 Sep 01:34 2004

RE: Cluster help

I would use rsync to mirror 
By the way are you using imap style dirs with postfix, 

As for the failover that tool mentioned below works great

Assign diff ips to the two servers, and on the router (there is one I
assume) forward port 25 and 110 to the failover ip 

--
Steve Rieger 
-----Original Message-----
From: owner-freebsd-cluster <at> freebsd.org
[mailto:owner-freebsd-cluster <at> freebsd.org] On Behalf Of Lasse L. Johnsen
Sent: Wednesday, September 29, 2004 6:21 PM
To: xyberpix
Cc: FreeBSD-cluster[List]; Dustin Puryear
Subject: Re: Cluster help

Hello,

Have a look at freevrrpd
(http://www.freebsd.org/cgi/url.cgi?ports/net/freevrrpd/pkg-descr) it a nice
tool for sharing one IP address between two machines.

So for instance machine A has IP 10.0.0.2 and machine B has IP 10.0.0.3. If
you run vrrpd on them both, you can give machine A the additional IP address
10.0.0.1, machine B will then constantly check that machine A is running. In
case it's not, machine B will assume the IP address 10.0.0.1. vrrpd also
provide hooks for launching various scripts when a switch happen so you can
start up say a postfix instance on machine B to take over the job of machine
(Continue reading)


Gmane