Posted: Tue Sep 30, 2003 1:13 am Post subject: QMGR transfer to new host on WINDOWS 2000
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...
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.
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