IBM Support

How to autostart an IBM MQ queue manager and MQ Web Server in Linux on reboot

Question & Answer


Question

To provide a very simple set of scripts to automatically start a single queue manager and/or MQ Web Server upon rebooting a Linux server, using systemd (which was introduced in RHEL 8 and available in RHEL 9).
.
The related scenario of stopping the queue manager and/or MQ Web Server when the Linux server is gracefully shutdown, is also covered.

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m3p000000PCH0AAO","label":"Administration"}],"ARM Case Number":"TS018719727","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions"}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM MQ

Component:
Administration

Software version:
All Versions

Operating system(s):
Linux

Document number:
7228816

Modified date:
28 April 2025

UID

ibm17228816

Manage My Notification Subscriptions