|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Save/Restore MQ Config |
« View previous topic :: View next topic » |
Author |
Message
|
FrankBo |
Posted: Thu Dec 29, 2005 6:47 am Post subject: Save/Restore MQ Config |
|
|
Apprentice
Joined: 08 Dec 2005 Posts: 36
|
Hi, I'm new to MQ and have created a config for 1 LPAR and will have to create the exact same MQ config on other LPAR's. I'm wondering if MQ configs can b/saved and restored like libraries. So, is it possible to save the new MQ config that I created on 1 LPAR and restore it to another LPAR? I don't want the entire MQ system restored, just the new config that I created?
Thanks, Frank |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Dec 29, 2005 4:08 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
By using the term LPAR I assume this is on z/OS or UNIX. If it is UNIX run a saveqmgr (there is a support pack) against the existing queue manager. Then use this output as input to the new queue manager.
If you are wanting to do this on z/OS then you can run the MQ batch utility (CSQUTIL) do more or less the same thing.
If you are talking about cloning the exisiting Qmgr files to create a whole new queue manager then I really wouldn't do that. Just run a create for the new queue manager (on UNIX). On z/OS it is a lot more complicated (or should that be 'different'?). Once the subsystem has been defined to z/OS there are sample jobs to create all the pagesets and bootstraps for you, so again, it isn't worth the trouble of trying to clone the files from an existing queue manager.
To dump the definitions of a z/OS queue manager run a job like this....
//STEPBACK EXEC PGM=CSQUTIL,PARM='MQDV'
//STEPLIB DD DSN=SYS1.SCSQLOAD,DISP=SHR
// DD DSN=SYS1.SCSQANLE,DISP=SHR
// DD DSN=SYS1.SCSQAUTH,DISP=SHR
//SYSIN DD *
COMMAND DDNAME(INPUT) MAKEDEF(OUTPUT)
//INPUT DD *
DISPLAY STGCLASS(*) ALL
DISPLAY QUEUE(*) all
DISPLAY NAMELIST(*) all
DISPLAY PROCESS(*) all
DISPLAY CHANNEL(*) all
//OUTPUT DD DSN=your.dataset,
// DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB),VOL=SER=SYSMQ2,
// SPACE=(TRK,(15,10),RLSE),UNIT=SYSALLDA,DISP=(,CATLG)
//SYSPRINT DD SYSOUT=*
This should build you a dataset contain all your defined objects. This output can then be used as input to your new queue manager. |
|
Back to top |
|
 |
FrankBo |
Posted: Thu Dec 29, 2005 8:06 pm Post subject: Save/Restore MQ Config |
|
|
Apprentice
Joined: 08 Dec 2005 Posts: 36
|
Actually, I'm talking about another iSeries system. The config works fine on our test system and now I'd like to move the entire config, like a library, via save and restore. If I can avoid creating the new Q config without issuing many commands, that's what I want.
Any ideas on how I can sav/rst the entire config for a single Q?
Thakns |
|
Back to top |
|
 |
tkane |
Posted: Fri Dec 30, 2005 8:12 am Post subject: |
|
|
 Voyager
Joined: 23 Dec 2002 Posts: 82 Location: Kansas City
|
|
Back to top |
|
 |
FrankBo |
Posted: Fri Dec 30, 2005 11:11 am Post subject: Save/Restore MQ Config |
|
|
Apprentice
Joined: 08 Dec 2005 Posts: 36
|
Thanks Tom, I'll check it out. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|