[AIX]

Installing the IBM MQ server silently on AIX

You can carry out a non-interactive installation of the IBM® MQ server from the command line using the AIX® installp command. A non-interactive installation is also known as a silent, or unattended installation.

Before you begin

Before you start the installation procedure, make sure that you have completed the necessary steps outlined in Preparing the system on AIX.
Note: During installation, errors relating to errupdate or trcupdate might occur. This can caused by installing to a non-default location, if so these errors can be safely ignored. However, native trace for IBM MQ is only supported when installed in the default location.

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 IBM MQ components and features.

Procedure

  1. Log in as root, or with sufficient authority to run the following commands.

    You can do this by adding sudo before the commands, or by changing to the root user in the shell with the su command. For more information, see Exploring the differences between sudo and su commands in Linux®. This information also applies to UNIX systems in general.

  2. Set your current directory to the location of the installation packages.

    The location might be the mount point of a DVD, a network location, or a local file system directory. See Where to find downloadable installation images.

  3. Install the product in one of the following ways:
    • Install the whole product in the default location:
      installp -acgXYd . all
      
    • Install selected file sets 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 file sets in a non-default location using the -R flag:
      installp -R USIL_Directory -acgXYd . list of file sets
      

    where USIL_Directory is a 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

    where MQ_INSTALLATION_PATH represents the directory where IBM MQ is installed.

    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.
  • If you want to confirm that the installation was successful, you can verify your installation. See Verifying an IBM MQ installation on AIX, for more information.