You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sheltomt <sh...@gmail.com> on 2015/08/05 21:04:34 UTC
Adding a 2nd broker to a default installation
Hello, I've successfully setup a 2 broker installation, however I did it from
the get-go with "activemq create" and had both instances in their seprate
directories.
I currently have a default setup, only one broker, no ./instance1 directory
or anything setup for it. What we need to do is add a second broker,
hopefully without rebuilding.
Has anyone done this?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Adding-a-2nd-broker-to-a-default-installation-tp4700462.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Adding a 2nd broker to a default installation
Posted by sheltomt <sh...@gmail.com>.
The new broker would be independent
The existing broker is simply on the default installation. No "create"
statement was used that would generate one of the seperate broker instance
directory structures.
Our main concern here is leaving the current installation untouched and
working, with no need to change any ports or code for that instance.
So from what you're saying, if I simply create that second broker, which
would create it's subdirectory structure under
./activeMQinstallpath/instance2/ , that will not only leave the initial
installation untouched, but will allow me to fully modify the new broker for
port config, as well as having it's own queue database, etc?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Adding-a-2nd-broker-to-a-default-installation-tp4700462p4700555.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Adding a 2nd broker to a default installation
Posted by jlindwall <jl...@yahoo.com>.
Is this new broker independent from the first broker? If so, then just use
"activemq-admin create" to create the new instance, then customize the
con/activemq.xml as desired (to choose unique ports et al)
Or are you hoping to build a "network of brokers" where broker1 and broker2
cooperate and forward messages amongst each other? That is a little more
complicated to setup (but not too bad) but you must also be aware of the
possibility of losing messages in certain failover scenarios.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Adding-a-2nd-broker-to-a-default-installation-tp4700462p4700531.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.