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 » Unable to run MQSC and control command after migration

Post new topic  Reply to topic
 Unable to run MQSC and control command after migration « View previous topic :: View next topic » 
Author Message
Mensch
PostPosted: Sat May 13, 2006 2:56 am    Post subject: Unable to run MQSC and control command after migration Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sat May 13, 2006 4:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Sat May 13, 2006 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mensch
PostPosted: Mon May 15, 2006 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Mensch
PostPosted: Mon May 15, 2006 1:09 am    Post subject: Reply with quote

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
View user's profile Send private message
markt
PostPosted: Mon May 15, 2006 1:58 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

You cannot just copy files.
Proper installation will create symlinks eg to message catalogs.
Back to top
View user's profile Send private message
Mensch
PostPosted: Mon May 15, 2006 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Mon May 15, 2006 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Mon May 15, 2006 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Mensch
PostPosted: Mon May 15, 2006 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Mon May 15, 2006 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Unable to run MQSC and control command after migration
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.