Adding a queue sharing group to existing clusters
Add a queue sharing group on z/OS® to existing clusters.
Before you begin
Note:
- For changes to a cluster to be propagated throughout the cluster, at least one full repository must always be available. Ensure that your repositories are available before starting this task.
- Queue sharing groups are supported only on IBM® MQ for z/OS. This task is not applicable to other platforms.
Scenario:
- The
INVENTORY
cluster has been set up as described in Setting up a new cluster. It contains two queue managers,LONDON
andNEWYORK
. - You want to add a queue sharing group to this cluster. The group,
QSGP
, comprises three queue managers,P1
,P2
, andP3
. They share an instance of theINVENTQ
queue, which is to be defined byP1
.
About this task
Follow these steps to add new queue managers that host a shared queue.
Procedure
Results
Figure 1 shows the cluster set up by this task.
Now messages put on the INVENTQ
queue by LONDON
are routed
alternately around the four queue managers advertised as hosting the queue.
What to do next
A benefit of having members of a queue sharing group host a cluster queue is any member of the
group can reply to a request. In this case perhaps P1
becomes unavailable after
receiving a message on the shared queue. Another member of the queue sharing group can reply
instead.