Installing an IBM MQ client silently on AIX

We can carry out a non-interactive, or silent, installation of an IBM MQ client from the command line using the AIX installp command.


Before starting

Before starting the installation procedure, make sure that we have completed the necessary steps outlined in Preparing the system on AIX. Note: Installation to a non-default location is not supported on systems that have the AIX Trusted Computing Base (TCB) enabled.


About this task

We can use this method to install to a non-default location, and can select which components you want to install. The components and filesets are listed in IBM MQ components and features. We must install at least the Runtime and Client components.


Procedure

  1. Log in as root, or switch to the superuser using the su command.
  2. Set your current directory to the location of the installation file. The location might be the mount point of the DVD, a network location, or a local file system directory.
  3. Install the product in one of the following ways:

    • Install the whole product in the default location:
      installp -acgXYd . all
      
    • Install selected filesets in the default location:
      installp -acgXYd . list of file sets
      
    • Install the whole product in a non-default location using the -R flag:
      installp -R USIL_Directory -acgXYd . all
      
    • Install selected filesets in a non-default location using the -R flag:
      installp -R USIL_Directory -acgXYd . list of file sets
      

    where the directory specified with the -R flag is an AIX User Specified Installation Location (USIL) directory which exists before the command is run; it must not contain any spaces or usr/mqm.

    IBM MQ is installed underneath the directory specified. For example, if /USIL1 is specified, the IBM MQ product files are located in /USIL1/usr/mqm. This location is known as the MQ_INSTALLATION_PATH.


What to do next

  • If we have chosen this installation to be the primary installation on the system, we must now set it as the primary installation. Enter the following command at the command prompt:
     MQ_INSTALLATION_PATH/bin/setmqinst -i -p MQ_INSTALLATION_PATH
    
    We can have only one primary installation on a system. If there is already a primary installation on the system, we must unset it before we can set another installation as the primary installation. For more information, see Change the primary installation.
  • We might want to set up the environment to work with this installation. We can use the setmqenv or crtmqenv command to set various environment variables for a particular installation of IBM MQ. For more information, see setmqenv and crtmqenv.
  • For instructions on how to verify your installation, see Testing communication between a client and a server on AIX.

Parent topic: Installing an IBM MQ client on AIX