Home
Definitions to set up a network using clusters
When using clusters, we need:
- Just one CLUSSDR and one CLUSRCVR definition at each queue manager
- No separately defined transmission queues
- No remote-queue definitions
To set up the network shown in Figure 1 using clusters you need the following definitions:
Definitions for clustering Description Number per queue manager Total number A cluster-sender channel definition for a channel on which to send messages to a repository queue manager 1 4 A cluster-receiver channel definition for a channel on which to receive messages from other queue managers in the cluster 1 4 A local-queue definition for each local queue 2 8
To set up this cluster of queue managers (with two full repositories), you would need 4 definitions on each queue manager — a total of 16 definitions all together. You would also need to alter the queue-manager definitions for two of the queue managers, to make them full repository queue managers for the cluster.
The CLUSSDR and CLUSRCVR channel definitions need be made only once. When the cluster is in place we can add or remove queue managers (other than the repository queue managers) without any disruption to the other queue managers.
Clearly, this amounts to a significant reduction in the number of definitions required to set up a network containing a large number of queue managers.
With fewer definitions to make there is less risk of error:
- Object names will always match, for example the channel name in a sender-receiver pair.
- The transmission queue name specified in a channel definition will always match the correct transmission queue definition or the transmission queue name specified in a remote queue definition.
- A QREMOTE definition will always point to the correct queue at the remote queue manager.
Furthermore, once a cluster is set up, we can move cluster queues from one queue manager to another within the cluster without having to do any system management work on any other queue manager. There is no chance of forgetting to delete or modify channel, remote-queue, or transmission-queue definitions. We can add new queue managers to a cluster without any disruption to the existing network.
Parent topic:
How does the system administrator benefit?Home