From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 18:15:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A4F71065672; Wed, 6 Aug 2008 18:15:29 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by mx1.freebsd.org (Postfix) with ESMTP id A4E5D8FC20; Wed, 6 Aug 2008 18:15:28 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from toip39-bus.srvr.bell.ca ([67.69.240.40]) by tomts47-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20080806163124.VUSI1673.tomts47-srv.bellnexxia.net@toip39-bus.srvr.bell.ca>; Wed, 6 Aug 2008 12:31:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABxvmUhKD7BS/2dsb2JhbACtNg Received: from mtrlpq02-1242542162.sdsl.bell.ca (HELO [69.69.69.183]) ([74.15.176.82]) by toip39-bus.srvr.bell.ca with ESMTP; 06 Aug 2008 12:31:13 -0400 Message-ID: <4899D194.6000804@optiksecurite.com> Date: Wed, 06 Aug 2008 12:30:12 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Roger Olofsson References: <4898065A.5080008@powerzone.net.au> <4899C919.1060903@passagen.se> In-Reply-To: <4899C919.1060903@passagen.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Michael Christie , freebsd-questions@freebsd.org, freebsd-cluster@freebsd.org Subject: Re: High Availability FreeBSD www cluster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 18:15:29 -0000 Roger Olofsson a écrit : > > > Michael Christie skrev: >> Hi all , >> >> I want to cluster some freeBSD servers, The purpose of this is to >> learn. I would like to run some basic services like www and mail on >> a test network. I would like to set up the servers so if one server >> falls over the other will take over the services automatically, load >> balanceing would be good as well. I have googled, I could be looking >> in the wrong place , there seems not to be much in regard to seting up >> freebsd in a cluster, lots on linux. I have looked at the High >> Availability Linux project , I see on the front page that it will run >> on freebsd. >> >> So I am a bit lost and i am wanting to learn how to cluster freebsd >> web and mail servers, I have looked at Beowulf clusters, which seem >> to give computers more grunt, Can some on on the list please advise me >> on what clustering softwhere i need to get started and if the High >> Availability Linux project softwhere will do the job. >> >> >> web links any thing to help me get started would be good. No I do not >> want to change over to linux. >> >> >> Thanks >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: >> 270.5.12/1595 - Release Date: 2008-08-06 08:23 >> >> >> > > Hello, > > I have been running freevrrpd and pen (http://siag.nu/pen/ or in ports) > for HA web services. > > My setup was a firewall/gateway consisting of more than 1 machine using > freevrrpd thus enabling failover for the firewall/gateway. I write > firewall and not firewalls since freevrrpd creates a virtual ip that is > failover'ed between the machines. > > On the firewall/gateway pen were running and pointed towards the web > servers. Pen can point at as many web servers as you like and balances > the load between them in a very simple way. If the web servers are > identical in setup they become redundant. DNS loadbalancing is very > similar. > > Good luck! > > /Roger > I don't have any experience yet with it but I'm planning on using CARP with PF to do redondant gateways. You can do round-robin RDR with PF to distribute the load. You can even put the same server IP more than one time in the list to forward more traffic to this server! I tested it but I didn't tried CARP yet. I read I couple of articles on CARP with BSD, I'm a little bit surprised that nobody made reference to it yet. Now it's done ;) Martin