Sun Java System Message Queue 3.7 UR1 Administration Guide

Removing a Broker Using a Cluster Configuration File

If you originally created a cluster by specifying its member brokers with the imq.cluster.brokerlist property in a central cluster configuration file, it isn’t necessary to stop the brokers in order to remove one of them. Instead, you can simply edit the configuration file to exclude the broker you want to remove, force the remaining cluster members to reload the cluster configuration, and reconfigure the excluded broker so that it no longer points to the same cluster configuration file. Here is the procedure:

ProcedureTo Remove a Broker From a Cluster Using a Cluster Configuration File

  1. Edit the cluster configuration file to remove the excluded broker from the list specified for the imq.cluster.brokerlist property.

  2. Issue the following command to each broker remaining in the cluster:


    imqcmd reload cls

    This forces the broker to reload the cluster configuration.

  3. Stop the broker you’re removing from the cluster.

  4. Edit that broker’s config.properties file, removing or specifying a different value for its imq.cluster.url property.