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

Multi-Instance Queue Manager (MIQM) and REST API

  • 1.  Multi-Instance Queue Manager (MIQM) and REST API

    Posted Fri December 01, 2023 05:53 AM

    Hello,
    You can use the command line to obtain the status of a MIQM and other instances. Example:

    dspmq -x -m DC01
    QMNAME(DC01)        STATUS(Running)
        INSTANCE(host1) MODE(Active)
        INSTANCE(host2) MODE(Standby)

    I'm looking to retrieve the same information via the REST API with, for example: 

    curl -k %IP1%:%Port1%/ibmmq/rest/v3/admin/qmgr/%QM%?attributes=* -X GET -u user:pass

    I get the status of the Queue Manager, but not that of the other instances.
    I can't find anything in the documentation.
    Does anyone have any ideas?

    Thank you.



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