Working with remote IBM MQ objects

You can administer IBM® MQ objects on remote queue managers by using MQSC commands, PCF commands, or the administrative REST API. Before you can use any of these methods, you must define transmission queues and channels between the local queue manager and the remote queue manager so that commands can be sent to the remote queue manager, and responses received by the local queue manager. Alternatively, you can configure a queue manager cluster, and then use the same remote administration methods.

About this task

To prepare queue managers for remote administration, you must configure the following objects on the local queue manager:
  • A listener.
  • A transmission queue that has the name of the remote queue manager.
  • A sender channel that has the connection details for the remote queue manager.
  • A receiver channel that has the same name as the sender channel on the remote queue manager.
You must also configure the following objects on the remote queue manager:
  • A listener.
  • A transmission queue that has the name of the local queue manager.
  • A sender channel that has the connection details for the local queue manager.
  • A receiver channel that has the same name as the sender channel on the local queue manager.
For more information about configuring these objects, see Configuring queue managers for remote administration.

Alternatively, you can configure a queue manager cluster. A cluster is a group of queue managers set up in such a way that the queue managers can communicate directly with one another over a single network without complex transmission queue, channel, and queue definitions. Clusters can be set up easily, and typically contain queue managers that are logically related in some way and need to share data or applications. Even the smallest cluster reduces system administration costs.

Establishing a network of queue managers in a cluster involves fewer definitions than establishing a traditional distributed queuing environment. With fewer definitions to make, you can set up or change your network more quickly and easily, and reduce the risk of making an error in your definitions.

To set up a cluster, you need one cluster sender (CLUSSDR) and one cluster receiver (CLUSRCVR) definition for each queue manager. You do not need any transmission queue definitions or remote queue definitions. The principles of remote administration are the same when used within a cluster, but the definitions themselves are greatly simplified.

For more information about configuring a cluster, see Configuring a queue manager cluster.