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.  IBM MQ Channel with multiples conn name

    Posted Fri October 20, 2023 02:17 PM

    Hello everyone, I need to configure a channel that accepts two IP addresses in the connection field. Is it possible to do this?
    Is it possible to set up a rule so that if the first IP does not respond, the connections are sent to the second IP? The idea is to create a channel with two balanced connections.




    ------------------------------
    Emanuel Gonzalez
    ------------------------------


  • 2.  RE: IBM MQ Channel with multiples conn name

    Posted Mon October 23, 2023 12:30 AM

    Hi Emanuel,

    You can configure the channel's "Conn Name" field with a comma separated list of values.

    You might find this page in the IBM Docs helpful: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=managers-channel-client-reconnection

    Please remember that when doing this, the queue manager that might answer at both the IP addresses must be the SAME queue manager. You should not use this technique to load balance a SENDER channel between two different queue managers. This means that this is suitable for queue managers that are running as a multi-instance queue manager, or some other type of failover where the same queue manager will start running in a different location and the comma-separated list of IP addresses contains the two different places it might be running.

    Cheers,
    Morag



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