Procedure

1. Alter PARIS to make it a full repository queue manager

On PARIS, issue the following command:

ALTER QMGR REPOS(INVENTORY)

2. Add a CLUSSDR channel on PARIS

PARIS currently has a cluster-sender channel pointing to LONDON. Now that LONDON is no longer to hold a full repository for the cluster, PARIS must have a new cluster-sender channel that points to NEWYORK, where the other full repository is held.

DEFINE CHANNEL(TO.NEWYORK) CHLTYPE(CLUSSDR) TRPTYPE(TCP)
CONNAME(NEWYORK.CHSTORE.COM) CLUSTER(INVENTORY)
DESCR('Cluster-sender channel from PARIS to repository at NEWYORK')

3. Define a CLUSSDR channel on NEWYORK that points to PARIS

Currently NEWYORK has a cluster-sender channel pointing to LONDON. Now that the other full repository has moved to PARIS, you need to add a new cluster-sender channel at NEWYORK that points to PARIS.

DEFINE CHANNEL(TO.PARIS) CHLTYPE(CLUSSDR) TRPTYPE(TCP)
CONNAME(PARIS.CHSTORE.COM) CLUSTER(INVENTORY)
DESCR('Cluster-sender channel from NEWYORK to repository at PARIS')

When you do this, the PARIS queue manager immediately learns all about the cluster from NEWYORK and builds up its own full repository.

4. Check that queue manager PARIS now has a full repository

Check that queue manager PARIS has built its own full repository from the full repository on queue manager NEWYORK. Do this by issuing the following commands:

DIS CLUSQ(*) CLUSTER (INVENTORY)
DIS CLUSQMGR(*) CLUSTER (INVENTORY) 

Check that these commands show details of the same resources in this cluster as on NEWYORK.

Note:
If queue manager NEWYORK is not available, this building of information cannot complete. Do not move on to the next step in this task until this is complete.

5. Alter the queue-manager definition on LONDON

Finally alter the queue manager at LONDON so that it no longer holds a full repository for the cluster. On LONDON, issue the command:

ALTER QMGR REPOS(' ')

The queue manager no longer receives any cluster information. After 30 days the information that is stored in its full repository expires. The queue manager LONDON now builds up its own partial repository.

6. Remove or change any outstanding definitions

When you are sure that the new arrangement of your cluster is working as expected, you can remove or change any outstanding definitions that are no longer up-to-date. It is not essential that you do this, but you might choose to in order to tidy up.

The cluster set up by this task looks like this:

Figure 18. The INVENTORY cluster with the full repository moved to PARIS
The diagram is the same INVENTORY cluster as in figure 17, with the full repository moved to PARIS