activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akpuvvada <akp4ti...@gmail.com>
Subject Active MQ - Master/Slave Config Not working
Date Fri, 14 Jul 2017 10:53:07 GMT
I observed an issue with the Fault Tolerance configuration:
When the primary/master is down, clients are not able to reconnect to the
secondary on retry; it is throwing a warning and trying to reconnect. Also,
it is considering the first URL as Master and first trying to connect to and
fall back is not working even if we stop the Master and restart the client.
The fail-over URL has to be changed to make the connection work such that
the Machine 2 (current master) tcp URL is the first one.

I configured the Fault Tolerance as per
http://activemq.apache.org/shared-file-system-master-slave.html
Shared File System - 
<persistenceAdapter>
  <kahaDB directory="/sharedFileSystem/sharedBrokerData"/>
</persistenceAdapter>

Please help me identify where I am ding wrong.
I am using URL : failover:(tcp://host1:61616,tcp:/host2:61616)

Appreciate any help.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-Master-Slave-Config-Not-working-tp4728550.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message