Create File Systems:
/usr/mqm -> MQ installation base
/var/mqm -> Queue Manager Data (log, qmgrs)
/home/mqm -> MQM user base (scripts, admin files etc)
/home/mqm/mqrouter - > MQ Router application files (scripts, config etc)
/home/mqm/saveqmgr -> Queue Manager backup location
Optional (for large installations in place of /var/mqm/):
/var/mqm/log –> Queue manager log
/var/mqm/qmgrs -> Queue manager data
Install – MQ Filesets:
mqm.base.runtime 7.0.1.3 WebSphere MQ Runtime for
mqm.base.samples 7.0.1.3 WebSphere MQ Samples
mqm.base.sdk 7.0.1.3 WebSphere MQ Base Kit for
mqm.client.rte 7.0.1.3 WebSphere MQ Client for AIX
mqm.java.rte 7.0.1.3 WebSphere MQ Java Client, JMS
mqm.jre.rte 7.0.1.3 WebSphere MQ Java Runtime
mqm.keyman.rte 7.0.1.3 WebSphere MQ Support for GSKit
mqm.msg.en_US 7.0.1.3 WebSphere MQ Messages - U.S.
mqm.server.rte 7.0.1.3 WebSphere MQ Server
mqm.txclient.rte 7.0.1.3 WebSphere MQ Extended
mqm.man.en_US.data 7.0.1.3 WebSphere MQ Man Pages - U.S.
Collect information from current server (for migrations):
On the current server, save the Queue Manager information using the saveqmgr MQ utility
#saveqmgr –m <Queue Manager Name> -s –f <File Name to save>
#saveqmgr –m <Queue Manager Name> -z -f <File Name to save>
This should create 2 files – one for the queue manager definitions and one for queue manager authorization definitions.
This utility is available from IBM WebSphere site: https://www-304.ibm.com/support/docview.wss?uid=swg24000673
Do this for all the desired Queue Managers.
Importing saved queue managers on the new server:
Create the desired empty queue mangaers on the new server:
#crtmqm – c "QM for ….env" –ll –ld /var/mqm/primary/log –md /var/mqm/primary/qmgrs –lp 3 –ls 2 <Queue Manager Name>
Start the new Queue Manager
#strmqm <Queue Manager Name>
Create the new Queue Manager definitions from the previously saved file (using saveqmgr)
#cat <QM definition file> | runmqsc <QM name>
Apply the authorization for the objects
Make the authorization file executable and execute it from the command line.
#./Authorization File