Hi,
Thank you for your question. It's always best to ask questions first.
First you need to prepare the system for MQ install on Linux. (more important than the actual installation itself)
https://www.ibm.com/docs/en/ibm-mq/9.3?topic=linux-preparing-system
Procedure
- Set up a user ID of the name
mqm
, with a primary group of mqm
.
See Setting up the user and group on Linux.
- Create file systems for both the product code and working data to be stored. See Creating file systems on Linux.
- Configure any additional settings needed for your Linux system.
See Configuring and tuning the operating system on Linux.
This website shows you the steps to prepare the Linux OS for the MQ installation(https://www.ibm.com/docs/en/ibm-mq/9.3?topic=linux-preparing-system
). You will also need to:
- Set up kernel parameters.
- Check space.
- Set up separate file systems for /var/mqm/errors....(and many others)
...etc (follow the steps on that website: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=linux-creating-file-systems
Creating separate file systems for errors and logs
You can also create separate file systems for your log data ( /var/mqm/log ) and error files ( /var/mqm/errors ). If possible, place these directories on different physical disks from the queue manager data ( /var/mqm/qmgrs ) and from each other.
If you create separate file systems the /var/mqm/errors directory can be NFS mounted. However, if you choose to NFS-mount /var/mqm/errors, the error logs might be lost if the network fails.
You can protect the stability of your queue manager by having separate file systems for:
- /var/mqm/errors
- /var/mqm/trace
- /var/mqm/qmgrs
- /var/mqm/log
Also you will need to determine the storage for the data held in the queues. Will you be using Native HA? Will there be a NAS storage?
You need to install MQ as root.
You will need to su mqm to have all privileges to do MQ commands such as strmqm, endmqm, runmqsc, etc.
If your Sys Eng team gives you temporary root access for 30 days (for example) then you can install as root.
https://www.ibm.com/docs/en/ibm-mq/9.3?topic=imlur-installing-first-mq-installation-linux-using-rpm-command
Procedure
- Log in as root, or with sufficient authority to run the following commands. (It's best to have root authority...(from my 40+ years experience in MQ)
You can do this by adding sudo before the commands, or by changing to the root user in the shell with the su command. For more information, see Exploring the differences between sudo and su commands in Linux.
Various groups can be created with different privileges and users can be assigned to those groups.
This is quiet involved and requires some design work.
Susan Barker
Lead MQ, ACE, ITX, Kafka, WAS Architect
Victory is nothing without humility, respect and charity...unknown
Let no one ever come to you without leaving happier...Mother Theresa



IBM WAS Advisory Board
IBM ACEvNext Beta Program
IBM MQvNext Beta Program