Home
7. Define the backup cluster queue INVENTQ
The INVENTQ which is already hosted by the NEWYORK queue manager, is also to be hosted as a backup by CHICAGO. Define it on the CHICAGO queue manager as follows:
DEFINE QLOCAL(INVENTQ) CLUSTER(INVENTORY) CLWLPRTY(1)
Now that you have completed all the definitions, if you have not already done so, you should start the channel initiator on WebSphere MQ for z/OS and, on all platforms, start a listener program on queue manager CHICAGO. The listener program listens for incoming network requests and starts the cluster-receiver channel when it is needed. See “Establishing communication in a cluster” for more information.
The cluster set up by this task looks like this:
Figure 1. The INVENTORY cluster, with four queue managers
The INVENTQ and the inventory application are now hosted on two queue managers in the cluster. This provides a backup and a main queue. Messages put to INVENTQ are routed to NEWYORK unless it is unavailable when they are sent instead to CHICAGO.
Parent topic:
Procedure
qc12460_
Home