Hi,

I‘m trying to setup a simple ActiveMQ 5.16.x master/slave cluster using shared 
filesystem option. I just need one broker running at any given time and a slave 
for HA.

The filesystem part is clear and I have already configured it according to 
ActiveMQ requirements.

What I don’t understand is do I _need_ to configure networkConnectors in order 
for master/slave to work properly? Almost every configuration example I found 
on the internet says that in order to have master/slave topology one only needs 
to point kahaDB to the same shared data directory. Every article and blog post 
which talk about networkConnectors say that it is only related to Network of 
Brokers functionality. However this link 
https://activemq.apache.org/networks-of-brokers#masterslave-discovery says 
something vague regarding masterslave:// transport. Also there is this blog 
post 
https://medium.com/@chamilad/creating-a-simple-activemq-master-slave-setup-e3de33a6bcc2
 which says that networkConnector is needed?

Can somebody clear things up? Is master/slave cluster is also considered as 
network of (two) brokers? Can I run it with or without neworkConnectors, and 
what is the difference from the perspective of clients then?

--
   Best Regards,

    Vilius

Reply via email to