[IBMi]

Restore queue managers after upgrading IBM MQ on IBM i

Complete the side-by-side upgrade by restored the saved queue managers onto the server that you have upgraded.

Before you begin

Note: Carry out this task only if you are performing a side-by-side upgrade.

Ensure that you have saved your queue manager data, see End IBM MQ activity on IBM i, and installed and verified the upgrade.

About this task

Transfer the queue manager data, and journal receivers, onto the server that has been upgraded.

Procedure

  1. Restore the queue manager libraries for every queue manager, using the command:
    
    RSTLIB SAVLIB( queue-manager-library ) DEV(*SAVF) (*PRINT)
    SAVF(QGPL/ queue-manager-library )
    
    where the queue-manager-library name consists of the name of the queue manager preceded by QM.
  2. Restore the IBM MQ IFS data, using the command:
    
    RST DEV('/QSYS.LIB/QGPL.LIB/QMUSERDATA.FILE') OBJ('/QIBM/UserData/mqm') (*PRINT)
    
  3. To associate the journal receivers, issue the command WRKJRN on the journal AMQAJRN in each queue manager library, by pressing PF4 and selecting option 9.
  4. If you want to set up your work management environment, job descriptions, and pools, see the Administering IBMi for guidance. Otherwise, use the default setup.