Installing IBM MQ server on Solaris
You can install an IBM® MQ server on Solaris either interactively or silently.
Before you begin
- Before you start the installation procedure, make sure that you complete the necessary steps that are outlined in Preparing the system.
- If you install a copy of IBM MQ server for Solaris using Electronic Software
Download, obtained from Passport Advantage®, you
need to uncompress the tar.gz file, and extract the installation files from
the tar file, by using the following command:
tar -xvf WS_MQ_V8.0_TRIAL_FOR_SOLARIS_ML.tar
Important: You must use GNU tar (also known asgtar
) to unpack the tar images. - If you are using Solaris zones, you have a
choice between installing IBM MQ into the global zone,
or installing IBM MQ into a non-global zone.
For details on how to install IBM MQ into Solaris zones, see the following technote: WebSphere® MQ support position regarding Solaris zones. The technote is applicable to IBM WebSphere MQ 7.1 or later with the following changes:
- You do not need the -G option on the pkgadd command as GSKit is now installed as part of the IBM MQ installation.
- If you install IBM MQ into the global zone for use in sparse zones, you must copy the /var/mqm file system into the sparse zone. You must also copy the /etc/opt/mqm/mqinst.ini installation entry into the sparse zone.
- Limitations for shared /usr file systems: the dspmqinst and dspmqver commands might report the primary installation incorrectly when compared with the symbolic links in /usr/bin. To synchronize the reporting of the primary installation in a Solaris zone and the global zone, run setmqinst with the -i or -x parameter, on the individual zones.
- You cannot change the primary installation within a non-global zone. You must change the primary installation through the global zone, which has the appropriate write access to /usr/bin.
About this task
This task describes the installation of the IBM MQ for Solaris server, using the pkgadd program. You can choose which components you want to install. The components are listed in Choosing what to install.
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
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 -pMQ_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.