Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 15:38:16 +0100 (IST)
From:      Sascha Lucky Luck <bofh@online.ie>
To:        Fabrizio Ravazzini <freefabri@yahoo.it>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: FreeBSD Mail Toaster CLUSTER
Message-ID:  <996071896.3b5ed9d8b73cd@mail.online.ie>
In-Reply-To: <20010725112323.20541.qmail@web20102.mail.yahoo.com>
References:  <20010725112323.20541.qmail@web20102.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Fabrizio Ravazzini <freefabri@yahoo.it>:

> Is it possible with FreeBSD to make a "cluster" of two
> machines (ix86) that when one goes down for some fault
> the other takes care of the service so that Mail is
> still available?

Fabrizio,

set up 2 mail servers and CNAME <mail.foo.bar> to both servers in DNS.
The 2 servers must access a file system (on a 3rd machine or a shared
RAID system, or a Netapp filer) where the mails are stored. 
Be sure to use qmail with Maildir, otherwise you'll have file locking
issues.
DNS will assign a connection to <mail.foo.bar> to one or the other
server using 'round robin'. If one server is down, an incoming
connection will have a 50% chance of failure (the more servers, the
more likely a successful connection becomes) but on retry it should
connect.

This setup has been successfully used with approx 100,000 users and 4
mail servers.

Alternatively you can use a load balancer instead of DNS. It will
notice a server down and reroute connections to the survivor.

Good luck,

s.

----------------------------------------------------
Get your free email account at http://www.online.ie/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?996071896.3b5ed9d8b73cd>