You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "colin.chi" <ib...@hotmail.com> on 2009/03/11 02:31:35 UTC

Questions about the plan of cluster in ActiveMQ.

cluster has been offered two plans-----Networks of brokers and Master Slave
in ActiveMQ . Now I have two questions:
1 Whether can combine using these two plans in the case?
2 If it can be combined using, how to configure them?

The case scene:
a、hardware environment: 
    2 PC computers have the same configuration, OS is linux, and the
configuration of CPU and MEM is enough to run 2 ActiveMQ instance; 1 PC
computer used as Shared File System.
b、software environment: 
    2 PC computers are equipped with JDK6.0 and ActiveMQ5.2 
c、Master Slave use the type of "Shared File System Master Slave"
d、Example:
   1)Run Master1 adn Slave2 in PC1, run Master2 and Slave1 in PC2.
   2)Implement the plan of "Networks of brokers" between Master1/Slave1 and
Master2/Slave2.

Question: According above case scene, if the two cluster can be combined
using, how to configure them ?
-- 
View this message in context: http://www.nabble.com/Questions-about-the-plan-of-cluster-in-ActiveMQ.-tp22447264p22447264.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


RE: Questions about the plan of cluster in ActiveMQ.

Posted by Torsten Mielke <TM...@progress.com>.
>cluster has been offered two plans-----Networks of brokers and Master Slave
>in ActiveMQ. Now I have two questions:
>1 Whether can combine using these two plans in the case?
>2 If it can be combined using, how to configure them?

Yes, that is possible. Each master need to be configured with a network connector to the other master. 

The slaves will have the same transport and network configuration as their master but only startup when the master goes down, so no port clashes should occur. 
It might be wise to configure unidirectional network connectors in each broker so that if either slave takes over it re-establishes the network link to the other party. 


Torsten Mielke