qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Re: [Qpid C++ Broker][HA] How to configure the HA-cluster without rgmanager?
Date Fri, 25 Nov 2016 19:25:54 GMT
On Wed, 2016-11-23 at 03:07 +0000, Steve Huston wrote:
> I don't think anyone has done the work to manage availability on
> Windows so I don't think you can run a qpid cluster on Windows at
> this time. 

Not out of the box, but if you can find a windows-based cluster manager
then you just need to write the equivalent of the qpidd and qpidd-
primary scripts. There are not a lot of actions to support: stop,
start, restart, status and promote. Qpid HA was designed to be easy to
integrate with alternative cluster managers (although it hasn't
happened yet.)

The qpidd scripts are a little complicated because rgmanager does not
directly support "warm standby" clusters, you have to pretend that
backup and primary are different services even though they're the same
process. Modern CMs have the notion of warm standby and promotion built
in so the scripts might be simpler.

Mail the list or me direct if you decide to do this, I don't work full-
time on HA anymore but I can give you tips.

> 
> -Steve
> 
> > 
> > On Nov 22, 2016, at 10:03 PM, "lei.dai@airlink-software.com" <lei.d
> > ai@airlink-software.com> wrote:
> > 
> > Thank you for your reply.
> > In fact at the end I must use qpid on windows, so maybe I should
> > find a substitute for rgmanager.
> > 
> > Regards,
> > 
> > 
> > Lei Dai
> > 
> > From: Steve Huston
> > Date: 2016-11-21 21:56
> > To: users@qpid.apache.org
> > Subject: RE: [Qpid C++ Broker][HA] How to configure the HA-cluster
> > without rgmanager?
> > I am not an expert in all cluster things, but the only way I have
> > seen qpid C++ brokers in a cluster is using rgmanager. It takes
> > care of managing the need to move the cluster primary around. It
> > also manages the virtual IP address assigned to the broker cluster
> > - you didn't mention a virtual IP in your question, but you will
> > need it to use rgmanager for qpid HA.
> > 
> > -Steve
> > 
> > > 
> > > -----Original Message-----
> > > From: lei.dai@airlink-software.com [mailto:lei.dai@airlink-softwa
> > > re.com]
> > > Sent: Sunday, November 20, 2016 4:54 AM
> > > To: users <users@qpid.apache.org>
> > > Subject: [Qpid C++ Broker][HA] How to configure the HA-cluster
> > > without
> > > rgmanager?
> > > 
> > > Hi,
> > > 
> > > I'm trying to configure the qpid HA-cluster without rgmanager but
> > > it doesn't
> > > work.
> > > 
> > > The version Infos:
> > > ---------------------------
> > > CentOS 7.2
> > > qpid-cpp-1.35.0
> > > qpid-proton-0.14.0
> > > ---------------------------
> > > 
> > > I installed qpid-cpp and qpid-proton in according to the
> > > INSTALL.txt with
> > > default configurations on 3 CentOS VMs.
> > > The IP addresses are: 172.16.28.231, 172.16.28.232,
> > > 172.16.23.233.
> > > 
> > > Started qpid on every VM with command:
> > > $qpidd --auth no --ha-cluster yes --ha-brokers-url
> > > 172.16.28.231,172.16.28.232,172.16.28.233
> > > 
> > > But when I use qpid-ha to show the status of the cluster, all
> > > nodes are in
> > > joining status.
> > > It means the nodes didn't connect to each other?
> > > 
> > > Did I have some mistakes in the configurations or the usage?
> > > I read the documents on the qpid site. It says that rgmanager can
> > > manage
> > > the cluster and set the primary node by calling qpidd-primary
> > > script.
> > > But I didn't find the qpidd-primary script in my system.
> > > Is the rgmanager necessary to use HA-cluster?
> > > 
> > > Regards,
> > > 
> > > 
> > > Lei Dai
> > 
> > -----------------------------------------------------------------
> > ----
> > 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


Mime
View raw message