Installation and configuration of IBM Websphere MQ
Hi Every One ! Today we are going to discuss regarding installation and configuration of IBM Websphere MQ version 9.
So, Lets begin with pre-requisite first !!
1 . 64 bit Linux
2 . MQ Installable - IBM_MQ_22.214.171.124_LINUX_X86-64.tar
MQ Installation Steps:
Login as a root user.
Store the below installable in the path where you want to install
Go to the folder where you have stored installable for Websphere
Extract the installation files from the tar file.
tar -xvf IBM_MQ_126.96.36.199_LINUX_X86-64.tar
Go to the folder where you have Extracted installable for Websphere MQ
Accepting license :
Accept the license agreement by executing mqlicense.sh file.
Install IBM MQ. To install to the default location, /opt/mqm,
use the rpm -ivh command to install each component
that you require.
rpm -ivh MQSeriesRuntime-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesSDK-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesSamples-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesJRE-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesGSKit-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesClient-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesExplorer-9.0.0-0.x86_64.rpm
rpm -ivh MQSeriesServer-9.0.0-0.x86_64.rpm
Step 9: Installation Verification.
1) Folder Structure Verification : We use rpm -qa command to
ensure MQ is Installed.
2) Check MQ binaries are available under /opt/mqm.
3) MQ Version Check : Check the MQ version via dspmqver command.
MQ Configuration Steps:
Setting MQ 9 as a Primary Installation. We have chosen
this installation to be the primaryinstallation on the system.
Enter the following command at the command prompt:
|[email protected]:/opt/mqm# /opt/mqm/bin/setmqinst -i -p /opt/mqm
Refreshing settings for primary installation 'Installation1' (/opt/mqm).
132 of 132 tasks have been completed successfully.
'Installation1' (/opt/mqm) set as the primary installation.
Syntax: MQ_INSTALLATION_PATH/bin/setmqinst -i -p MQ_INSTALLATION_PATH where MQ_INSTALLATION_PATH represents the directory where IBM MQ is installed.
Step 2: Setting up ‘mqm’ user
The rpm command creates a user mqm, as a member of the group mqm.
Give this user a Password so that we can change the user and run the
cat /etc/passwd |grep mqm
o/p->uid=999(mqm) gid=1001(mqm) groups=1001(mqm) 1005(dell)
Set new password for mqm user.
Queue Manager and Queues Creation:
Step 1: For the next set of process, you have to login via mqm user.
Step 2: Before issuing the command, create other parameters MQ, /MQ/logs and
/MQ/qmgrs owned by the user and group mqm, and with permissions rwxrwxr-x.
Step 3: Create a queue manager called TSTQMGR1 by entering the following command
crtmqm -ld /home/hp/MQ/logs -md /home/hp/MQ/qmgrs TSTQMGR1
Step 4: Start the queue manager by entering the following command:
Step 5: Start MQSC by entering the following command:
Step 6: Define a local queue called QUEUE by entering the following command:
Step 7: Stop MQSC by entering the following command
Step 8: List of all queues created.
IIB To MQ Connectivity:
In order to send the data from ESB to MQ , we need to establish connectivity
between them. Following are the steps for same.
Step 1: Add the user mqbrkrs to mqm group using the below command
sudo usermod -a -G mqm mqbrkrs
Step 2: Add the queue manager name in the Integration node configurable properties.
Use the below commands.
- i) mqsistop TESTNODE_hp(BrokerName)
|[email protected]:~/Cateina/Software/iibv10.0.0.15/iib-10.0.0.15$ mqsireportbroker TESTNODE_hp
BIP8927I: Integration node name TESTNODE_hp
Last mqsistart path = '/home/hp/Cateina/Software/iibv10.0.0.15/iib-10.0.0.15/server'
mqsiprofile install path = '/home/hp/Cateina/Software/iibv10.0.0.15/iib-10.0.0.15/server'
Work path = '/home/hp/iibconfig'
Integration node UUID = '772a2ddc-276a-11e9-a9c9-7f0001010000'
Process id = '8441'
Queue Manager = 'TSTQMGR1'
User lil path = ''
User exit path = ''
Active user exits = ''
LDAP principal = ''
LDAP credentials = ''
ICU converter path = ''
Trusted (fastpath) Queue Manager application = 'false'
Configuration change timeout = '300' seconds
Internal configuration timeout = '60' seconds
Statistics major interval = '60' minutes
Operation mode = 'advanced'
Fixpack capability level = '' (effective level '10.0.0.1')
Integration node registry format = 'v10.0'
Administration security = 'inactive'
Multi-instance integration node = 'false'
Shared Work Path = 'none'
Start as WebSphere MQ Service = 'undefined'
HTTP listener port = '7080'
Cache manager policy = 'default'
Cache manager port range = '2800-2819'
Integration registry hostname = ''
Default integration node CCSID = '1208'
BIP8071I: Successful command completion.
Do let me know ,how you find the blog.Was it helpful to you?So, if you like the blog.Do subscribe to get notified…!!!
To find it more interesting video is also attached.
Happy Learning !!!
If you have doubt or queries, you can definetely comment us or can mail us on [email protected]
If you have any Recommendation for future blog, You can email us on [email protected]
Follow us on.
- Top Linux Commands
- Introduction to linux.
- Websphere hack
- My Story – Jboss Hardening
- Installation and configuration of Apache 2.2 on Linux
- DB Auto Re-connect.
- Redirection in Jboss.
- SSL Implementation in Jboss
- Best SSL Guide.
- Types of SSL.
- Best Jboss Server Security Guide.
- Introduction to hardening in Middleware.
- Hardening In Jboss EAP 5.1
- Enable TLS1.2 in Jboss EAP 7