Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43321D0A2 for ; Thu, 9 Aug 2012 10:02:29 +0000 (UTC) Received: (qmail 23302 invoked by uid 500); 9 Aug 2012 10:02:29 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 23195 invoked by uid 500); 9 Aug 2012 10:02:26 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 23165 invoked by uid 99); 9 Aug 2012 10:02:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 10:02:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavin.alexander@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-lpp01m010-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 10:02:19 +0000 Received: by lahl5 with SMTP id l5so115718lah.15 for ; Thu, 09 Aug 2012 03:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V4DMosXgHIUW2dYr+La5lQ17lbRc2gTHQpWehckAPTs=; b=aUlkmDL8AFltlEXIc2zG4bJ+QvYl1vQPrsbaLStjL+Kx4lMpfMo7ZJlKwCDDgPiyd3 JjoooUR2HxvhB0n2d37VN2TcqHZmLcgx9XyGlWkBy5961ANnlYRL2m6TwK2HgVpQNkO/ +7HMHxKQqY2SDMEBajqZPjheyVneZBqhENhOWJtH6srnm7dQX7Gws+hjSGq0hEyqqIi0 yyRD4Cktj8l+P08NWo8DTLZqAjtUu+9KSmedTBxHGlLykNDZ7OIPx+Un5nBGGM4Idr0D wmiOQhOco32GYIM8YGun0GoRA0d/ySLuNEIjt3GFiw737NbaRx36US0MGhzpxCjisZVR CzNA== MIME-Version: 1.0 Received: by 10.152.144.163 with SMTP id sn3mr21570470lab.37.1344506517369; Thu, 09 Aug 2012 03:01:57 -0700 (PDT) Received: by 10.112.17.130 with HTTP; Thu, 9 Aug 2012 03:01:57 -0700 (PDT) In-Reply-To: <1343851317.18701.48.camel@gonzo> References: <1343851317.18701.48.camel@gonzo> Date: Thu, 9 Aug 2012 20:01:57 +1000 Message-ID: Subject: Re: 2 Node HA Cluster From: Gavin Alexander To: users@qpid.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Alan, Thanks for getting back to me. Some of limitations would make this a no go for me at the moment. I'm guessing the "older cluster" module will be phased out gradually? Obviously the burden of maintaining both strategies long term will be a pain... By "bind address" - I mean, when qpidd starts up it listens on 0.0.0.0 (any). Is it possible to bind to a specific local IP? For those interested. The configuration that I've settled on is Two Nodes running qpidd + 1 Quorum Node Each node has 2 Nics, allocated on separate switching infrastructure/networks. One network is for cluster comms the other to serve requests (its also used as a backup interface - I'm using Totem - RRP (Redundant Ring Protocol)). Now for some performance testing...... :) /gav On 2 August 2012 06:01, Alan Conway wrote: > I should have also said: There is a new HA module in Qpid that will > eventually replace the older cluster module. You should take a look at > that as well, if you're starting out on a new project. > > http://qpid.apache.org/books/trunk/AMQP-Messaging-Broker-CPP-Book/html/chap-Messaging_User_Guide-Active_Passive_Cluster.html > > On Fri, 2012-07-27 at 01:02 +1000, Gavin Alexander wrote: >> Hi All, >> >> I'm looking to set up a durable HA broker and had a few questions. >> First off, sorry if these questions are more appropriate on a Linux-HA >> forum... just trying to see if other people have come across the same >> issues. >> >> After setting up a two node cluster and being quite happy with the >> ease of config - I realised that I would have to solve the split-brain >> problem. >> So, using 3 virtual machines, I followed the guide @ >> https://cwiki.apache.org/confluence/display/qpid/Configuring+qpidd+with+Cluster+Manager >> which works reasonable well - (I've had a few issues with rgmanager >> hanging occasionally during failover... but I digress...) >> >> The environment that I'm using at the moment is on a bunch of Linux >> KVM's, but it will eventually be moved to physical infrastructure. >> I have some reasonable performance requirements and the hardware I'm >> using is quite expensive - so adding another node for HA just to >> maintain a quorum seems "wasteful". >> >> So, I'm investigating if a 2 node setup is possible. >> >> Is it possible to do HA with two nodes (without a "real" qdisk)? >> I've tried adding a 3rd node (a cheap virtual machine) for quorum only >> - I.e. it doesn't run qpidd and is only used for quorum. It seems to >> work - although I haven't thoroughly tested all failure scenarios yet. >> Other idea's I've had are >> - Using Qdisk heuristics to generate more votes - everything I read >> seems to suggest not to do this... >> - Integrating with a load balancer (there's an existing LVS cluster >> on the same network - that I can piggy-back on) to protect against >> split-brain "somehow" :) >> - Leave it as a two node cluster and rely on corosync totem protocol, >> or interface bonding for fault tolerance. Then, if a split brain does >> occur, it's pretty certain (about 99.9% :) that clients wouldn't be >> able to access the cluster anyway. >> >> >> A couple of questions... >> Do cluster messages require acknowledgement from cluster nodes before >> sending ack's back to the client (if the clients require >> acknowledgement)? And hence, does adding more nodes degrade >> performance? >> Has anyone ever tried running qpid over something like drbd? >> Is it possible to specify a bind address for qpidd? >> >> Look forward to any replies/guidance/commentary >> >> Thanks, >> >> /gav >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org >> For additional commands, e-mail: users-help@qpid.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org