From owner-freebsd-cluster@FreeBSD.ORG Tue Sep 26 14:52:50 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 96B5516A403 for ; Tue, 26 Sep 2006 14:52:50 +0000 (UTC) (envelope-from dsurovtsev@yahoo.com) Received: from web30203.mail.mud.yahoo.com (web30203.mail.mud.yahoo.com [209.191.69.50]) by mx1.FreeBSD.org (Postfix) with SMTP id 6140943D72 for ; Tue, 26 Sep 2006 14:52:47 +0000 (GMT) (envelope-from dsurovtsev@yahoo.com) Received: (qmail 68309 invoked by uid 60001); 26 Sep 2006 14:52:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=N6QQI8iBmCFBat5quO3Ru0e34JIy5SpShFQHVwuQlQchcfn7gLrG0KkhxgR/9C49yZzQz/o3VYnP+z8Ojl110abidXhA5v5bhugimMR0wvlZ/S3Q33wqBh5Db0atg54a6HlHLNbbw7DvZJq3DIzqx0V662O7AVyOG+UCmD1khU8= ; Message-ID: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> Received: from [81.21.0.3] by web30203.mail.mud.yahoo.com via HTTP; Tue, 26 Sep 2006 07:52:46 PDT Date: Tue, 26 Sep 2006 07:52:46 -0700 (PDT) From: dmitry surovtsev To: freebsd-cluster@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 26 Sep 2006 14:59:30 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ha-cluster on amd64 X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 14:52:50 -0000 Hi all, The main aim: build high-available system on two or more FreeBSD servers like HA-Linux. Does anyone know if such a project exist? Clusterit port is not exactly what I want. Heartbeat is beautiful, but version 2 is available for linux only. The latest 1.2.4 version in FreeBSD ports throws multiple errors while compiling and compilation stops. TIA. Dmitry --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. From owner-freebsd-cluster@FreeBSD.ORG Tue Sep 26 19:04:45 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 940A416A416 for ; Tue, 26 Sep 2006 19:04:45 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 784F443D83 for ; Tue, 26 Sep 2006 19:04:42 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D6DB.dip.t-dialin.net [84.165.214.219]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8QIe0YS062047; Tue, 26 Sep 2006 20:40:00 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8QJ4ZTl087809; Tue, 26 Sep 2006 21:04:36 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 26 Sep 2006 21:05:17 +0200 From: Alexander Leidinger To: dmitry surovtsev Message-ID: <20060926210517.12418792@Magellan.Leidinger.net> In-Reply-To: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> References: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> X-Mailer: Sylpheed-Claws 2.5.1 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new Cc: freebsd-cluster@freebsd.org Subject: Re: ha-cluster on amd64 X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 19:04:45 -0000 Quoting dmitry surovtsev (Tue, 26 Sep 2006 07:52:46 = -0700 (PDT)): > Hi all, > =20 > The main aim: build high-available system on two or more FreeBSD server= s like HA-Linux. > Does anyone know if such a project exist? > Clusterit port is not exactly what I want. Heartbeat is beautiful, but = version 2 is available for linux only. > The latest 1.2.4 version in FreeBSD ports throws multiple errors while = compiling and compilation stops. Does carp(4) help you? If not, what are your requirements? Bye, Alexander. --=20 124: Lotus Notes Notes wurde von jemandem erfunden der Systemadministratoren ha=C3=9Ft. (Georg Bauer) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-cluster@FreeBSD.ORG Wed Sep 27 16:53:54 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 E8B7216A407 for ; Wed, 27 Sep 2006 16:53:54 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F3C43D76 for ; Wed, 27 Sep 2006 16:53:50 +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 k8QHEBq6082502; Tue, 26 Sep 2006 12:14:11 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <45195FE2.8060006@centtech.com> Date: Tue, 26 Sep 2006 12:14:10 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: dmitry surovtsev References: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> In-Reply-To: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1946/Tue Sep 26 08:18:37 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-cluster@freebsd.org Subject: Re: ha-cluster on amd64 X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 16:53:55 -0000 On 09/26/06 09:52, dmitry surovtsev wrote: > Hi all, > > The main aim: build high-available system on two or more FreeBSD servers like HA-Linux. > Does anyone know if such a project exist? > Clusterit port is not exactly what I want. Heartbeat is beautiful, but version 2 is available for linux only. > The latest 1.2.4 version in FreeBSD ports throws multiple errors while compiling and compilation stops. I guess this question mostly depends on what you are trying to cluster (as in: what services). Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-cluster@FreeBSD.ORG Wed Sep 27 18:36:13 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 E123416A4E1 for ; Wed, 27 Sep 2006 18:36:12 +0000 (UTC) (envelope-from lsc@prgmr.com) Received: from luke.xen.prgmr.com (luke.xen.prgmr.com [38.99.2.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id E302843DD0 for ; Wed, 27 Sep 2006 18:35:24 +0000 (GMT) (envelope-from lsc@prgmr.com) Received: from luke.xen.prgmr.com (localhost [IPv6:::1]) by luke.xen.prgmr.com (8.13.3/8.13.3) with ESMTP id k8RIZIAN007202 for ; Wed, 27 Sep 2006 11:35:18 -0700 (PDT) Received: from localhost (lsc@localhost) by luke.xen.prgmr.com (8.13.3/8.13.3) with ESMTP id k8RIZIFo003093 for ; Wed, 27 Sep 2006 11:35:18 -0700 (PDT) X-Authentication-Warning: luke.xen.prgmr.com: lsc owned process doing -bs Date: Wed, 27 Sep 2006 11:35:18 -0700 (PDT) From: Luke Crawford X-X-Sender: lsc@luke.xen.prgmr.com To: freebsd-cluster@freebsd.org In-Reply-To: <45195FE2.8060006@centtech.com> Message-ID: References: <20060926145246.68307.qmail@web30203.mail.mud.yahoo.com> <45195FE2.8060006@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: ha-cluster on amd64 X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 18:36:13 -0000 On Tue, 26 Sep 2006, Eric Anderson wrote: > > On 09/26/06 09:52, dmitry surovtsev wrote: >> Hi all, >> The main aim: build high-available system on two or more FreeBSD >> servers like HA-Linux. >> Does anyone know if such a project exist? >> Clusterit port is not exactly what I want. Heartbeat is beautiful, but >> version 2 is available for linux only. >> The latest 1.2.4 version in FreeBSD ports throws multiple errors while >> compiling and compilation stops. > > > I guess this question mostly depends on what you are trying to cluster (as > in: what services). > > Eric Application-level redundancy is much less interesting, or at least it is much less difficult. I've been looking at OpenSSI lately, as I have wanted to give my Linux Xen customers better availability; from what I understand, I can run existing apps in a "fork and forget" manner with OpenSSI- that greatly reduces management complexity: say I'm managing a webapp (something I do from time to time) with application-level clustering, I setup a centralized redundant DB (Lately I've been using the MySQL cluster for webapps.) then I set up all the webservers such that a user can connect to an arbitrary webserver and continue his session (thus the central DB) and finally I put a couple squid proxies in front of the whole mess, and use VRRP or carp so I can surive a failure of a squid box. Lots of application-specific thinking is required, and often some re-coding. That, and I've got to manage a minimum of 7 boxes now, which usually requires a kerberos/nis setup to manage the users an the rest of the complexity of managing a large number of servers. Now, something that I've spent a lot of time doing is scaling out badly written (from a performance/scaling perspective) webapps- sometimes they keep session data in shared memory or on a filesystem. with something like an OpenSSI cluster, you can just keep adding boxes (unless it was a one process multiple thread model; in that case you are screwed.) and the thing will scale (from what I understand, shared memory works with OpenSSI,but you take a performance hit) it seems a whole lot easier than re-writing the thing. (of course, usually by that time the thing is making money, so you might as well pay someone to re-write it decently.) When a node fails, all processes running on that node die, but the cluster stays up (assuming you have your root-node setup in redundant mode) so it seems that the only cluster-specific thing you would need is a 'nanny' process that restarts important stuff after a node failure. (and with most of these webapps, you often need that anyhow. I had a couple clients that were really, really happy with me after I set them up with nagios monitoring that automatically sshed in and restarted httpd every time it stopped responding. I agree that the right thing to do would have been to fix the memory leak, but this is what the customer wanted.) Also note, I haven't actually used OpenSSI- I've just been reading up on it and I thought I'd jump in and say something. From owner-freebsd-cluster@FreeBSD.ORG Thu Sep 28 07:40:54 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 D5A6A16A412 for ; Thu, 28 Sep 2006 07:40:54 +0000 (UTC) (envelope-from dsurovtsev@yahoo.com) Received: from web30209.mail.mud.yahoo.com (web30209.mail.mud.yahoo.com [209.191.69.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A89D43D4C for ; Thu, 28 Sep 2006 07:40:52 +0000 (GMT) (envelope-from dsurovtsev@yahoo.com) Received: (qmail 13045 invoked by uid 60001); 28 Sep 2006 07:40:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xF/+r3AkOWiUJ1FeN16Qd3/v15E6HxUXzk8PqhJFUIEx/eCAVY+LfYGJps2OMh+KMIrc7TkfgLdnXy6F1k0TmaogfCvFOA5O9VaIuOCiUbxWQ/ucVr/Ab/F91xBf9eT1VUolSJDC7QEu+soir9TDqOEMv7XqUPQK7FeLt2Wy3wo= ; Message-ID: <20060928074051.13043.qmail@web30209.mail.mud.yahoo.com> Received: from [81.21.0.3] by web30209.mail.mud.yahoo.com via HTTP; Thu, 28 Sep 2006 00:40:51 PDT Date: Thu, 28 Sep 2006 00:40:51 -0700 (PDT) From: dmitry surovtsev To: freebsd-cluster@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 28 Sep 2006 11:55:44 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ha-cluster on amd64 X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 07:40:54 -0000 Thank you very much. It's exactly what i need. dmitry Quoting dmitry surovtsev (Tue, 26 Sep 2006 07:52:46 -0700 (PDT)): > Hi all, > > The main aim: build high-available system on two or more FreeBSD servers like HA-Linux. > Does anyone know if such a project exist? > Clusterit port is not exactly what I want. Heartbeat is beautiful, but version 2 is available for linux only. > The latest 1.2.4 version in FreeBSD ports throws multiple errors while compiling and compilation stops. Does carp(4) help you? If not, what are your requirements? Bye, Alexander. -- 124: Lotus Notes Notes wurde von jemandem erfunden der Systemadministratoren haßt. (Georg Bauer) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 --------------------------------- Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. From owner-freebsd-cluster@FreeBSD.ORG Thu Sep 28 12:01:22 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org 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 6070D16A519 for ; Thu, 28 Sep 2006 12:01:22 +0000 (UTC) (envelope-from prasanth.sekharan@ustri.com) Received: from mailmaa.ustri.com (mailmaapos.ustri.com [203.99.43.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C2543D96 for ; Thu, 28 Sep 2006 12:01:17 +0000 (GMT) (envelope-from prasanth.sekharan@ustri.com) Received: from localhost (localhost [127.0.0.1]) (uid 500) by mailmaa.ustri.com with local; Thu, 28 Sep 2006 17:31:11 +0530 From: prasanth.sekharan@ustri.com To: freebsd-cluster@freebsd.org In-Reply-To: <20060928120050.5A74516A5B2@hub.freebsd.org> References: <20060928120050.5A74516A5B2@hub.freebsd.org> Message-ID: Date: Thu, 28 Sep 2006 17:31:11 +0530 Subject: Out of Office Auto Reply: X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 12:01:22 -0000 I will be travelling from 28th to 30th September. I will have limited access to mail during this period. Please expect a delay in response to the mails. Thanks -Prasanth Sekharan