From owner-freebsd-isp@FreeBSD.ORG Thu Apr 28 11:29:04 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 3A00216A4CE for ; Thu, 28 Apr 2005 11:29:04 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 385FB43D39 for ; Thu, 28 Apr 2005 11:29:03 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j3SBSlTA062938; Thu, 28 Apr 2005 06:28:47 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4270C8B8.4080002@centtech.com> Date: Thu, 28 Apr 2005 06:27:52 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050325 X-Accept-Language: en-us, en MIME-Version: 1.0 To: etiennel@datapro.co.za References: <005201c54b92$0cf63e60$0701a8c0@CIRIUM> <200504280944.12838.etienne@unix.za.org> <20050428080402.GP95908@e-Gitt.NET> <200504281124.38084.etiennel@datapro.co.za> In-Reply-To: <200504281124.38084.etiennel@datapro.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/857/Thu Apr 28 01:30:10 2005 on mh1.centtech.com X-Virus-Status: Clean 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: Thu, 28 Apr 2005 11:29:04 -0000 Etienne Ledoux wrote: > On Thursday 28 April 2005 10:04, Oliver Brandmueller wrote: > >>Hi. >> >>On Thu, Apr 28, 2005 at 09:44:12AM +0200, Etienne Ledoux wrote: >> >>>I have a similar setup but I use ipf (ipnat round-robin) for my load >>>balancing, on a freebsd box infront of the machines. Works just as good. >> >>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? >> > > > Well I guess it's not that fancy. It's just plain vanilla round-robin load > balancing. I use other tools to detect services that die, queues not clearing > etc. I also use freevrrpd for failover. There use to be a project called > lload. This apparently in conjunction with ipfw could do weighted load > balancing but I can't seem to find that anymore. I guess it died. I'm sure > there might be similar projects though. Round-robin is typically considered 'load distribution', where the load is evenly distributed amongst a list of hosts, but not balanced by how loaded the machine is or if the machine is even down. CARP, which will be in 5.4R I believe (and is in 6.0-CURRENT now), is like VRRP, but with more knobs, whistles, and features. You should look into CARP for this. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology A lost ounce of gold may be found, a lost moment of time never. ------------------------------------------------------------------------