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.  RDQM Manual failover (switchover)

    Posted Mon December 18, 2023 07:47 AM
    Edited by Ashlin Joseph Mon December 18, 2023 08:36 AM

    Hello,

    I can't find any commands for manually switching an RDQM from a node to another. Let's say, there are 3 nodes: Node A, Node B and Node C and I have the Queue Manager (RDQM) running on Node A. If I want to run the Queue Manager on Node B without setting the preference, what are my options?

    Kind Regards, 

    Ashlin Joseph



    ------------------------------
    Ashlin Joseph
    ------------------------------



  • 2.  RE: RDQM Manual failover (switchover)

    Posted Mon December 18, 2023 08:46 AM

    Hi Ashlin,

    In a RDQM HA group, you can perform a managed failover for a queue manager by changing its preferred node.

    See https://www.ibm.com/docs/en/ibm-mq/9.3?topic=availability-setting-preferred-location-rdqm

    You can set a single preferred node, or you can set a first and a second preference. If you don't set a preferred node, then Pacemaker can select any one of the nodes. If a preferred node is set and that node goes down, such as for maintenance, then queue managers will fail over to another node (e.g. their second preference). Once the original node is back up then the queue managers will fail back if it is their first preference. If you do not want the additional fail over for queue managers to return to that node then you can update or clear their preferred node setting so that the queue managers remain running on their current node instead.

    Kind regards,

    Jamie



    ------------------------------
    Jamie Squibb
    IBM MQ Development
    ------------------------------



  • 3.  RE: RDQM Manual failover (switchover)

    Posted Thu January 04, 2024 08:34 AM

    Thanks a lot Jamie, it's helpful! 



    ------------------------------
    Ashlin Joseph
    ------------------------------



  • 4.  RE: RDQM Manual failover (switchover)

    Posted Fri January 05, 2024 05:58 AM

    If dealing with RDQM/DR you should also look at https://www.ibm.com/docs/en/ibm-mq/9.3?topic=recovery-managing-primary-secondary-characteristics-dr-rdqms

    Make sure both sides are stopped when changing the primary / secondary characteristics of dr - rdqms.



    ------------------------------
    Francois Brandelik
    ------------------------------