From owner-freebsd-cluster@FreeBSD.ORG Wed May 11 16:00:44 2005 Return-Path: Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D63D516A4CE for ; Wed, 11 May 2005 16:00:44 +0000 (GMT) Received: from isncom.com (mail.isncom.com [216.22.101.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D49243D72 for ; Wed, 11 May 2005 16:00:44 +0000 (GMT) (envelope-from gesperon@isncom.com) Received: from [192.168.7.19] (helo=isncom.com) by isncom.com with esmtp (Exim 4.30) id 1DVtAp-0004W3-Ni for freebsd-cluster@freebsd.org; Wed, 11 May 2005 11:30:59 -0400 Received: from [192.168.1.113] [192.168.1.113] by isncom.com with ESMTP (SMTPD32-7.07) id AD5E24D40152; Wed, 11 May 2005 10:57:34 -0400 In-Reply-To: <4282123E.6080909@centtech.com> References: <20050429183405.M60641@bmyster.com> <20050511121115.GA2731@torch.higis.ru> <4281FF74.6060005@centtech.com> <20050511140657.GB2731@torch.higis.ru> <4282123E.6080909@centtech.com> Mime-Version: 1.0 (Apple Message framework v728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <44018F61-2594-4D10-B593-7D80AC9F5891@isncom.com> Content-Transfer-Encoding: 7bit From: Gabor Esperon Date: Wed, 11 May 2005 10:58:11 -0400 To: Eric Anderson X-Mailer: Apple Mail (2.728) X-Scan-Signature: 015602a392025d3fa82dd4c9564f3617 cc: freebsd-cluster@freebsd.org Subject: Re: Clustering with Freebsd X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 16:00:45 -0000 On May 11, 2005, at 10:10 AM, Eric Anderson wrote: > Dmitriy Kirhlarov wrote: > >> Hi Eric! >> On Wed, 11 May 2005, Eric Anderson wrote: >> >>> Dmitriy Kirhlarov wrote: >>> >>> >>>> Hi Brent! >>>> >>>> On Fri, 29 Apr 2005, Brent wrote: >>>> >>>> >>>> >>>> >>>>> I have a webhosting business all runnning on various Freebsd >>>>> i386 boxes. I was wondering if there are any good howto's on >>>>> doing this ? The services id like to cluster are, >>>>> apache >>>>> sendmail >>>>> bind 9.2.3 >>>>> UW imap >>>>> >>>> >>>> >>>> replace to cyrus imapd. >>>> >>>> read about gmirror, carp, ggated. >>>> >>> >>> How would gmirror and ggated help? >>> >> Replicate data between two hosts, but it not very fine solution -- >> cached data not replicate to second node, when first node die. >> > > And it would only be for failover, not for load distribution/ > balancing. > > We really need a clustered filesystem for FreeBSD.. > > Eric > I using ggated with freevrrpd for cluster failover. The freevrrpd allow you to define scripts to execute whatever the main host in the cluster goes down or up, so you can mount and execute startup scripts for your services (ej: /usr/local/etc/rc.d/apache2.sh start), and stop the service and umount when the main host goes up again.