There are three basic components in MB:
- Broker
- Cassandra Server
- ZooKeeper Server
By default, MB is packaged with all three components. In a clustered setup, it is possible to have these three components separately and shared with each other. This separation introduces several possible deployment scenarios that can be customized according to your requirement.
To enable the governance registry to be used across all nodes, you must share the registry. For details, see Sharing the Governance Registry Across the MB Cluster.
Every node where WSO2 Message Broker is deployed (including Cassandra and ZooKeeper server nodes) should be time synced. Please consider as this is very important and strictly recommended as we have met with situations where Message Broker malfunctions without aforesaid requirement. Need administrator permissions:
$sudo apt-get install ntpdate;
$ntpdate pool.ntp.org
Frequently asked questions
What is the Cassandra version to use when clustering Message Broker 2.1.0 with external Cassandra?
Cassandra 1.2.x
What is the recommended hardware configuration for running a Message Broker cluster?
It depends on the number of Message Broker nodes. The Cassandra server should be running on 2 CPU - 6GB Memory (minimum), and Message Broker can run as a 2 Core, 4 GB server.
Can both Business Activity Monitor and Message Broker use the same Cassandra cluster?
Yes. They are in independent key spaces, so they can use the same Cassandra cluster.