MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Tue September 05, 2023 12:03 PM

    Hello,

    I have been asked by my client if I would be able to be able to get them migrated from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0.  I haven't worked a lot with MQ in the past so I would really appreciate any tips, etc to assist me in getting this done.  I guess at this point I'm mostly needing some high level information centered around the initial steps needed to move off MQ version 6 to a version that's closer to MQ 9.3 as this is the part of the migration where I'm not finding much information on the WEB.  I believe the client wants to use the USIL for the MQ 9.3 installation on the AIX 7.2 LPAR that MQ 6.0.2.4 is currently live on ... the plan is to get upgraded from MQ version 6 to a version that will work alongside the USIL (MQ 9.3) on the same LPAR.

     Any help will be greatly appreciated.

    Thanks very much - Peter.



    ------------------------------
    Peter Playford
    ------------------------------


  • 2.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 03:20 AM

    Hi Peter,

    I'm afraid you've landed in a bit of a mess. MQ v6 is so old that it was discontinued before any currently supported version of MQ was available (EOS was September 2006). 

    That means that you probably won't be able to download a version of MQ that you could upgrade to from MQ v6. The supported upgrade path over time would have been to upgrade from 6 to 7 or 7.1 or 7.2, then upgrade to 7.5 or 8, then upgrade to 9 and then to 9.3. Depending on exactly which migrations were supported some of those steps could have been skipped. However, there is now no way that is publicly accessible that I can find that will tell you which migrations were supported.

    I believe that your best option would be to:

    • get a copy of the ms03 from github (https://github.com/ibm-messaging/ms03.saveqmgr/blob/master/README.md) and build it, or install a current version of MQ on another system and set up to use dmpmqmsg in client mode
    • extract security settings using amqoamd -s
    • extract the configuration using saveqmgr (ms03) or dmpmqcfg (in client mode)
    • delete the queue manager
    • uninstall MQ v6
    • install MQ v9.3 using whatever is your preferred technique
    • create the queue manager again
    • use the saved configuration file to restore your configuration using runmqsc
    • use the amqoamd output to recreate permissions (the export will be a set of setmqaut statements you run in your shell)
    • update SSL ciphers on channels to currently supported TLS1.2 or TLS1.3 ciphers (or generic ciphers)
    • configure MQ 9.3 queue manager security settings to enable your old client applications to run, or else upgrade the client configurations
    • test and test again

    Do all of that in your test environment to uncover any issues and optimize the process before trying it in production.

    Best of luck.



    ------------------------------
    Neil Casey
    Senior Consultant
    Syntegrity Solutions
    Melbourne, Victoria
    IBM Champion (Cloud) 2019-22
    ------------------------------



  • 3.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 11:40 AM

    Queue Manager data is actually migrated when a queue manager is first started, rather than at install time.

    Although there's no documented direct migration path from V6.0.2.4 to V9.3.3 there is also no documented need to start any of the queue managers after any intermediate install. The queue manager runtime code is intended to be able to migrate across all releases, however IBM only tests migration across supported releases and so there's a chance of finding problems (for which I believe an APAR should be accepted) through running largely untested code.

    Using dmpmqmsg and it's friends to take a backup of the queue manager will work in some cases, but it depends upon the queue manager not having any active units of work, will not maintain channel sequence numbers, etc etc. 

    I'd be tempted to create a new queue manager on a test machine at the required level and then overwrite the queue manager data and recovery log of the new queue manager with that of 6.0.2.4 queue manager, then start the new queue manager and test that all of the queue manager objects can be accessed.  If the test is successful then follow a procedure similar to Neil's above but instead of restoring the objects and messages from the output of the various dmpmq... commands 'simply' replace the queue manager data and logs of the new queue manager with those of the old queue manager.



    ------------------------------
    Andrew Hickson
    ------------------------------



  • 4.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 11:57 AM
    Hello Guys, 
     
    Thanks very much for all the time and effort in supplying these excellent details.  I'll use a second AIX LPAR for the MQ v9.3 installation and create, test, repeat the v6.0.2 configuration on the new v9.3 installation as many time as necessary until the v9.3 install is working as the current v6.0.2 install works ... thanks again!
     
    Thanks – Peter.
     
     
    There isn't a direct upgrade path from MQ V6x to MQ 9.3. MQ V6 went out of support in 2012, well before even MQ V9.0 was announced.
     
    We have a topic on this here in the docs but it only goes from 7.5. Would don't expect anyone to be even using that anymore, much less MQ V6.x
     
     
    I would suggest installing MQ 9.3 on the new system and recreating the qmgr there with the required queues, channels and authorizations needed.
    There have been a lot of changes over the years so you need to do this in a TEST/UAT environment first to make sure you have it setup the way you want.
    This is going to be a bit of a process.
     
     
    Regards
    Peter Playford
    AIX Support, DDRMIS
    Department of National Defence/Government of Canada
    Peter.Playford@forces.gc.ca / Tel: 519-901-3403
     
    AIX Soutien, SIGRD
    Ministère de la Défense nationale/Gouvernement du Canada
    Peter.Playford@forces.gc.ca / Tel: 519-901-3403
     
     





  • 5.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 11:59 AM
    Pardon th confusion – the below data (which I also posted realier) is from the IBM support case that was opened for this issue.
     
    There isn't a direct upgrade path from MQ V6x to MQ 9.3. MQ V6 went out of support in 2012, well before even MQ V9.0 was announced.
     
    We have a topic on this here in the docs but it only goes from 7.5. Would don't expect anyone to be even using that anymore, much less MQ V6.x
     
     
    I would suggest installing MQ 9.3 on the new system and recreating the qmgr there with the required queues, channels and authorizations needed.
    There have been a lot of changes over the years so you need to do this in a TEST/UAT environment first to make sure you have it setup the way you want.
    This is going to be a bit of a process.
     
    Regards
    Peter Playford
    AIX Support, DDRMIS
    Department of National Defence/Government of Canada
    Peter.Playford@forces.gc.ca / Tel: 519-901-3403
     
    AIX Soutien, SIGRD
    Ministère de la Défense nationale/Gouvernement du Canada
    Peter.Playford@forces.gc.ca / Tel: 519-901-3403
     
     





  • 6.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 02:36 PM

    One of the links you reference "https://www.ibm.com/docs/en/ibm-mq/9.3?topic=mq-migration-paths" leads to the following statement in the official docs:

    "For IBM MQ for Multiplatforms, you cannot easily revert to a previous release of the product. However, if a queue manager has not been started, you can uninstall the current version and reinstall a different version of IBM MQ. It does not matter what versions of IBM MQ are installed between when a queue manager was last started and when it is next started."

    This matches what I tried to state in my earlier post. The reason you can back off an install when the queue manager has never been started under the new release is because NO MIGRATION OF QUEUE MANAGER DATA OCCURS AT INSTALL OF A NEW VERSION OF MQ. Importing the queue manager data (including the recovery logs) to a system where the desired version of MQ is correctly installed and starting the queue manager on that system should result in the queue manager objects automatically being migrated at that start up. The fact that the above is explicitly stated in the IBM docs supports my view that in the event of any issue and APAR should be accepted (not that you'd be sure to get a fix in a timeframe that would help you!).

    It would be VERY common to take a backup of all the queue manager data (including the recovery logs) before any new install takes place. Once the queue manager has been started under the new install there's no way to reverse the migration (on the distributed platforms) and so the way to revert to the earlier version (in the event of any issues) is to restore from such a backup. 



    ------------------------------
    Andrew Hickson
    ------------------------------



  • 7.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 03:43 AM

    To add to what Neil has said, I don't think it's even possible to put a current version of MQ on the same AIX LPAR as a V6 installation - USIL won't help you. When the multi-install/non-default location capability was added in V7.1, the lowest previous level of MQ that could coexist was V7.0.1.



    ------------------------------
    Mark Taylor
    Winchester
    ------------------------------



  • 8.  RE: Recommended upgrade path from WebSphere MQ 6.0.2.4 to IBM MQ 9.3.3.0 on AIX 7.2 / Power 10

    Posted Wed September 06, 2023 03:04 PM

    Hi  Peter , 

    Upgrading 5 version (  MQ v6.X , MQv7, MQ v7.1, MQv7.5 , MQ v8, MQ v9.0 and MQv9.1 going to be EOS by this month end)  MQ v6.2 to MQ   directly  not recommended and need consider an  lot of  new function's added and depreciated function which could be  complete revisit of the  MQ client and apps connect to  MQ  Server will have to multiple level  code test - Debug and fix mode which is  very time consume. as the quick option.  customer  can get IBM  MQ  advance for developer  to run MQ on  Linux / Windows / containers and  test all application which existing one running with MQ v6.2 and  refactor code to test with  MQ v9.2  then  create an new  LPAR and do MQ 9.2  Installation and  Swing / Point all application to New  Installation Path during the  Migration / Upgrade cutover.  

    get touch base with IBM  account executive's and  IBM expert labs  / IBM Technical Service Lab team to migrate with out major impact / minimal downtime. also  check with  IBM AIX / System team for  any  option to create / entitle for additional LPAR for testing on Lower environment. 

    wishing you a good luck for  your migration as  success one.  

    Thanks 

    Janak 



    ------------------------------
    Janak
    ------------------------------