MQ

  • 1.  Same channel name in two different queue managers - CP4I/OCP

    IBM Select
    Posted 7 days ago
    Team,

    We have a requirement to have the same channel name in two different qmgrs hosted on CP4I/OCP. From the setup, we understand that each channel should have a corresponding route created in OCP. Unfortunately when we are creating a custom route of these channels we are getting "HostAlreadyClaimed" error and the route is rejected even though they are in different namespaces/projects on OCP.

    Is there any way we can overcome this limitation? Any advice is appreciated. 


    ------------------------------
    Dilip Veeturi
    ------------------------------


  • 2.  RE: Same channel name in two different queue managers - CP4I/OCP

    Posted 6 days ago
    Allowing for both qmgrs pods to run on the same worker node, you should at least include the MQ qmgr port assignment (at the node level) into your custom route.
    On the other hand if you are looking at some kind of failover, you should make a rule that prevents the MQ pods from being deployed to the same worker node....

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



  • 3.  RE: Same channel name in two different queue managers - CP4I/OCP

    Posted 3 days ago
    When you use a Route, you are creating some configuration for the HAProxy component in OpenShift Container Platform (OCP).  HAProxy routes network traffic based on the contents of the "Server Name Indication" (SNI) header used as part of TLS.  You need a unique value in the SNI header, so that HAProxy can route to the correct queue manager instance.  As described in Configuring a Route to connect to a queue manager from outside a Red Hat OpenShift cluster, older versions of MQ put the MQ channel name in the SNI header - this means that you have to set up the Route to use the channel name for routing, which forces the channel name to be unique in the OCP cluster.  From MQ 9.2.1 onwards, there is a new option to configure MQ to put a host name in the SNI header, which would allow the re-use of channel names.

    ------------------------------
    Arthur Barr
    Container Architect, IBM MQ
    IBM
    ------------------------------



  • 4.  RE: Same channel name in two different queue managers - CP4I/OCP

    IBM Select
    Posted 3 days ago
    Thanks, Arthur for your response. Unfortunately, we are using CP4I 2020.4 which has only support to 9.2.0.x. Is there any alternative approach?

    ------------------------------
    Dilip Veeturi
    ------------------------------