The IBM License Service is an independent operator, which monitors Pods on your cluster, looking at their annotations. It can then log the usage of any Pods which are annotated to say they contain IBM products. This is required if you want container-based licensing (i.e. if you want to license the container, rather than license the whole Node it is running on). You can use the IBM License Service with IBM MQ containers which are deployed via Helm, the MQ Operator, or by other means - it is not tied to the MQ Operator.
Original Message:
Sent: Thu June 20, 2024 05:15 AM
From: Alexander Lavrov
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hello,
Facing the same issue, very useful thread. Just to confirm, without IBM License service it won't be possible to use Native HA without CP4I operator?
------------------------------
Alexander Lavrov
Original Message:
Sent: Fri February 03, 2023 10:23 AM
From: David Ware
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi Christoph,
You are correct regarding entitlement checking. The important thing is to use the appropriate annotations when building and deploying MQ.
I'm afraid we do not support Native HA outside of Kubernetes, or provide help in how to deploy it. The Helm+Kubernetes route is the way to go.
Thanks,
David
------------------------------
David Ware
STSM, IBM MQ Chief Architect
Hursley, UK
Original Message:
Sent: Fri February 03, 2023 07:39 AM
From: Christoph Kuenzle
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi David,
Thanks for your reply.
"... using a correctly entitled version of MQ".
As far as I understand, the entitlement will be checked using the GitHub - IBM/ibm-licensing-operator: Operator for IBM License Service which according to (some parts of) the documentation also runs in standard Kubernetes.
Or do we also need to use a special version of the MQ installation?
Using the mq-helm, I understand I can test the NativeHA setup in a local Minikube.
So it is not possible to run NativeHA containers outside of Kubernetes? I mean just using plain Docker?
Thanks,
Christoph
------------------------------
Christoph Kuenzle
Original Message:
Sent: Fri February 03, 2023 05:18 AM
From: David Ware
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi Christoph,
Native HA is no longer restricted to only running in OpenShift and the control of the MQ Operator, it is also supported to deploy Native HA queue managers in Kubernetes environments (1.18 or higher). To achieve this we recommend that you follow the sample Helm chart here https://github.com/ibm-messaging/mq-helm. Unlike the MQ Operator, the Helm chart is provided as-is and supported through GitHub and the community.
For a development environment then you can use the prebuilt IBM MQ Advanced for Developers container image in the IBM container registry, and there are samples within that Helm GitHub repo for doing that in a range of Kubernetes environments. For a production deployments you would need to build you own image (again based on IBM's sample, https://github.com/ibm-messaging/mq-container), using a correctly entitled version of MQ.
Although there is no need for CP4I or OpenShift as a runtime environment, from an entitlement point of view you do need MQ to be licensed as CP4I, using the MQ Advanced entitlement ratios.
Thanks
David
------------------------------
David Ware
STSM, IBM MQ Chief Architect
Hursley, UK
Original Message:
Sent: Thu February 02, 2023 06:18 AM
From: Christoph Kuenzle
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi Morag,
Thanks for your reply.
Support for IBM MQ Operator - IBM Documentation states that for version 9.3.0, Native HA is supported outside of the IBM MQ Operator. Native HA is shipped as a core component of IBM MQ, and is therefore supported under the terms of an IBM MQ LTS release.
So, what exactly is preventing me from running NativeHA in a non-kubernetes and non-openshift, docker only dev environment?
Is it the image? Or the host os? Or the license?
And: is NativeHA supported on a standard kubernetes cluster (without CP4I)?
Thanks,
Christoph
------------------------------
Christoph Kuenzle
Original Message:
Sent: Wed February 01, 2023 07:43 PM
From: Morag Hughson
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi Christoph,
If I view the full details of the AMQ5708E message it says:-
MESSAGE:
Native HA is unavailable.
EXPLANATION:
Native HA is unavailable on this platform.
ACTION:
None.
Which is perhaps not hugely enlightening, but it does remind me that Native HA is something that is only available through Cloud Pack for Integration. You haven't mentioned that in your post. Are you using CP41?
See Example: Configuring a Native HA queue manager for more details.
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website: https://www.mqgem.com
Original Message:
Sent: Wed February 01, 2023 11:39 AM
From: Christoph Kuenzle
Subject: Creating NativeHA cluster on local machine using docker-compose.yml
Hi,
Just for a simple local test, I'm trying to create a NativeHA cluster using docker-compose.yml and the image 'icr.io/ibm-messaging/mq:9.3.1.1-r1'.See the attached docker-compose.yml.
If this would work, I would then add a load balancer like trafik or so.
But the containers terminate with the message AMQ5708E: Native HA is unavailable.
What am I missing?
Thanks for your help
Christoph
------------------------------
Christoph Kuenzle
------------------------------