To Connect Brokers Using a Cluster Configuration File
The method best suited for production systems is to use a cluster configuration
file to specify the configuration of the cluster:
Create a cluster configuration file that uses the imq.cluster.brokerlist property to specify the list of brokers to be connected.
If you are using a master broker, identify it with the imq.cluster.masterbroker property in the configuration file.
For each broker in the cluster, set the imq.cluster.url property
in the broker’s instance configuration file to point to the cluster
Use the imqbrokerd command to start each broker.
If there is a master broker, start it first, then the others after it
has completed its startup.