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 » Migrating existing Qmgr to MQHA Qmgr

Post new topic  Reply to topic
 Migrating existing Qmgr to MQHA Qmgr « View previous topic :: View next topic » 
Author Message
san123
PostPosted: Tue Nov 11, 2008 11:47 am    Post subject: Migrating existing Qmgr to MQHA Qmgr Reply with quote

Newbie

Joined: 08 May 2008
Posts: 4

Hi,

I have a qmgr on server A. I got another server B and both these servers are clustered using HACMP. Is there a way to migrate my existing qmgr on server A to MQHA qmgr without deleting and recreating it.

Thanks
san
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 11, 2008 4:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Do something like:

Install the WMQ software on your server B. Shutdown the queue manager on server A. Move the current contents of /var/mqm to shared storage and create the correct symlinks on both servers. Do the needful within HACMP to start/stop queue managers & failover as required.

The HACMP support pac will be useful in this scenario.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
csmith28
PostPosted: Tue Nov 11, 2008 7:04 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Vitor is right MQSeries needs to be installed on both members of the cluster.

In an HACMP Cluster the application, in this case a WMQSeries MQManager has to be defined within an Resource Group.

The Resource Group must be defined on a shareable Enhanced Concurrent Filesystem on a Volume Group defined on SAN disk that can be varried on to both members of the cluster.

If the MQManager on Server A is defined on a local disk or on a Volume Group on a disk that cannot be varried on to server B then you will have no choice other than to delete and recreate the MQMAnager on a disk that can be shared between the two servers in the cluster.

IBM has done an extroodinary job of documenting the requirements to build an HACMP/WMQSeries Cluster. If this is what you have to do I suggest you read it, learn it and know it before you start.

And don't forget to document the cluster architecture in a diagram.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
san123
PostPosted: Wed Nov 12, 2008 6:19 am    Post subject: Reply with quote

Newbie

Joined: 08 May 2008
Posts: 4

Thanks guys.

Actually I very well understand how to configure MQHA and create a new queue manager from scratch using "hacrtmqm" script etc.

The scenario here is that I already have a qmgr running on one of the servers. I know I can backup qmgr object definitions and permissions using saveqmgr but what about messages? There is possibility of queues having messages at the time I migrate this qmgr to MQHA qmgr. How to save these messages (of course persistent msgs).

I would like to check if there a way to make my existing qmgr an MQHA qmgr without deleting and re-creating it again.

Thanks
San
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Nov 12, 2008 6:32 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

What I have done in the past is as Vitor recommends.

In the one case where it was done manually, the relevant directory sub-structure was copied to the volume group and verified before deleting from the 'local' disk, the sym-links were created and the mqs.ini file edited on the old server (due to path changes) before cloning that across to the new server.

Any connections to the queue manager were identified and their CONNAME values altered to the VIP address. Fingers (and everything else!) were then crossed and the 'go' button pushed...it worked like a charm!
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 12, 2008 7:05 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Wouldn't it be wonderful if the supportPac included a script to perform a migration, as well as a script to perform a creation? maybe something called "hamigmqm"?

Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Nov 12, 2008 10:32 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

So much for suggesting people contact the author(s) of the MC91 Support Pack to ask for this - no contact info is provided.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 12, 2008 11:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Okay, that's odd. There *used* to be an hamigmqm script in MC91.

There doesn't seem to be one in the current release just downloaded...
Back to top
View user's profile Send private message
csmith28
PostPosted: Wed Nov 12, 2008 12:18 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Sorry I didn't mean to give you an HACMP 101 class but the original questoin in the thread was not indicative of an indepth knowledge of HACMP.
san123 wrote:
Thanks guys.

Actually I very well understand how to configure MQHA and create a new queue manager from scratch using "hacrtmqm" script etc.

The scenario here is that I already have a qmgr running on one of the servers. I know I can backup qmgr object definitions and permissions using saveqmgr but what about messages? There is possibility of queues having messages at the time I migrate this qmgr to MQHA qmgr. How to save these messages (of course persistent msgs).

I would like to check if there a way to make my existing qmgr an MQHA qmgr without deleting and re-creating it again.

Thanks
San

_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
markt
PostPosted: Wed Nov 12, 2008 12:45 pm    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Quote:
Wouldn't it be wonderful if the supportPac included a script to perform a migration, as well as a script to perform a creation? maybe something called "hamigmqm"?

Actually you're asking for an "hamvmqm", and it would be nice, but it's not going to be in MC91.

The complexities of writing such a script expand enormously when you have to cope with errors half-way through and maybe backout half of the symlink changes (and what happens if they in turn fail). At least with the crt command, if that fails you don't have a used qmgr that's now part-broken. If the filesystem were transactional, maybe it'd be easier ...

The hamigmqm was for migrating an already-HA qmgr from one version of MQ to another.
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 » General IBM MQ Support » Migrating existing Qmgr to MQHA Qmgr
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.