MQ

 View Only
  • 1.  Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Sat June 25, 2022 07:46 AM
    Hi,

    Is there any reference for best practices and migration steps available for migrating from MQ 8.0.0.8 to MQ 9.2 on a new Linux server. My existing MQ 8 is running on RHEL 7.4 and planning to migrate to MQ 9.2 on new RHEL server.

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------


  • 2.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Mon June 27, 2022 01:11 AM

    Hi there,

    This sounds like you are setting up a new RHEL server and you want to create a queue manager with the same name as the old queue manager on the old machine, and copy all the object definitions over to that new queue manager? Would that be an accurate summary of what you need to do? Do you have any requirement to copy over application queue messages as well, or have all the application drained their queues before you start this process?

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 3.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Mon June 27, 2022 01:20 AM
    Hi Morag,

    Yes, I  want to create a queue manager with the same name as the old queue manager on the old machine, and copy all the object definitions over to that new queue manager.
    I will have my applications drain all the existing queue messages and then point my applications to new QM instance.


    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------



  • 4.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    Posted Mon June 27, 2022 08:24 AM

    Hello Santosh:

    The following tutorials can be helpful:

    a) The following is a a type of "light" backup and the following items are NOT backed up: Recovery Logs and Queue Files with messages.
    This is helpful when you want to create a new queue manager, based on the object definitions from an existing queue manager.
    .
    https://www.ibm.com/support/pages/node/738087
    Steps to export the object definitions and messages from one MQ queue manager in host-1 and import them in another queue manager in host-2? (dmpmqcfg, saveqmgr)
    Using MQ utility dmpmqcfg and dmpmqmsg.

    .

    b) The following is more comprehensive, and it is for "moving" a queue manager from one Linux host to another Linus host.

    https://www.ibm.com/support/pages/node/6114082
    Taking a backup for moving files of an MQ queue manager from one Linux host to another Linux host.
    The quick description of the procedure is to take a backup of the files from host-1 and restore them in host-2.
    It provides also details on how to restore the backup data.
    The procedure is for all the data, messages and recovery logs.

    .

    I hope that this is helpful.

    Thank you!

    Angel Rivera



    ------------------------------
    Angel Rivera
    IBM MQ Support
    Research Triangle Park NC
    ------------------------------



  • 5.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Mon June 27, 2022 11:48 AM
    Thank you Angel for the detailed response. It is very helpful

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------



  • 6.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Mon June 27, 2022 11:03 AM

    Hi,

    Do you need to move the data too?

     

    If not:

    My suggestion is:

     

    Install new version of MQ on new Linux server.

    Backup MQ Queue Manager configuration details on old server.

    Create new Queue Manager on new server

    runmqsc – pipe in all object definitions from backup using runmqsc <QmgrName> < <object defs from old queue manager> > <name of queue manager>_<name of object defs input file>.log

     

    It should work fine.

     

    If you have to move data then you need to choose a point in time to backup the data and import into the queues to the new queue manager.

     

    Susan Barker

    Lead MQ, ACE, ITX, Kafka, WAS Architect

    Victory is nothing without humility, respect and charity...unknown

    Let no one ever come to you without leaving happier...Mother Theresa

    Logo, company name  Description automatically generated

    IBM WAS Advisory Board

    IBM ACEvNext Beta Program

    IBM MQvNext Beta Program

     

     

     






  • 7.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    IBM Champion
    Posted Mon June 27, 2022 11:49 AM
    thank you Susan. We are still under discussion on deciding the cut off time. but thanks for the steps

    ------------------------------
    Thanks,
    Santhosh Ramanathan
    ------------------------------



  • 8.  RE: Best practices & migration steps from MQ V8 to V9.2 on RHEL

    Posted Mon June 27, 2022 11:43 AM
    Title: Migrating IBM MQ on AIX and Linux
    URL: https://www.IBM.com/docs/en/ibm-mq/9.2?topic=mq-migrating-aix-linux

    Title: Migration concepts and methods
    URL: https://www.IBM.com/docs/en/ibm-mq/9.2?topic=mq-migration-concepts-methods

    Title: Migration methods on IBM MQ for Multiplatforms
    URL: https://www.IBM.com/docs/en/ibm-mq/9.2?topic=methods-migration-mq-multiplatforms

    ------------------------------
    Bob Gibson
    MQ Technical Support
    IBM
    ------------------------------