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 » General IBM MQ Support » QMGR transfer to new host on WINDOWS 2000

Post new topic  Reply to topic
 QMGR transfer to new host on WINDOWS 2000 « View previous topic :: View next topic » 
Author Message
jhalstead
PostPosted: Tue Sep 30, 2003 1:13 am    Post subject: QMGR transfer to new host on WINDOWS 2000 Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Just a quicky.

If I want to restore an MQSeries v5.2 qmgr (Windows2000) to a new machine how can I go about this.

I can copy the log and data files - however there is no qm.ini or mqs.ini file. I understand that this information is stored in the registry - however simply copying the MQSeries registry keys from the HKEY_LOCAL_MACHINE areas inserting it on the new machine doesn't appear to work.

I guess I can create the queue manager with the same attributes as the source qmgr, stop it and replace the log and data files - however this seems a little long winded...

Any help would be brilliant!

Jamie
Back to top
View user's profile Send private message Send e-mail
clindsey
PostPosted: Tue Sep 30, 2003 6:10 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

There is a utility that you can use to dump the MQ related registry entries.
It is called amquregn. Run it from the <mqdir>\bin directory and give the control file as a parm, e.g "amquregn amquregn.ctl > mqreg.out".
From this output you can determine the entries for your queue manager and manually add to another machine.

Also, you can export/import. You will find that the qm entries in
HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSERIES\CurrentVersion\Configuration\QueueManager.
You should then be able to use 'reged32' and select 'Save Subtree' from the Registry menu and save to a file. Then 'restore' this file on the new machine.

It goes with out saying that messing with the registry can be hazardous to you and those setting close by if somethig goes wrong

It would be less risky to create the queue manager on the second machine via MQ and then just compare reg entries and modify individual entries as needed. Keep in mind that you can also use SupportPac MS03 to save the queue manager definitions. Then create the new qm and import the saved definitions. This is all you would need if there were no messages on any of the queues as this doesn't get any persistent messages that are saved in the file system.

Charlie
Back to top
View user's profile Send private message
jhalstead
PostPosted: Tue Sep 30, 2003 8:30 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Thanks Charlie I'll give that a shot!

Jamie
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » QMGR transfer to new host on WINDOWS 2000
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.