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.  Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration

    Posted Tue December 08, 2020 03:27 PM
    Edited by Jess Leitsch Thu December 10, 2020 04:15 PM

    IBM MQ has been supported in Docker containers for several years, but there are powerful new features now offered by cloud platforms like CP4I, which provides new ways of approaching solution architectures. Some of the architectural considerations are: statefulness, persistence/durability, availability, scalability (dynamic versus static), message ordering, load balancing, affinity.

    Some of the options available include multi-instance queue managers, single resilient queue managers, homogeneous collections of queue managers.

    This session will explore these various considerations and options.

    Please join me and @ASHLIN JOSEPH in this on demand webinar, Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration. 

    Include your questions below and you can watch the on demand webinar here. 



    ------------------------------
    Justin Deane
    ------------------------------


  • 2.  RE: Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration

    Posted Wed December 09, 2020 03:57 PM
    Whilst Red Hat Openshift is one of the Industry Standard Kubernetes Platforms and Licensing is included in CP4I, it does not fit everywhere:

    In our Shop the private cloud is based on a VMWare Stack with ESXi as IaaS and Enterprise PKS (Pivotal (K)container Service) providing Kubernetes.
    Running Openshift on IaaS (ESXI) is not viable for us, being too far from a one-click-solution (with the minimal knowledge we have).

    With that in mind my questions are:
    • Are there any plans on making the (MQ-) Operators from CP4I generic, so they work on any Kubernetes Installation?
    • Alternatively, are there any other ways the C4PI feature set will be ported for generic Kubernetes usage?
    … Or are we the only customer with such a setup?

    ------------------------------
    Simon Bayer
    ------------------------------



  • 3.  RE: Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration

    Posted Thu December 10, 2020 01:40 AM
    Hi Simon,

    As far as I am aware, there is no plan to support CP4I on any other environment than OCP. Though I have raised your question with the Lab, and will update you if I hear to the contrary.

    I do not know if you are the only such set up or, indeed, one of few, as I do not have the statistics, but I suspect we have very few clients on PKS - possibly because IBM have made it clear that we are strategically aligned with OCP and feel that CP4I in conjunction with OCP offers the most complete hybrid integration platform.

    With respect to MQ, you will probably need to build your own images and deployment code in PKS.

    The Knowledge Center says, in
    "Choosing how you want to use IBM MQ in containers"
    https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.1.0/com.ibm.mq.ctr.doc/ctr_choose.html

    If you aren't planning to use Red Hat OpenShift Container Platform, then you will need to build your own images and deployment code.

    Samples for building your own images are available. See Building your own IBM MQ container. The Helm charts provided as part of the certified containers are published on GitHub, and can be used as samples for when you are building your own images:

    Many thanks for your question, Justin

    ------------------------------
    Justin Deane
    ------------------------------



  • 4.  RE: Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration

    Posted Thu December 10, 2020 02:06 AM
    Edited by Justin Deane Fri December 11, 2020 04:35 AM
    Just a couple of errata from our call and/or some follow-up:

    1. On the call, if I recollect correctly, it was asked how we deploy accounting and statistics to MQ in CP4I.

    I think we said this could be done with MQSC as ConfigMaps. I just wanted to point out that, in addition, this is also configurable from the MQ dashboard.

    Statistics monitoring in the MQ dashboard for CP4I

    2. What about circular or linear logging? Despite what I stated, this can be enabled using configmaps/secrets and the QMGR properties relating to this are also configurable from the dashboard.

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: mqsc-ini-example
    data:
    example.ini: |
    Log:
       LogPrimaryFiles=15
       LogSecondaryFiles=25
       LogFilePages=16384
       LogType=LINEAR
       LogBufferPages=0
       LogPath=/MQHA/EDIMQ1D/log/EDIMQ1D/
       LogWriteIntegrity=TripleWrite
       LogManagement=Manual​
    Example of setting an INI config map for the queue manager for logging
    Altering the Log management properties for the QMGR object from the dashboard


    3. For the multi-instance deployment of MQ in CP4I how do we license and meter the standby pod?

    In the licensing service, the standby pod for a multi-instance queue manager will appear as a full MQ pod, and administrators will need to manually identify their usage of standby instances. This is because the same metering annotations apply to each instance.

    4. Capturing must gather for support cases:

    I have reached out to the support team on this one and am still waiting for a response. I think the answer, as alluded to you on the call, is that you can turn trace on through the dashboard, but the dashboard doesn't offer a way to capture support case full diagnostic. I think that is a good suggestion and will continue to pursue it with the development team.

    However, just to expand and clarify what I said on the call. My understanding is that, you can run runmqras from within the pod and use this to ftp data directly to the case. As always, you should also gather and capture any dat the support team request in your specific case. Please see the following support link in respect of runmqras: Using the IBM MQ runmqras command to collect diagnostic data

    5. MQ clustering in CP4I:

    In case this was not clear on the call, you can run MQ clusters in CP4i. When doing this, the recommendation is to deploy all queue managers in with a PVC - this is because it is important that queue managers in a cluster retain their clustering information over restarts of the pod. A series of single resilient queue managers for example to support uniquely named queue managers within the cluster. Each will need a uniquely addressable port.

    With respect to whether this is recommended: As long as you are managing cluster queue managers in all of recommended ways, and have a use case for clustering, this is a reasonable deployment in CP4I. Perhaps the reason why this question comes up is that we often think of dynamically scalable and disposable pods in the form of replica sets - such deployments do not work well with clustering.

    6. MQ latency (and performance) in a container or OCP.

    I think I covered the point about latency costs broadly. Bottom line is that you should expect these when communicating between what are probably now smaller deployments of code (possibly micro-services). In the first place due to this granularity, this introduces extra chattiness (whether deployed in containers or not), and secondly there is an additional potential overhead associated with the pod and any sidecars (such as istio).

    With regard comparative performance between MQ in CP4i (or containers) and traditional platforms, I had a quick look around to see what we had on performance. Firstly, I direct you to our ever updated performance reports where we do have some links on performance measurements against different environments for MQ (including OCP). For example,

    http://ibm-messaging.github.io/mqperf/openshift/OCP4.2-InternalMessaging.pdf

    I also found a link to some Docker container tests conducted by Sam Massey last year, that may be of interest.

    https://community.ibm.com/community/user/imwuc/viewdocument/jms-performance-tests-in-a-docker-c?CommunityKey=b382f2ab-42f1-4932-aa8b-8786ca722d55


     
    ------------------------------
    Justin Deane
    ------------------------------



  • 5.  RE: Chat with IBM Expert Labs – Understand MQ deployments on Cloud Pak for Integration

    Posted Thu December 10, 2020 04:26 PM
    Hi everyone, 
    You can watch the on demand webinar and demo here. Please include any questions below and you can download the slides here. 


    ------------------------------
    Justin Deane
    ------------------------------