queue managers, removing a queue manager, queue-sharing groups" /> Removing a queue manager from a queue-sharing group

 

Removing a queue manager from a queue-sharing group

We can only remove a queue manager from a queue-sharing group if the queue manager's logs are not needed by another process. The logs are needed if they contain:

If either or both of these points apply, the queue manager cannot be removed. To determine which queue managers' logs are needed for a future restore process, use the MQSC DISPLAY CFSTATUS command (see WebSphere MQ Script (MQSC) Command Reference for details of this command).

If the queue manager logs are not needed, take the following steps to remove the queue manager from the queue-sharing group:

  1. Resolve any indoubt units of work involving this queue manager.

  2. Shut the queue manager down cleanly using STOP QMGR MODE(QUIESCE).

  3. Wait for an interval at least equivalent to the value of the EXCLINT parameter you will specify in the BACKUP CFSTRUCT command in the next step.

  4. On another queue manager, run a CF structure backup for each recoverable CF structure by using the MQSC BACKUP CFSTRUCT command and specifying an EXCLINT value as required in the previous step.

  5. Use the REMOVE QMGR function of the CSQ5PQSG utility to remove the queue manager from the queue-sharing group. This program is described in The queue-sharing group utility (CSQ5PQSG). A sample is provided in thlqual.SCSQPROC(CSQ45RQM).

  6. Before restarting the queue manager, reset the QSGDATA system parameter to its default value. See the WebSphere MQ for z/OS System Setup Guide for information on how to tailor your system parameters.