Preparing to install IBM MQ on IBM i
Carry out the following tasks to prepare your system for an upgrade.
Procedure
-
Stop the IBM® MQ queue managers by issuing the following command:
Ensure that the user profile issuing this command hasENDMQM MQMNAME(*ALL) OPTION(*IMMED) ENDCCTJOB(*YES) RCDMQMIMG(*YES) TIMEOUT(30)
*ALLOBJ
authority. -
Create a save file for every queue manager library on your system. To do so, issue the command:
where theCRTSAVF FILE(QGPL/ queue_manager_library )
queue_manager_library
name consists of the name of the queue manager preceded byQM
. -
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 your IBM MQ IFS data, using the command:
SAV DEV('/QSYS.LIB/QGPL.LIB/QMUSERDATA.FILE') OBJ('/QIBM/UserData/mqm')
- If you 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 your 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. -