Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to update the license #96

Closed
uaw013 opened this issue Aug 7, 2024 · 10 comments
Closed

how to update the license #96

uaw013 opened this issue Aug 7, 2024 · 10 comments

Comments

@uaw013
Copy link

uaw013 commented Aug 7, 2024

We are currently using the IBM MQ Helm Chart with the IBM MQ Advanced Developer Edition container image and license (icr.io/ibm-messaging/mq:9.4.0.0-r). The HA configuration works well, so we want to update the license to the IBM MQ Advanced test license before moving to production. We have downloaded IBM MQ 9.4 Trial from IBM's website.

Do we need to follow the steps described here to update the license? Is it correct that the only prerequisites are Docker and GNU Make, and nothing else?

If yes, we encountered some errors when running this command:

Command:
MQ_ARCHIVE=9.4.0.0-IBM-MQTRIAL-LinuxX64.tar.gz MQ_VERSION=9.4.0.0 make build-advancedserver

Error:

Step 23/65 : RUN go build -ldflags "-X \"main.ImageCreated=$(date --iso-8601=seconds)\" -X \"main.ImageRevision=$IMAGE_REVISION\" -X \"main.ImageSource=$IMAGE_SOURCE\" -X \"main.ImageTag=$IMAGE_TAG\"" ./cmd/runmqserver/ && go build ./cmd/chkmqready/ && go build ./cmd/chkmqhealthy/ && go build ./cmd/chkmqstarted/ && go build ./cmd/runmqdevserver/ && go test -v ./cmd/runmqdevserver/... && go test -v ./cmd/runmqserver/ && go test -v ./cmd/chkmqready/ && go test -v ./cmd/chkmqhealthy/ && go test -v ./cmd/chkmqstarted/ && go test -v ./pkg/... && go test -v ./internal/... && go vet ./cmd/... ./internal/...
---> Running in 25685419a1b6
# github.com/ibm-messaging/mq-golang/ibmmq
vendor/github.com/ibm-messaging/mq-golang/ibmmq/mqi.go:57:10: fatal error: cmqc.h: No such file or directory
   57 | #include <cmqc.h>
      |          ^~~~~~~~

If not, could you please provide us with the correct procedure?

@vgavinash
Copy link

@uaw013 hi there, your inputs are bit confusing.

As per my understanding. you are already using IBM MQ Helm Chart implementation. Then you are not supposed to use the ibm-messaging/mq-container repo's code. You must be using the ibm-messaging/mq-helm's code instead. i.e., this does not hold good - https://github.com/ibm-messaging/mq-container/blob/master/docs/building.md#building-a-production-image in your case.

And one more observation is, if at all you have decided to use the code of ibm-messaging/mq-container, I can see that you are using 9.4.0.0-IBM-MQTRIAL-LinuxX64.tar.gz image. Instead try the steps provided here - https://www.ibm.com/docs/en/ibm-mq/9.4?topic=reference-mq-advanced-developers-container-image, which uses a developer image for building the mq-container image.

Thanks,
Avinash

@vgavinash
Copy link

Cc: @callumpjackson

@vgavinash
Copy link

make build-devserver will be the command to be used. There is no trial image for mq-container enablement code.

@uaw013
Copy link
Author

uaw013 commented Aug 13, 2024

@vgavinash, Thank you for your response.

We need to switch from the developer license to the 30-day trial license. Could you please guide us on how to do this?

The process isn't clear, which is why I searched through the issues and found this one. I followed the steps to build an image as outlined on the build page, specifically using the "Building a production image" option.

Currently, we are using the IBM MQ Helm Chart implementation, which, as I understand, is built from the developer image that includes the developer license. We want to switch to the 30-day trial license (9.4.0.0-IBM-MQTRIAL-LinuxX64.tar.gz) provided by SoftwareOne.nl before moving to production.

I hope this clarifies our situation.

Thank you for your assistance.

@arthurbarr
Copy link
Member

IBM does not produce a container image for use with the trial license, I'm afraid. I don't think it's readily possible to build your own container either, because the sample container image only works with the special "no-install" version of MQ, which I don't think is available with the trial license. i.e. the tar.gz file you have downloaded probably contains RPMs, but the sample container image does not get installed that way.

@uaw013
Copy link
Author

uaw013 commented Aug 13, 2024

@arthurbarr, Thank you for your response.

I’ve sent your response to SoftwareOne.nl to obtain the correct license.

Could you please outline the general steps to change the developer license of IBM MQ NativeHA on Kubernetes?

@arthurbarr
Copy link
Member

I don't think it's possible to use the MQ trial license with a container at this time.

I'm not sure what you mean about changing the developer license. The license is associated with the code installed in the container. You should be able to take the data from a queue manager deployed with the MQ Advanced for Developers license, and run that with a licensed MQ Advanced container, just by upgrading the Helm installation with a different image.

@uaw013
Copy link
Author

uaw013 commented Aug 15, 2024

@arthurbarr,

What I mean about "changing the developer license" is, what are the steps if I want to use this Helm Chart (https://github.com/ibm-messaging/mq-helm) in production? Where can I found the documentation.

@arthurbarr
Copy link
Member

The Helm chart defaults to using a public image from icr.io. If you want to use MQ in production, then you need to build your own container image. You can see instructions for doing that here: https://github.com/ibm-messaging/mq-container/blob/master/docs/building.md#building-a-production-image

@callumpjackson
Copy link
Collaborator

Closing as the issue appears to be resolved. Feel free to reopen with a new question if this is incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants