Author |
Message
|
Mensch |
Posted: Sat May 13, 2006 2:56 am Post subject: Unable to run MQSC and control command after migration |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Hi all
I did migration of middleware server hosting MQ5.3 CSD 10 , MB 5.0 and DB2 8.1 from one solaris server to my new solaris server ..
Migration means just copied all the files from old server to new server as it is with maintaining same directory structure.
I.P address and Hostname of both servers are different though hardware is same.
I am not able to run mqsc and control commands
When I Run " runmqsc QManager name " .. I get following error WebSphere MQ was unable to open a message catalog to display an error message for message id hexadecimal %6, with inserts %1, %2, %3, %4, and %5.
..please help
NB : Mqver gives proper output as expected _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
wschutz |
Posted: Sat May 13, 2006 4:08 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Well, I'd say it looks like you didn't copy everything. What directories did you copy and how exactly did you copy these files over?  _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat May 13, 2006 7:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Anyway I believe the safe way to copy MQ is to install MQ on the new server and copy the data files (/var/mqm on Unix).
I hope you realize that if the new server does not take over the ip of the old server (ip or/and dns) the communication will not work and previously connected qmgrs will have to be told the new dns/ip for their sender channels.
This is why it is easier to use dns instead of IP as the resolution can be changed centrally within a matter of hours and the senders using dns resolution never have to be notified that this now resolves to a different ip.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mensch |
Posted: Mon May 15, 2006 1:07 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Hi
Sorry for late reply ..
I have copied all the directories as it is from my old server...
Now I find that DB2 commands and userwritten MB scripts are also not working .....
I am aware that I have to change I.p's from the old server . ..
Fresh installation is the only way to make commands work on new server???
because i thought just copying as it is and changing i.p to new i.p would work ... _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
Mensch |
Posted: Mon May 15, 2006 1:09 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Files are copied using TSM backup method .... forgot to mention in previous post _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
markt |
Posted: Mon May 15, 2006 1:58 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
You cannot just copy files.
Proper installation will create symlinks eg to message catalogs. |
|
Back to top |
|
 |
Mensch |
Posted: Mon May 15, 2006 2:09 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Ok ....
I will do fresh installation of all the components .. thanks for inputs ..
But here I have one more doubt .. As I have copied all the files as it is from my old server .. only installation will solve my problem or I would have to Install first and then copy files again to new server ???? _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
wschutz |
Posted: Mon May 15, 2006 2:43 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Unless you need to save the messages that are in queues, I would suggest:
(1) back up your existing qmgr object definitions with saveqmgr
(2) back up security setting with amqoamd -s
(3) clear out everything you copied to you new system
(4) install mq, verify that it works properly (amqsput/get)
(5) restore what was saved in (1) and (2). _________________ -wayne |
|
Back to top |
|
 |
vennela |
Posted: Mon May 15, 2006 7:40 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Or install MQ properly and copy only /var/mqm and not /opt/mqm or /usr/mqm |
|
Back to top |
|
 |
Mensch |
Posted: Mon May 15, 2006 7:51 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
Hi venella ..
Thank you very much for your reply ...
Could you please tell me whjat is the harm in copying /opt/mqm or /usr/mqm
bcoz in past i copied those files after installation and it worked fine .. _________________ Thanks and Regards ,
Mensch |
|
Back to top |
|
 |
wschutz |
Posted: Mon May 15, 2006 7:59 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Mensch wrote: |
Could you please tell me whjat is the harm in copying /opt/mqm or /usr/mqm |
Didn't markt recently explain the problem? _________________ -wayne |
|
Back to top |
|
 |
|