Shares 23

Look at what is being introduced, removed, changed in IBM MQ 9 and how to install on Linux environment.

IBM released WebSphere MQ 9 this year in June with many new features and enhancement. Some of the notable changes in MQ9 are:

  • MQ 9 is no longer supported on Windows X86-32, Linux X86-32, IBM 4690 platform
  • SET POLICY, SETMQMSPL commands got new parameter KEY REUSE
  • fteCreateWebAgent command is removed
  • More than 50 AMQ messages are added
  • New IBM MQ Advanced Message Security policy called “Confidentiality” is introduced
  • All Unicode characters defined in the Unicode 8.0 standard is supported
  • LDAP authorization on Windows is supported
  • Ability to use up, down and tab key to control runmqsc command

If you are still working in MQ 8, then you may consider getting hands on with MQ 9 as many things have been added/changed.

Let’s go through installation procedure for MQ 9 on Linux environment.

Downloading IBM MQ 9 for Linux

The following is to download MQ 9 trial version valid for 90 days (sufficient to practice)

  • Access the following URL >> select MQ V9.0 from the list and click Continue

https://www-01.ibm.com/marketing/iwm/iwm/web/pick.do?source=ESD-WSMQ-EVAL

  • Fill the personal information on evaluation form and select the following

  • Accept the license and click “I confirm.”
  • It’s above 500 MB so may take some time based on the internet speed you have
  • Once downloaded, you should have the following file
IBM_MQ_9.0.0.0_LINUX_X86-64_TRIAL.tar.gz
  • Let’s extract by gunzip and tar command
gunzip -c IBM_MQ_9.0.0.0_LINUX_X86-64_TRIAL.tar.gz | tar xvf –

Installing IBM MQ 9 on Linux

First of all, you need to accept the license agreement by executing mqlicense.sh file.

  • Click “Accept” on the license agreement window
[[email protected] MQServer]# ./mqlicense.sh
WARNING: Unable to determine distribution and release for this system.
Check that it is supported before continuing with installation.
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1993, 2016
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
Displaying license agreement on :0
Agreement accepted:  Proceed with install.
[[email protected] MQServer]#

Now, you are ready to install MQ9. When you extracted the downloaded file, you should see many RPM files and all may not be necessary to install.

However, the essential one you need to install is:

MQSeriesServer-9.0.0-0.x86_64.rpm
MQSeriesRuntime-9.0.0-0.x86_64.rpm

You can use the rpm command to get it installed.

Note: Runtime RPM must be installed first.

[[email protected] MQServer]# rpm -ivh MQSeriesRuntime-9.0.0-0.x86_64.rpm
Preparing...                          ################################# [100%]
Creating group mqm
Creating user mqm
Updating / installing...
1:MQSeriesRuntime-9.0.0-0          ################################# [100%]

[[email protected] MQServer]# rpm -ivh MQSeriesServer-9.0.0-0.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
1:MQSeriesServer-9.0.0-0           ################################# [100%]
Updated PAM configuration in /etc/pam.d/ibmmq
WARNING: System settings for this system do not meet recommendations for this product
See the log file at "/tmp/mqconfig.4433.log" for more information
[[email protected] MQServer]#

You may notice some warning as system setting doesn’t meet the recommendation and I’ve explained here.

  • By default, MQ will be installed in /opt/mqm so let’s get it verified.
  • Go to /opt/mqm and you should see the following.
[[email protected] mqm]# ls -ltr
total 44
-r--r--r--.  1 mqm mqm     0 May 19  2016 mqpatch.dat
-r--r--r--.  1 mqm mqm 14932 May 19  2016 instinfo.tsk
dr-xr-xr-x.  2 mqm mqm     6 May 19  2016 inc
dr-xr-xr-x.  2 mqm mqm  4096 Dec 25 08:55 READMES
dr-xr-xr-x.  3 mqm mqm    19 Dec 25 08:55 msg
dr-xr-xr-x.  3 mqm mqm   132 Dec 25 08:55 samp
dr-xr-xr-x.  2 mqm mqm  4096 Dec 25 08:55 licenses
dr-xr-xr-x. 16 mqm mqm   188 Dec 25 08:56 doc
dr-xr-xr-x.  5 mqm mqm    41 Dec 25 08:56 java
dr-xr-xr-x.  2 mqm mqm   102 Dec 25 08:56 swidtag
dr-xr-xr-x.  3 mqm mqm  4096 Dec 25 08:56 bin
dr-xr-xr-x.  4 mqm mqm  4096 Dec 25 08:56 lib
dr-xr-xr-x.  3 mqm mqm  4096 Dec 25 08:56 lib64
[[email protected] mqm]#
  • Go to bin folder and execute dspmqver to verify the version
[[email protected] bin]# ./dspmqver
Name:        IBM MQ
Version:     9.0.0.0
Level:       p900-L160518.TRIAL
BuildType:   IKAP - (Production)
Platform:    IBM MQ for Linux (x86-64 platform)
Mode:        64-bit
O/S:         Linux 3.10.0-514.el7.x86_64
InstName:    Installation1
InstDesc:
Primary:     No
InstPath:    /opt/mqm
DataPath:    /var/mqm
MaxCmdLevel: 900
LicenseType: Trial
[[email protected] bin]#

This confirms MQ 9 is successfully installed. It’s all yours to proceed with setup Queue Manager and an environment.

Shares 23

Reader Interactions

Comments

Your email address will not be published. Required fields are marked *