Before you begin
Before you start the installation procedure, make sure that
you have completed the necessary steps outlined in Preparing the system.
About this task
This task describes the installation of a server, using the
swinstall program to select which components you want to install. The
components are listed in Choosing what to install.
If you are installing IBM WebSphere MQ from a depot that contains service update
packages, read HP-UX:
Applying maintenance level updates on IBM WebSphere MQ Version 7.5 before installing the service update packages.
Procedure
- Log in as root, or switch to the superuser using the su command.
- Set your current directory to the location of the installation
file. The location might be the mount point of the DVD, a network location,
or a local file system directory.
- Accept the license by running the
mqlicense
script:
The
license is displayed. If you accept the license, you can continue
the installation.
- Start the interactive installation procedure by typing
the following command,
swinstall -s /installation_file
/installation_file
is
the absolute path to the installation file. The path must begin with
a
/
and end with the name of the installation file.
In the resulting menu screen, select MQSERIES.
- If you do not want to install all IBM WebSphere MQ components, open MQSERIES
- Mark the components you want to install. The installer resolves
dependencies automatically.
- Review the information displayed by the installer.
- Optional: To install IBM WebSphere MQ to a non-default location, select Actions
> Change Product Location. The default installation location
is /opt/mqm.
For each installation,
all of the IBM WebSphere MQ components that
you require must be installed in the same location.
The
installation path specified must either be an empty directory, the
root of an unused file system, or a path that does not exist. The
length of the path is limited to 256 bytes and must not contain spaces.
Note: Ensure
that you do not select Actions > Change Target by
accident, they are not the same.
- If this installation is not the first installation on the
system, select Options > Allow creation of multiple versions
- Select Actions > Install. The log
file tells you if there are any problems that need fixing.
- Fix any problems, and click OK to
install. You are informed when the installation has finished.
- If this installation is not the first installation on the
system, you must enter the following command to configure IBM WebSphere MQ:
swconfig -x allow_multiple_versions=true MQSERIES,l=MQ_INSTALLATION_PATH
where
MQ_INSTALLATION_PATH is
the path where you have just installed
IBM WebSphere MQ.
If you do not enter this command, the
swlist command
reports the installation as installed instead of configured. You must
not use
IBM WebSphere MQ unless the installation
is configured.
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 WebSphere 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 WebSphere 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 WebSphere MQ server installation,
for more information.