ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Save/Restore MQ Config

Post new topic  Reply to topic
 Save/Restore MQ Config « View previous topic :: View next topic » 
Author Message
FrankBo
PostPosted: Thu Dec 29, 2005 6:47 am    Post subject: Save/Restore MQ Config Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Thu Dec 29, 2005 4:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
FrankBo
PostPosted: Thu Dec 29, 2005 8:06 pm    Post subject: Save/Restore MQ Config Reply with quote

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
View user's profile Send private message
tkane
PostPosted: Fri Dec 30, 2005 8:12 am    Post subject: Reply with quote

Voyager

Joined: 23 Dec 2002
Posts: 82
Location: Kansas City

Frank,
I'm going to assume you mean a single queue manager rather than a single queue.
Look at: http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat2
MS03 is what you want. Wayne has a version of it for iSeries.

The supportPacs are great in general.

Good Luck
Tom
Back to top
View user's profile Send private message
FrankBo
PostPosted: Fri Dec 30, 2005 11:11 am    Post subject: Save/Restore MQ Config Reply with quote

Apprentice

Joined: 08 Dec 2005
Posts: 36

Thanks Tom, I'll check it out.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Save/Restore MQ Config
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.