+

Search Tips | Advanced Search

Install IBM MQ server on Solaris

We can install an IBM MQ server on Solaris either interactively or silently.


Before you begin


This task describes the installation of the IBM MQ for Solaris server, by using the pkgadd program. We can choose which components you want to install. The components are listed in IBM MQ components for Solaris systems.

Note: If you are installing on the Solaris 11 operating system, ensure that the IPS package (package/svr4) that supports pkgadd and equivalent utilities is installed.


Procedure

  1. Log in as root, or switch to the superuser by 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 server DVD, a network location, or a local file system directory.
  3. Run the mqlicense.sh script to accept the license:
    ./mqlicense.sh
    
    If you want to view a text-only version of the license, which can be read by a screen reader, type:
    ./mqlicense.sh -text_only
    
    The license is displayed. Follow the instructions to accept the license. If you accept the license, the installation continues. If we do not accept the license, we cannot continue the installation process.
  4. If this installation is not the first installation on the system, run crtmqpkg to create a unique set of packages to install on the system:
    1. Enter the following command:
      ./crtmqpkg 
      suffix
      
      where suffix is a name of your choosing that uniquely identifies the installation packages on the system. suffix is not the same as an installation name, although the names can be identical. suffix is limited to 16 characters in the ranges A-Z, a-z, and 0-9. The crtmqpkg script can use two environment variables that are useful when you are installing from a non-disk media location:

      • CDROOT, the root of the installation media or downloaded installation files.
      • TMPDIR, the output location of the modified installation files.

      No environment variables are required if you are running the image as ./crtmqpkg.

    2. Set your current directory to the location specified when the crtmqpkg command completes. This directory is a subdirectory of /var/spool, in which the unique set of packages is created. The packages have the suffix value contained within the file name.
  5. Start the installation process:

    • If the installation is the first installation on the system, enter the following command to start the installation process:
      pkgadd -d.
      
      where " . " means use the current directory.
    • If the installation is not the first installation on the system, enter the following command to start the installation process:
      pkgadd mqm-suffix
      
      where suffix is the suffix that is chosen in the previous step.
  6. When prompted, choose a location for installation.

    • To install to the default location, /opt/mqm, enter y.
    • To install to a non-default directory, enter n then enter the required installation path, and confirm your choice.
  7. When the list of components is displayed, enter the numbers of the components that you require, separated by spaces or commas. If you are installing (adding) an IBM MQ component to an existing installation, choose option yes when you are asked whether to overwrite. Note: During the IBM MQ base version installation, we can choose to install all components or a subset of the components. When you install a fix pack, only the currently installed components are upgraded. If, at a later stage, you want to add further IBM MQ components that are not already installed, these components can be installed (added) to the IBM MQ base version only. If your current version of IBM MQ is not the base version, you must first uninstall all the fix packs before you add the required components to the existing installation, and then install the required fix packs. Also, when you are adding IBM MQ components to an existing installation, you must choose option yes when you are asked whether to overwrite by the installation process.
  8. If the path chosen in step 6 does not exist, and you are asked if you want to create it, enter y to proceed.
  9. Answer any questions appropriately for your system. If you are prompted to choose whether to install certain IBM MQ files as setuid/setgid files, you must enter y.
  10. When a message informing you that the installation is complete appears, enter q to exit the pkgadd program.


What to do next