Creating a queue manager cluster

About this task

A queue manager cluster is a group of two or more queue managers that are logically associated and can share information with each other. This means that an application can put a message on a cluster queue from any queue manager in the cluster and the message is automatically routed to the queue manager where the cluster queue is defined. The amount of system administration is reduced because the cluster channels that the cluster queue managers use to exchange application messages are automatically defined as required.

WebSphere® MQ Explorer treats queue manager clusters as objects so that you can create and administer them like other MQ objects. All the queue manager clusters that are known to WebSphere MQ Explorer are displayed in the Queue Manager Clusters folder.

Before you can create a new queue manager cluster:

  • Create two queue managers that will have the full repositories for the cluster.
  • Each full repository queue manager in the cluster must have a running listener.
  • You must know the connection details of each full repository queue manager in the cluster because you are asked to enter these details in the wizard.

Note that you cannot use the Create Cluster wizard if the full repository queue managers already belong to another cluster. If you want to use queue managers that already belong to another cluster, you must configure the cluster using the MQSC commands.

To create a new cluster:

Procedure

  1. In the Navigator view, right-click the Queue Manager Clusters folder, then click New... The Create Cluster wizard opens.
  2. Work through the pages in the wizard to enter the following information about the new cluster:
    1. Page 1: The name of the new cluster. This name must be unique in your organization.
    2. Page 2: The name of a queue manager that will have a full repository of information about the cluster. The queue manager must already exist; click Add queue manager to WebSphere MQ Explorer if the queue manager is not already known to WebSphere MQ Explorer.
    3. Page 3: The name of a second queue manager that will have a full repository of information about the cluster. The queue manager must already exist; click Add queue manager to WebSphere MQ Explorer if the queue manager is not already known to WebSphere MQ Explorer.
    4. Page 4: The connection name of the first full repository queue manager. The format of the connection name depends on the transport protocol that the queue manager uses. For example, if the queue manager uses TCP/IP, you can use the format computer_name(port_number) where computer_name is the name of the computer that hosts the queue manager, and port_number is the port number on which the queue manager listens for connections.
  3. Click Finish to create the cluster.

Results

The new cluster is displayed in the Queue Manager Clusters folder. The cluster's full repositories are shown in its Full Repositories folder.

For more information, see Queue Manager Clusters and Script (MQSC) Commands