Adding Brokers to a Cluster
The procedure for adding a new broker to a cluster depends on
whether the cluster uses a cluster configuration file.
To Add a New Broker to a Cluster Using a Cluster Configuration
Add the new broker to the imq.cluster.brokerlist property in the cluster
Issue the following command to any broker in the cluster:
This forces each broker to reload the cluster configuration, ensuring
that all persistent information for brokers in the cluster is up to date. Note that it is not necessary
to issue this command to every broker in the cluster; executing it for any
one broker will cause all of them to reload the cluster configuration.
(Optional) Set the value of the imq.cluster.url property in the broker’s config.properties file to point to the cluster
Start the new broker.
If you did not perform Adding Brokers to a Cluster, use the -D option
on the imqbrokerd command line to set the value of imq.cluster.url.
To Add a New Broker to a Cluster Without a Cluster
Set the value
of the following properties, either by editing the config.properties file or by using the -D option on the imqbrokerd command line: