Hi No need to use networkConnector with master/slave.
Just use failover on the client side. So basically, 1. Brokers side, you shared the same filesystem (using NFS, LUN, whatever), and you configure kahadb to point on the same filesystem in activemq.xml 2. On client side, you can failover:(master,slave) on the brokerURL to allow client to automatically switch to “new” master Regards JB > Le 29 nov. 2021 à 21:54, Vilius Šumskas <v.sums...@advantes.tech.INVALID> a > écrit : > > 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 >