CPFs in a sysplex environment
Use this topic to understand how to use CPFs within the scope of a sysplex.
If used in a sysplex environment, IBM MQ registers your CPFs to enable you to enter a command from any console in the sysplex and route that command to the appropriate system for execution. The command responses are returned to the originating console.
Defining the scope for sysplex operation
Scope is used to determine the type of CPF registration performed by the IBM MQ subsystem when we are running IBM MQ in a sysplex environment.
Possible values for scope are as follows:
- M
- System scope.
The CPF is registered with z/OS at system IPL time by IBM MQ and remains registered for the entire time that the z/OS system is active.
IBM MQ commands must be entered at a console connected to the z/OS image running the target subsystem, or we must use ROUTE commands to direct the command to that image.
Use this option if we are not running in a sysplex.
- S
- Sysplex started scope.
The CPF is registered with z/OS when the IBM MQ subsystem is started, and remains active until the IBM MQ subsystem terminates.
We must use ROUTE commands to direct the original START QMGR command to the target system, but all further IBM MQ commands can be entered at any console connected to the sysplex, and are routed to the target system automatically.
After IBM MQ termination, we must use the ROUTE commands to direct subsequent START commands to the target IBM MQ subsystem.
- X
- Sysplex IPL scope.
The CPF is registered with z/OS at system IPL time by IBM MQ and remains registered for the entire time that the z/OS system is active.
IBM MQ commands can be entered at any console connected to the sysplex, and are routed to the image that is executing the target system automatically.
An IBM MQ subsystem with a CPF with scope of S can be defined on one or more z/OS images within a sysplex, so these images can share a single subsystem name table. However, we must ensure that the initial START command is issued on (or routed to) the z/OS image on which we want the IBM MQ subsystem to run. If we use this option, we can stop the IBM MQ subsystem and restart it on a different z/OS image within the sysplex without having to change the subsystem name table or perform an IPL of a z/OS system.
An IBM MQ subsystem with a CPF with scope of X can only be defined on one z/OS image within a sysplex. If we use this option, we must define a unique subsystem name table for each z/OS image requiring IBM MQ subsystems with CPFs of scope X.
To use the z/OS automatic restart manager (ARM) to restart queue managers in different z/OS images automatically, every queue manager must be defined in each z/OS image on which that queue manager might be restarted. Every queue manager must be defined with a sysplex-wide, unique 4-character subsystem name with a CPF scope of S.
Parent topic: Define the IBM MQ subsystem to z/OS