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 » MQ AutoMigration from 5.3 to 6.0

Post new topic  Reply to topic
 MQ AutoMigration from 5.3 to 6.0 « View previous topic :: View next topic » 
Author Message
Arkay
PostPosted: Thu Oct 11, 2007 4:18 am    Post subject: MQ AutoMigration from 5.3 to 6.0 Reply with quote

Novice

Joined: 31 Aug 2006
Posts: 14

Hiii,

I am working on migration of WMQ from Verion 5.3 CSD10 to WMQ 6.0.2.2 on AIX 5.2 platform. I need to automate the process without losing the existing MQ Configuration (QMs and Other Objects including Listeners and Exits) using Shell scripts.

As per the Quick Beginnings :
I need to take a backup and Uninstall MQ 5.3 then install wmq 6.0 and restore the configuration later

Please provide me Information on how to Automate the migration process.

Thanks and Reagrds,
Rakesh Kumar
_________________
Rgds,
Arkay.
IBM Certified System Administrator - WMQ
IBM Certified Solution Designer - WMQ
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 11, 2007 4:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can use the silent uninstall/install process, as documented in the quick beginnings guide for your platform to perform the actual upgrades.

You can use MS03 to back up the object definitions you have made, and then pass the output to runmqsc to recreate them on the new queue manager. This is only if you have to delete your queue manager, which may not be necessary when doing an uninstall.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Arkay
PostPosted: Thu Oct 18, 2007 1:38 am    Post subject: Reply with quote

Novice

Joined: 31 Aug 2006
Posts: 14

Thanks for providing Information about SupportPac MS03.

The Quick Beginnings for AIX, doens't give any Information how to automate the migration to MQ6.0..

Below is the process briefed in the "Quick Beginnings for AIX" :

1.End all WebSphere MQ activity.
a. Log in as root.
b. Use the endmqm command to stop all running queue managers.
c. Stop any listeners associated with the queue managers, using the command:
endmqlsr -m QMgrName
d. To check that you have stopped all of them, enter the following:
ps -ef | grep mq
Check that there are no processes listed that are running command lines beginning amq or runmq. Ignore any that start with amqi.
2.Uninstall WebSphere MQ and any WebSphere MQ service updates.
3.Install WebSphere MQ Version 6.0 by following the tasks set out in the book.

For the above steps 2 and 3 the Quick Beginnings Guide refers to use below FastPath commands,which are interactive ways :

smitty install_remove : To Remove the filesets for MQ 5.3 which start with 'mqm'
smitty install_latest : To Install the WMQ 6.0
smitty install_update : To Update the WMQ 6.0 with latest fixes

The fastpath commands can help us only in navigating directly to a particular screen but cannot provide us options to choose the filesets which we need to Uninstall/Install.

Hence please provide me information as how to automate steps 2 and 3 above using shell scripts.
_________________
Rgds,
Arkay.
IBM Certified System Administrator - WMQ
IBM Certified Solution Designer - WMQ
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 18, 2007 2:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't know smitty/smit that well. There should be a way to give it a full command, including filesets, so it will run unattended.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Arkay
PostPosted: Thu Oct 18, 2007 2:25 am    Post subject: Reply with quote

Novice

Joined: 31 Aug 2006
Posts: 14

Can you please provide me if there is any command for the same...I have searched but could not fine anywhere..
_________________
Rgds,
Arkay.
IBM Certified System Administrator - WMQ
IBM Certified Solution Designer - WMQ
Back to top
View user's profile Send private message
markt
PostPosted: Thu Oct 18, 2007 2:27 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

You can't run smit unattended as it's entire purpose is to be a UI that executes real commands. But it does show you the command line that it has constructed, so you can use that in a script - and it's recorded in smit's log files as well.

For installation it's going to be executing installp with a whole bunch of options. Do it once by hand through smit and note the command that it's built.

While taking backups is always a good idea, it's not actually required. An uninstall leaves existing qmgr data alone; restarting the qmgr automatically migrates it to any new internal formats.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Oct 18, 2007 2:42 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

check this site.....

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqdac.doc/sq10390_.htm

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 18, 2007 2:49 am    Post subject: Reply with quote

Grand High Poobah

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

Gaya3 wrote:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqdac.doc/sq10390_.htm


Why provide a link to the Solaris QB manual, when the poster's using AIX?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Thu Oct 18, 2007 3:13 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

In that link / doc if you search for silent installation he will get full details of it.

It will help him to decide how to go ahead, that was my intention of pasting it.

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 18, 2007 3:15 am    Post subject: Reply with quote

Grand High Poobah

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

IIRC AIX & Solaris don't install software the same way. Specifically, I thought smit was AIX specific.

Shows what I know.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Oct 18, 2007 3:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's no mention of silent.sh in the AIX Quick Beginnings guide.

I would be surprised if the Solaris script included installp commands, given that the Solaris distribution uses pkgadd.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Installation/Configuration Support » MQ AutoMigration from 5.3 to 6.0
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.