Preparing to install IBM MQ on IBM i
Carry out the following tasks to prepare the system for an upgrade.
Procedure
- Stop the IBM MQ queue managers by issuing the following command:
ENDMQM MQMNAME(*ALL) OPTION(*IMMED) ENDCCTJOB(*YES) RCDMQMIMG(*YES) TIMEOUT(30)Ensure that the user profile issuing this command has *ALLOBJ authority.- Create a save file for every queue manager library on the system. To do so, issue the command:
CRTSAVF FILE(QGPL/ queue_manager_library )where the queue_manager_library name consists of the name of the queue manager preceded by QM.- Save your queue manager libraries into the save files. To do so, issue the commands:
SAVLIB LIB( queue_manager_library ) DEV(*SAVF) SAVF(QGPL/ queue_manager_library )- Create a save file for IBM MQ IFS data. To do so, issue the command:
CRTSAVF FILE(QGPL/QMUSERDATA)- Save the IBM MQ IFS data, using the command:
SAV DEV('/QSYS.LIB/QGPL.LIB/QMUSERDATA.FILE') OBJ('/QIBM/UserData/mqm')- If we are going to run IBM MQ on a new machine, transfer the save files to the new machine.
- Issue the following command before you upgrade the IBM MQ product, only if the upgrade is required on the same machine.
- DLTMQM QMgrName
- ENDSBS SBS(QMQM) OPTION(*IMMED)
- WRKOBJLCK OBJ(QMQM) OBJTYPE(*LIB)
Relinquish any locks on the system.
Parent topic: Migrating a queue manager to a later version on IBM i - alternative method