From owner-freebsd-isp@FreeBSD.ORG Fri Apr 29 12:29:58 2005 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E9A116A4CE for ; Fri, 29 Apr 2005 12:29:58 +0000 (GMT) Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 4470643D5E for ; Fri, 29 Apr 2005 12:29:56 +0000 (GMT) (envelope-from chris@Shenton.Org) Received: (qmail 62701 invoked by uid 1001); 29 Apr 2005 12:29:54 -0000 From: Chris Shenton To: Oliver Brandmueller References: <005201c54b92$0cf63e60$0701a8c0@CIRIUM> <20050428072517.GO95908@e-Gitt.NET> <200504280944.12838.etienne@unix.za.org> <20050428080402.GP95908@e-Gitt.NET> Date: Fri, 29 Apr 2005 08:29:54 -0400 In-Reply-To: <20050428080402.GP95908@e-Gitt.NET> (Oliver Brandmueller's message of "Thu, 28 Apr 2005 10:04:02 +0200") Message-ID: <86y8b16a0t.fsf@PECTOPAH.shenton.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-isp@freebsd.org Subject: Re: load balancing - email server X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 12:29:58 -0000 Oliver Brandmueller writes: > Never looked at it; is it able to do weighting and failover? How does it > detect, if a service is down on one of the machines, so that you don't > have every third connection failing? Detecting and avoiding failure is the most critical thing. I've found true balancing isn't that important. For a client, I set up qmail-ldap on a handful of machines; each also runs courier-imap. They're behind an F5 load balancer, but you could use the nifty "pen" load balancer (/usr/ports/net/pen). They all use NFS-attached NetApp storage which is pretty high availability; the Maildir storage is the key. To get fault tolerance, you'd need to have two "pen" boxes (or pen running on two mail boxes) and configure pen to fail over if one dies; I haven't tried that because I have the F5. (The one thing that's not bullet proof in this set up is outgoing mail queues, which -- in qmail -- must be on the local box. If that box catches fire, undelivered mail is lost. That hasn't been much of an issue for us, however). The system's been up for the past year, with zero downtime, even when we've taken down individual boxes for OS upgrades.