Non-interactive installation of IBM MQ server on AIX

Install IBM® MQ server 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: 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 Choosing what to install.

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 CD, 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 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 a server installation, for more information.