Backup for multi-instance queue manager

Technote (FAQ)


Question

How do you backup a multi-instance queue manager configuration?

Answer

Backing up a multi-instance queue manager configuration involves saving the queue manager library and IFS. Saving the multi-instance queue manager IFS directory remotely from the /QNTC net share is not supported by the operating system, so, you will need to copy the queue manager directory to the local server, and then save the directory. Use the following commands to save the configuration for each queue manager:



1. Create a save file for every queue-manager library on your system, and Save your queue-manager libraries into the save files.
a. CRTSAVF FILE(QGPL/queue-manager-library)
b. SAVLIB LIB(queue-manager-library) DEV(*SAVF) SAVF(QGPL/queue-manager-library)

Where queue-manager-library is the name of the queue manager library.



2. Create queue manager directory
md '/QIBM/QMGR_DIRECTORY'


3. Copy queue manager directory from /QNTC remote directory to local server
CPY OBJ('/QNTC/SERVER1/QIBM/Userdata/mqm/qmgrs/<QMGR_NAME>')
TODIR('/QIBM/QMGR_DIRECTORY/<QMGR_NAME>') SUBTREE(*ALL)

Where QMGR_NAME is the name of the queue manager


4. Change the Allow save attribute to *YES for the queue manager directory, and all it's objects and sub-directories.
CHGATR OBJ('/QIBM/QMGR_DIRECTORY/<QMGR_NAME>/*')
ATR(*ALWSAV) VALUE(*YES) SUBTREE(*ALL)


5. Create a save file for the WebSphere MQ IFS data directory
a. CRTSAVF FILE(QGPL/QMUSERDATA)
b. SAV DEV('/QSYS.LIB/QGPL.LIB/QMUSERDATA.FILE')
OBJ('/QIBM/QMGR_DIRECTORY/<QMGR_NAME>')



Reference the following technote:
IBM Rochester Support Technote 86256DD6005936E7: Saving NFS Mount Points and/or Remote Files
http://www.ibm.com/support/docview.wss?&uid=nas138207fb66182192786256dd6005936e7
.
IBM Rochester Support Technote 862575540053FA5D: Save of IFS Object copied from QNTC, Fails.
http://www.ibm.com/support/docview.wss?&uid=nas1b28a9fc01f6b1e6c862575540053fa5d
.
IBM Rochester Support Technote 8625732C005FEA76: QNTC Does Not Support All Attributes with CHGATR Command
http://www.ibm.com/support/docview.wss?&uid=nas1e323b29e8dd14f8c8625732c005fea76


Product Alias/Synonym

WMQ MQSeries WebSphere MQ

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere MQ
Usability

Software version:

7.0.1, 7.1

Operating system(s):

i5/OS

Software edition:

Advanced

Reference #:

1430276

Modified date:

2010-06-15

Translate my page

Machine Translation

Content navigation