Author |
Message
|
Arkay |
Posted: Thu Oct 11, 2007 4:18 am Post subject: MQ AutoMigration from 5.3 to 6.0 |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Oct 11, 2007 4:21 am Post subject: |
|
|
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 |
|
 |
Arkay |
Posted: Thu Oct 18, 2007 1:38 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Oct 18, 2007 2:01 am Post subject: |
|
|
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 |
|
 |
Arkay |
Posted: Thu Oct 18, 2007 2:25 am Post subject: |
|
|
 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 |
|
 |
markt |
Posted: Thu Oct 18, 2007 2:27 am Post subject: |
|
|
 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 |
|
 |
Gaya3 |
Posted: Thu Oct 18, 2007 2:42 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 18, 2007 2:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
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 |
|
 |
Gaya3 |
Posted: Thu Oct 18, 2007 3:13 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Thu Oct 18, 2007 3:15 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Oct 18, 2007 3:49 am Post subject: |
|
|
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 |
|
 |
|