You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "john.horner" <jo...@openroadsconsulting.com> on 2012/02/22 17:11:20 UTC

master/slave within a network of brokers

I'm trying to get master/slave failover to work within a network of brokers. 
According to various blogs
(http://tmielke.blogspot.com/2011/09/activemq-network-bridge-to-masterslave.html,
http://fusebyexample.blogspot.com/2011/11/activemq-network-of-master-slave-broker.html)
this is supposed to work as of 5.6 (I'm using the latest snapshot of 5.6)

I have a shared-nothing master/slave configuration.  When I make a client
connection to the master/slave all works well.  However, I'm trying to get
an embedded broker to make a network connection to the master/slave, and
that's not working.  My network connection for the embedded broker looks
like this:


and I've also tried the supposedly equivalent config of


The embedded broker connects and successfully publishes to the master node. 
When I kill the master the embedded broker does not failover properly.  The
embedded broker hangs when it tries to publish.  Based on the log, it seems
the embedded broker does think it is connected to the slave.  It's log says:


The slave notes a connection failure with the embedded broker.  It's log
says the following:


Any thoughts on what is going on are greatly appreciated.

Thanks,
John

--
View this message in context: http://activemq.2283324.n4.nabble.com/master-slave-within-a-network-of-brokers-tp4410862p4410862.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: master/slave within a network of brokers

Posted by mserrano <ma...@attivio.com>.
see https://issues.apache.org/jira/browse/AMQ-4164



--
View this message in context: http://activemq.2283324.n4.nabble.com/master-slave-within-a-network-of-brokers-tp4410862p4658965.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: master/slave within a network of brokers

Posted by mserrano <ma...@attivio.com>.
john,

I have been using connections like  between two sets of master/slave brokers
that are networked together.  This generally works but I am working on
tracking down some occasional failures of my tests that seem related to the
network never getting set up (not sure about that though -- it is a
complicated test).

-Martin

--
View this message in context: http://activemq.2283324.n4.nabble.com/master-slave-within-a-network-of-brokers-tp4410862p4414454.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.