Author |
Message
|
chandu.yalamanchili |
Posted: Thu Aug 13, 2009 12:50 pm Post subject: Changing operating system |
|
|
Apprentice
Joined: 29 Jun 2007 Posts: 29
|
We are changing the MQ Queue manager operating system from Sun Solaris to redhat linux. we have all Queues channels etc defined on Solaris. Can we copy all the current MQ settings to one file and then run that file in the new redhat linux server. Is there any way to do this?. Please let me know if there is any procedure to do this. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 13, 2009 12:54 pm Post subject: Re: Changing operating system |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
chandu.yalamanchili wrote: |
Can we copy all the current MQ settings to one file and then run that file in the new redhat linux server. |
Look up saveqmgr on the forum or the IBM site. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SAFraser |
Posted: Thu Aug 13, 2009 1:16 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
You will need to do a fresh install of the MQ product using the linux distribution files. If you have any custom attributes in the qm.ini file, they will need to be set in the new server. (I don't know if you could just copy that file. I wouldn't, myself, but others may overrule me.)
If you are using any exits, they will of course need to be recompiled.
As far as the MQ objects themselves (queues, channels, listeners, processes, etc), my worthy associate has already pointed you to the correct utility. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 13, 2009 2:06 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
You may also have to make adjustments to the kernel, as you did with Solaris. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Aug 13, 2009 4:32 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
And set up your users and groups and OAM security profiles.
Review your channel names as there may be references to the old qmgr or host name. _________________ Glenn |
|
Back to top |
|
 |
chandu.yalamanchili |
Posted: Tue Aug 18, 2009 10:32 am Post subject: |
|
|
Apprentice
Joined: 29 Jun 2007 Posts: 29
|
Thanks for your help this helps me a lot |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Aug 18, 2009 10:22 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
using the command
Code: |
runmqsc MYQMGR < saved_definitions.mqsc
|
Is the best way of using the output from saveqmgr.
Many sites save this file (or others that perform the same function) in sourcecode management systems such as CVS, Subversion etc. You do use one don't you?
It is a very fast operation to rebuild a qmgr this way and will often be far less a problem than restoring it from a backup.
I have scripts that create the QM, Create the Queues and even load my 'setmqaut' settings. The different versions run on Windows, Unix & Linux but all use the same input files that hold the definitions. This is the sort of toolkit than any self respecting MQ 'guru' has in their toolbox. Why re-invent the wheel every time? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Sam Uppu |
Posted: Wed Aug 19, 2009 10:17 am Post subject: |
|
|
 Yatiri
Joined: 11 Nov 2008 Posts: 610
|
and dont forget to start the listener manually when you rebuild the qmgr with the saveqmgr. |
|
Back to top |
|
 |
|