+

Search Tips | Advanced Search

Installing the IBM MQ server silently on AIX

We 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 starting

Before starting the installation procedure, make sure that we 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.


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.


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 a 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 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 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

    where MQ_INSTALLATION_PATH represents the directory where IBM MQ is installed.

    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.
  • To confirm that the installation was successful, we can verify your installation. See Verify an IBM MQ installation on AIX, for more information.

Parent topic: Installing IBM MQ server on AIX


Related concepts


Related tasks


Related information

Last updated: 2020-10-04