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.  WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Tue January 23, 2024 07:12 PM

    Team,

     We have a requirement to copy data from one queue manager to another, what are steps? Can you please help us here?



    ------------------------------
    Ranjitha YM
    ------------------------------


  • 2.  RE: WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Wed January 24, 2024 03:47 AM

    Hello Ranjitha,
    When you talk about "copying data", do you mean messages (in MQ queues), configuration (queues, channels, etc.) or MQ logs?

    If this is the MQ configuration, you can use the dmpmqcfg command (DMPMQMCFG on iSeries) to obtain a file in MQSC format, which can be injected into the new Queue Manager with the "runmqsc -f" command.
    Don't forget to include any additions in the qm.ini file.

    HTH, LMD.



    ------------------------------
    Luc-Michel Demey
    DEMEY CONSULTING
    lmd@demey-consulting.fr
    #IBMChampion
    ------------------------------



  • 3.  RE: WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Wed January 24, 2024 06:15 AM

    Hello, We have a Queue Manager QM1, it has multiple queues, and we want to copy all the queues present under QM1 to target Queue Manager QM2



    ------------------------------
    Ranjitha YM
    ------------------------------



  • 4.  RE: WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Wed January 24, 2024 07:09 AM

    Do you want to copy the queue definitions, or the messages that are on the queues from QM1 to QM2?

    If the queue definitions, then the answer above from LMD shows you what to do.

    If the messages, then you may find this useful: Migrating a Queue Manager?

    Cheers,
    Morag



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



  • 5.  RE: WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Wed January 24, 2024 07:22 AM

    On QM1 side :

    dmpmqcfg -m QM1 -t queue > qm1_230124.mqsc

    ref. : https://www.ibm.com/docs/en/ibm-mq/9.3?topic=reference-dmpmqcfg-dump-queue-manager-configuration

    On QM2 side :

    runmqsc QM2 -f qm1_230124.mqsc

    End and restart QM2 after this.

    HTH, LMD.



    ------------------------------
    Luc-Michel Demey
    DEMEY CONSULTING
    lmd@demey-consulting.fr
    #IBMChampion
    ------------------------------



  • 6.  RE: WebSphere MQ :: How to dump data from One Queue Manager to Another

    Posted Wed January 24, 2024 09:25 AM

    Do you have the Avada Software product? All you'd need to do is display the Q list,  click all, click the download button. You'll get a properly formatted mqsc file.  You could also click another button to retain or lose the oam affiliations. Should take 1 minute to do.

    There's also a clone function which will copy them and create them on the other QM for you, (no mqsc file, but it gives an audit record of what occurred).



    ------------------------------
    Peter D'Agosta
    Product Manager
    Avada Software
    Rockaway NJ
    19737273847
    ------------------------------