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 IndexIBM MQ Installation/Configuration SupportHow to migrate IBM MQ from Windows to Linux

Post new topicReply to topic
How to migrate IBM MQ from Windows to Linux View previous topic :: View next topic
Author Message
Muhammad Haider
PostPosted: Fri Sep 02, 2016 7:13 am Post subject: How to migrate IBM MQ from Windows to Linux Reply with quote

Apprentice

Joined: 14 Mar 2011
Posts: 35

Hi,

I am looking to migrate MQ v8 clustered queue managers from windows to linux environment. Purpose of this task is to gain better performance results. I have searched but did not find any help in this regards, mainly migration is mentioned in terms of upgrading MQ version on same platform. So please share your thoughts and useful links to achieve this task.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 02, 2016 7:23 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24648
Location: Ohio, USA


    install MQv8 on a Linux Server
    Rebuild one of the Full Repositories on Linux using the original script(s) used to build it on Windows
    Demote the Windows copy and Promote the Linux copy as described in the documentation
    Repeat with the other FR
    Repeat for each PR

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Sep 02, 2016 7:31 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 5756

Vitor wrote:
...
Rebuild one of the Full Repositories on Linux using the original script(s) used to build it on Windows
...

Not using the same names of course
_________________
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
Muhammad Haider
PostPosted: Fri Sep 02, 2016 7:47 am Post subject: Reply with quote

Apprentice

Joined: 14 Mar 2011
Posts: 35

Thanks Vitor, Exerk.

Exerk: If I get your point correctly you mean that new cluster member in linux should have a different name than that in windows. But if we completely build linux queue managers separately and when all setup is complete and we stop windows system and switch to linux then I think we can keep the same queue manager names.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Sep 02, 2016 7:52 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

You can't keep the same names.

Clusters use the QM ID. These will be different.

You will need to add the linux qmgrs to the cluster, and then remove the windows qmgrs from the cluster. This means unshare *all* queues/etc on those qmgrs from the cluster, refresh the cluster and then remove the qmgr from the cluster. Then you can stop and delete the windows qmgrs.

You could *attempt* to back up the windows qmgrs and then restore them on linux. But I'm reasonably sure that doesn't work.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 02, 2016 8:11 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24648
Location: Ohio, USA

Muhammad Haider wrote:
I think we can keep the same queue manager names.


Only if you completely build the new cluster out in isolation from the old one, then switch all the applications using the old cluster over to Linux, then spend a few happy hours or days trying to deal with all the messages left unprocessed in the old cluster, that one application that didn't switch over properly, the configuration or sizing issue you didn't notice with the Linux queue managers until you put them under production load, etc, etc, etc.

Much better to do as I suggested and migrate the cluster over one queue manager at a time, which as my most worthy associates points out requires different names.

Many best practice queue manager naming conventions would force different queue manager names anyway.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 02, 2016 8:12 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24648
Location: Ohio, USA

mqjeff wrote:
You could *attempt* to back up the windows qmgrs and then restore them on linux. But I'm reasonably sure that doesn't work.


I don't think it does either.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Muhammad Haider
PostPosted: Fri Sep 02, 2016 8:37 am Post subject: Reply with quote

Apprentice

Joined: 14 Mar 2011
Posts: 35

Thanks everyone for your input, it's really useful information.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Sep 02, 2016 2:23 pm Post subject: Reply with quote

Jedi Council

Joined: 15 May 2001
Posts: 7380

MQ Clusters: Replacing or Relocating Full Repositories

https://www.ibm.com/developerworks/community/blogs/messaging/entry/mq_clusters_replacing_or_relocating_full_repositories?lang=en
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Installation/Configuration SupportHow to migrate IBM MQ from Windows to Linux
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.