Non-interactive installation of IBM MQ client for AIX

Silently install IBM® MQ client from the command line using the AIX® installp command.

Before you begin

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

About this task

You 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 Choosing what to install. You 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 Install 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 you have chosen this installation to be the primary installation on the system, you 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
    
    You can have only one primary installation on a system. If there is already a primary installation on the system, you must unset it before you can set another installation as the primary installation. For more information, see Changing the primary installation.
  • You might want to set up the environment to work with this installation. You 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 Verifying a client installation.