This appendix describes how to install MessageQ MQSeries Connection. Specifically, it covers the following installation tasks:
This topic describes the preparations you must make before trying to install MessageQ MQSeries Connection. To ensure that the installation runs smoothly, complete the following preparation requirements:
Installation Prerequisites
Use the bill of materials (BOM) to check the contents of your software distribution kit. The kit contains the following items:
Checking the Media Kit
Your kit contains a CD-ROM in industry-standard ISO 9660 format.
The Read me first letter describes late-breaking news about this release and instructions for printing product release notes.
MessageQ MQSeries Connection requires that you meet specific hardware and software configurations before installation. The following topics describe the hardware and software requirements.
MessageQ MQSeries Connection supports the following hardware configurations:
Installation Requirements
Hardware Requirements
MessageQ MQSeries Connection requires 3.7 MB of disk space to install the software.
MessageQ MQSeries Connection requires that the following software be installed on your hardware system:
Software Requirements
We recommend that you back up your system disk before installing any software. For details on performing a system disk backup, see your operating system documentation.
We recommend that you install and read the release notes before you install the MessageQ MQSeries Connection software. To install the release notes, follow the installation procedure as described in the Installation Procedure topic. When you are prompted to enter a subset choice, make sure that you select the release note subset.
The MessageQ installation dialogs display a list of options that let you choose which subsets to install. For this version of the MessageQ MQSeries Connection, there are two subsets to install. One subset contains all the software, help, and programming examples that you need to run MessageQ MQSeries Connection. The second subset contains the release notes.
The subsets of the MessageQ MQSeries Connection installation are installed on licensed systems targeted for MessageQ MQSeries Connection application development.
A typical installation on a system takes between 5 and 10 minutes, depending on the system configuration. An installation performed over a network may take longer. If the network is not active, you should expect an installation time roughly equal to a local installation.
The following topics cover these tasks for installing MessageQ MQSeries Connection:
Backing Up Your System
Installing the Release Notes
Overview of Installation Options
Installation Procedure
You can stop the installation procedure at any time by using the terminal interrupt key sequence for your operating system. See the documentation for your operating system for a description of the interrupt key.
When you interrupt the installation, any files and links created up to that point are not automatically deleted-you must manually delete these files.
To install the MessageQ MQSeries Connection from your CD-ROM, follow these steps:
Stopping the Installation
Installing MessageQ MQSeries Connection
In this example, # cd
/mnt/mydisk
/mnt/mydisk
is the name of the directory in which you want to store the installation files.
device
is the name of the CD device on the system, and
AIX
HP-UX
directory
is the name of the directory on which you are mounting the CD-ROM.
mount -v cdrfs -r
device directory
mount -F cdfs -r
device directory
tar
utility, as
follows:
where
Note:
You must install the MQSeries Connection tar file that matches the version of the MessageQ Server running in your environment, as shown below:# tar -xvf /
device_name
/directory
/filename.tar
device_name
is the name of the device from which you are installing the media kit and filename.tar
is the name of the tar file that you have selected to install. Use the proper case for entering the file specification.
MQSeries Tar File | Works with... |
---|---|
|
MessageQ V3.2B |
|
MessageQ V4.0A |
For example, a full specification could read as follows on HP-UX:
# tar -xvf /mnt/CD-ROM/MQSC/HP-UX/V32B.TAR\;1
A full specification could read as follows on AIX:
# tar -xvf /mnt/CD-ROM/mqsc/aix/v32b.tar
Note that the backslash (\
) character at the end of the line is required on some platforms to escape the semicolon (;
) character.
# tar -xvf /mnt/CD-ROM/mqsc/aix/v32b.tar
x output_dmc/DMQ.image, 49 bytes, 1 tape blocks
x output_dmc/DMQDMC32B, 215040 bytes, 420 tape blocks
x output_dmc/DMQDMCRLS32B, 10240 bytes, 20 tape blocks
x output_dmc/INSTCTRL, 20480 bytes, 40 tape blocks
x output_dmc/SPACE, 10240 bytes, 20 tape blocks
x output_dmc/instctrl/DMQDMC32B.inv, 2106 bytes, 5 tape blocks
x output_dmc/instctrl/DMQDMC32B.ctrl, 103 bytes, 1 tape blocks
x output_dmc/instctrl/DMQ32B.comp, 0 bytes, 0 tape blocks
x output_dmc/instctrl/DMQDMC32B.scp, 2888 bytes, 6 tape blocks
x output_dmc/instctrl/DMQDMCRLS32B.inv, 103 bytes, 1 tape blocks
x output_dmc/instctrl/DMQDMCRLS32B.ctrl, 111 bytes,1 tape blocks
x output_dmc/instctrl/DMQDMCRLS32B.scp, 0 bytes, 0 tape blocks
x output_dmc/instctrl/DMQ.image, 49 bytes, 1 tape blocks
x output_dmc/space, 0 bytes, 0 tape blocks setld
portable installation utility simplifies the installation of MessageQ
MQSeries Connection. Change the directory to the location where the
installation files are stored and use setld
to install MessageQ MQSeries
Connection, as follows:
# /etc/setld -l output_dmc
*** Enter Subset Selections ***
The subsets listed below are optional:
1) BEA MessageQ MQSeries Connection 2) BEA MessageQ MQSeries Release Notes
3) All of the Above
4) None of the Above
5) Exit without installing subsets
Enter your choice(s): 3y
if you have correctly selected the subsets you want to install. The
installation procedure proceeds from this point without user interaction.
Symbolic links required by MessageQ MQSeries Connection are created in You are installing the following subsets:
BEA MessageQ MQSeries Connection MessageQ MQSeries Release NotesIs this correct? (y/n):y
A complete installation will take 2 to 15 minutes
depending on processor and installation media typeBEA MessageQ MQSeries Connection, V3.2.B
Copyright (c) 1997 BEA Systems, Inc.
All Rights ReservedBEA MessageQ MQSeries Connection (DMQDMC320)
Copying from output_dmc (disk)
VerifyingBEA MessageQ MQSeries Release Notes (DMQDMCRLS32B)
Copying from output_dmc (disk)
Verifying
#/usr/bin
and /usr/include
. Once MessageQ MQSeries Connection is installed, see the Postinstallation Tasks topic.
If errors occur during the MessageQ MQSeries Connection installation procedure, recheck your preinstallation steps to ensure that the correct versions of prerequisite software have been installed. Errors can occur during the installation if the following conditions exist:
For descriptions of the error messages generated by these conditions, see the system management documentation for the operating system you are using. If an error occurs while installing MessageQ MQSeries Connection, and you believe the error is caused by a problem with MessageQ MQSeries Connection, contact BEA Systems, Inc. using the information found in the Preface of this manual.
After completing the installation procedure, you can:
Postinstallation Tasks
You can display a list of installed MessageQ and MessageQ MQSeries Connection subsets by entering the following command:
The status display for the installation subsets will look similar to Listing A-1.
Displaying Installed Subsets
# /etc/setld -i
Listing A-1
Installation Subset Status
Subset Status Description
====== ====== ===========
DMQCL32B installed MessageQ Client Library
DMQCLS32B installed MessageQ Client Library Server
DMQDEV32B installed MessageQ Development Environment
DMQDMC32B installed MessageQ MQSeries Connection V32B
DMQDMCRLS32B installed MessageQ MQSeries Release Notes V32B
DMQEXA32B installed MessageQ Example Programs
DMQMAN32B installed MessageQ Manual Reference Pages
DMQRLS32B installed MessageQ Release Notes
DMQRTO32B installed MessageQ Run Time Environment
This listing will show corrupted subsets if an error occurred during installation. If a MessageQ MQSeries Connection subset is corrupt, delete that subset by following the instructions in the Deleting Subset Options topic. Then reinstall the subset.
To delete a subset and its associated files and symbolic links, enter the following command:
# setld -d subset_name
In this example, the subset_name
is the name of the subset you want to delete. For example, to delete the MessageQ MQSeries Connection subset, enter the following command:
# setld -d DMQDMC32B
After MessageQ MQSeries Connection has been successfully installed, delete the contents of the /output_dmc
directory containing the files that you extracted from the media.
To delete the files in the /output_dmc
directory, enter the following command:
# rm -r output_dmc