[Linux]

Applying maintenance level updates on Linux Ubuntu using Debian packages

Follow these instructions to apply a fix pack to IBM® MQ on Linux® using Debian packages.

Before you begin

Important: You must stop all IBM MQ queue managers, other objects, and applications, before you begin the process to modify IBM MQ.

Procedure

  1. Stop all IBM MQ applications that are associated with the installation you are modifying, if you have not already done so.
  2. Log in as root.
  3. Go to the local directory where the fix pack file is located.
  4. Unpack the file using the following command:
    tar -zxvf fixpackName.tar.gz
    where fixpackName is the name of the fix pack file you want to install.
  5. Use the apt management tool to install the IBM MQ packages that you want, along with their dependency packages:
    1. Use the cd command and go to the /etc/apt/sources.list.d directory:
      cd /etc/apt/sources.list.d
    2. use the vi command to update the IBM_MQ.list file:
      vi IBM_MQ.list
      This file should contain the deb entry for the location of the directory that contains the IBM MQ packages for the Fix Pack.
    3. Add the following line to the end of the file:
      
      deb [trusted=yes] file:fixpackFileLocation ./
      where fixpackFileLocation is the directory where the unpacked files are located.
  6. Use the apt command to install the fixpack. For example, to install IBM MQ 9.2.0 Fix Pack 1, use the following command:
    apt-get install "ibmmq-*-u9201*"
    For other fix pack levels, change the 9201 VRMF to the appropriate VRMF number.
  7. Issue the following command to show the installed file sets for IBM MQ in the Debian database:
    apt-get list 'ibmmq-*'
  8. Use the dspmqver command to verify that the version is as expected:
    dspmqver

Results

You have installed a fixpack on your system.

What to do next

  1. Log in as user mqm and use the strmqm command to start the queue manager.
  2. Issue the command DISPLAY QMGR VERSION to check that the queue manager is at the correct level.
  3. Use the endmqm command to stop the queue manager.