Monitor and control channels on UNIX, Linux, and Windows
For DQM we need to create, monitor, and control the channels to remote queue managers. We can control channels using commands, programs, IBM MQ Explorer, files for the channel definitions, and a storage area for synchronization information.
We can use the following types of command to control channels:
- The IBM MQ commands (MQSC)
- We can use the MQSC as single commands in an MQSC session in UNIX, Linux, and Windows systems. To issue more complicated, or multiple, commands the MQSC can be built into a file that you then run from the command line. For details, see MQSC commands. This
section gives some simple examples of using MQSC for distributed queuing. The channel commands
are a subset of the IBM MQ Commands (MQSC). You use MQSC
and the control commands to:
- Create, copy, display, change, and delete channel definitions
- Start and stop channels, ping, reset channel sequence numbers, and resolve in-doubt messages when links cannot be re-established
- Display status information about channels
- Control commands
- We can also issue control commands at the command line for some of these functions. For details, see Administration using the control commands.
- Programmable command format commands
- For details, see PCF commands.
- IBM MQ Explorer
- On Linux and Windows systems, we can use the IBM MQ Explorer. This provides a graphical administration interface to perform administrative tasks as an alternative to using control commands or MQSC commands. Channel definitions are held as queue manager objects.
Each queue manager has a DQM component for controlling interconnections to compatible remote queue managers. A storage area holds sequence numbers and logical unit of work (LUW) identifiers. These are used for channel synchronization purposes.
For a list of the functions available to you when setting up and controlling message channels, using the different types of command, see Table 1.- Functions required for setting up and controlling channels
A number of IBM MQ functions might be needed to set up and control channels. The channel functions are explained in this topic. - Getting started with objects
Channels must be defined, and their associated objects must exist and be available for use, before a channel can be started. This section shows you how. - Set up communication on Windows
When a distributed-queuing management channel is started, it tries to use the connection specified in the channel definition. For this to succeed, the connection must be defined and available. This section explains how to do this by using the forms of communication available for IBM MQ for Windows systems. - Set up communication on UNIX and Linux
When a distributed-queuing management channel is started, it tries to use the connection specified in the channel definition. For this to succeed, the connection must be defined and available. This section explains how to do this by using the forms of communication available for IBM MQ for UNIX or Linux systems.
Parent topic: Configure distributed queuing
Related tasks
Related information
- Channel programs on UNIX, Linux, and Windows
- Message channel planning example for UNIX, Linux, and Windows
- Example configuration information
- Channel attributes