Installing MQIPT

IBM® MQ Internet Pass-Thru (MQIPT) is available on AIX®, Linux®, and Windows. You can install MQIPT wherever you want on your computer, and can have several installations on the same system.

About this task

Each installation can be used and maintained separately. For example, you can have different fix pack levels of MQIPT installed in different locations if you choose.

The installation location is not fixed. MQIPT can be installed anywhere on the system. It is not necessary to set the system PATH or CLASSPATH environment variables to refer to MQIPT.

The MQIPT commands can be invoked from any location and MQIPT automatically detects its own location. You might choose to add the MQIPT bin directory to the PATH environment variable for convenience, but it is not mandatory to do so.

You can also install MQIPT alongside previous versions of MQIPT. You can have only one installation of MQIPT version 2.0 on the same system because of the installation method used by version 2.0.

Procedure

To install MQIPT, complete the following steps:

  1. Download the MQIPT package for the platform you require from IBM Fix Central for IBM MQ. The MQIPT packages for IBM MQ 9.3.x are available under the following names:
    Platform Archive file
    AIX 9.3.x.0-IBM-MQIPT-AIXPPC64.tar.Z
    Linux for x86-64 9.3.x.0-IBM-MQIPT-LinuxX64.tar.gz
    Linux for IBM Z® 9.3.x.0-IBM-MQIPT-LinuxS390X.tar.gz
    Linux on Power® Systems - Little Endian 9.3.x.0-IBM-MQIPT-LinuxPPC64LE.tar.gz
    Windows (64 bit) 9.3.x.0-IBM-MQIPT-Win64.zip
  2. Choose the location where you want MQIPT to be installed.
    Create a new directory where you want MQIPT to be installed.
    For example, on AIX and Linux, you might use the following command:
    mkdir /opt/mqipt/installation1
    When you unpack the MQIPT installation archive file, a directory called mqipt is created, and the installation files are placed in this directory. [MQ 9.3.0 Jun 2022]On Windows, the MQIPT installation archive file also contains a directory called META-INF that contains files relating to code signature verification.
  3. Unpack the installation archive file into the MQIPT directory by using an appropriate tool for your platform.
    Note: The tar command on AIX and Linux systems must be run as the root user when installing MQIPT. Failure to run the tar command as root is likely to result in "permission denied" errors.
    For example, on a Linux platform, you might use the following commands, if the archive file was downloaded to the /tmp directory:
    
    cd /opt/mqipt/installation1
    su root
    tar xzvf /tmp/9.3.0.0-IBM-MQIPT-LinuxX64.tar.gz
    
  4. To increase security, set the file permissions for the installed files so that they are read-only:
    • [AIX][Linux]On AIX and Linux systems, you can use the chmod command. For example:
      
      chmod -R a-w /opt/mqipt/installation1/mqipt 
      
    • [Windows]On Windows platforms, right-click the installation directory and select Properties. You can change the file permissions on the Security tab.
  5. If you subsequently receive error message MQCPE080 Unable to determine MQIPT installation directory, set the MQIPT_PATH environment variable to the absolute path of the MQIPT installation directory.

    You do not normally have to set the PATH or CLASSPATH environment variables for MQIPT because the installation includes a Java runtime environment (JRE). However, under some circumstances (for example, if you use symbolic links), MQIPT commands are unable to determine the installation directory. This can be corrected by setting the MQIPT_PATH environment variable.

    For example, if your installation directory is /opt/mqipt/installation1/mqipt, you might use the following commands:
    
    MQIPT_PATH=/opt/mqipt/installation1/mqipt
    export MQIPT_PATH
    
  6. [Windows]On Windows platforms, create MQIPT icons on the Start menu.
    Run the following command from an administrator command prompt:
    
    C:\mqipt_path\bin\mqiptIcons -install installation_name
    
    where
    • mqipt_path is the directory where MQIPT is installed.
    • installation_name is a name that you choose to distinguish this installation from any other. The name is appended to the name of the MQIPT icons.

What to do next

Follow the scenarios in Getting started with IBM MQ Internet Pass-Thru to verify that MQIPT is installed correctly, and to configure MQIPT in simple scenarios.

For information on configuring and administering MQIPT, see Administering and configuring IBM MQ Internet Pass-Thru.