activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Balent <rbal...@redhat.com>
Subject Re: Configuring ActiveMQ failback
Date Wed, 13 Feb 2013 15:30:32 GMT
Thank you very much.

Regards,
Robert


----- Original Message -----
From: "Christian Posta" <christian.posta@gmail.com>
To: users@activemq.apache.org
Sent: Tuesday, February 12, 2013 2:56:59 AM
Subject: Re: Configuring ActiveMQ failback

Not automatically. When the other machine comes back up, you could force
one of the current masters to go down to get your desired configuration.
You would want to make sure you use updateClusterClients and
rebalanceClusterClients on your transport connectors to get the load
balancing:

http://activemq.apache.org/failover-transport-reference.html


On Mon, Feb 11, 2013 at 6:18 AM, Robert Balent <rbalent@redhat.com> wrote:

> Hello,
>
> I want configure messaging load-balanced on 2 machines. My idea is that I
> create 2 master-slave pairs of brokers which are connected in network of
> brokers (4 brokers). On each machine there is one master broker and one
> slave broker which is slave for the master on the other machine. Each
> master and slave from pair is on different machines and have own shared
> storage.
>
> So when one machine crash, the slave will take place of master and deliver
> undelivered messages and the clients are reconnected.
>
> I understand that when the machine is reconnected I will have two slave
> brokers on this machine. Is there any way to automatically fall back to the
> original configuration and have master brokers on each machine and have
> client load-balanced again?
>
> Regards,
> Robert
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
View raw message