Home

 

4. Define the cluster queue INVENTQ

 

The INVENTQ queue which is already hosted by the NEWYORK queue manager is also to be hosted by PARIS. Define it on the PARIS queue manager as follows:

DEFINE QLOCAL(INVENTQ) CLUSTER(INVENTORY)

Now that you have completed all the definitions, make sure you have started the channel initiator on WebSphere MQ for z/OS, and, on all platforms, start a listener on queue manager PARIS. The listener 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 three queue managers

The INVENTQ queue and the inventory application are now hosted on two queue managers in the cluster. This increases their availability, speeds up throughput of messages, and allows the workload to be distributed between the two queue managers. Messages put to INVENTQ by any of the queue managers LONDON, NEWYORK, PARIS are routed alternately to PARIS or NEWYORK, so that the workload is balanced.

The modification to this cluster was accomplished without you having to make any alterations to the queue managers NEWYORK or LONDON. The full repositories in these queue managers are updated automatically with the information they need to be able to send messages to INVENTQ at PARIS.

 

Parent topic:

Procedure


qc12290_


 

Home