Installing the DB2 UDB agent software
To install the agent on AIX systems
-
Log in as superuser.
-
Determine the device access name of the disc drive. For example, enter:
# cd /dev
# lsdev -C -c cdrom
The output resembles:
cd0 Available 10-60-00-4,0 16 Bit SCSI Multimedia CD-ROM Drive
In this example, cd0 is the drive's device access name.
-
Insert the software disc containing the DB2 UDB agent software into the system's disc drive.
-
Mount the software disc using the device access name found in step 2:
# mkdir -p /cdrom
# mount -V cdrfs -o ro /dev/cd0 /cdrom
# cd /cdrom
-
Install the DB2 UDB agent software by entering:
# installp -ac -d /cdrom/VRTSvcsdb.rte.bff VRTSvcsdb.rte
-
Repeat this procedure on each system that will become part of the DB2 service group.
To install the agent on Linux systems
-
Log in as superuser.
-
Insert the software disc the system's drive. The disc automatically mounts.
If the disc does not automatically mount, enter:
# mount -o ro /dev/cdrom /mnt/cdrom
-
Go to the directory where rpm is present:
-
Install the DB2 UDB agent software:
# rpm -i VRTSvcsdb-5.0.00.10-GA_GENERIC.noarch.rpm
-
Verify the package is installed, enter: # rpm -q VRTSvcsdb
Where the output resembles:
VRTSvcsdb-5.0.00.10-GA_GENERIC
To install the agent on Solaris systems
-
Log in as superuser.
-
Create a temporary directory for installation:
# mkdir /tmp/install
-
Insert the disc into a drive connected to your system.
Where, in this example, /dev/dsk/c0t6d0s2 is the default for the CD drive.
Once the disc is mounted, type the following commands to go to the location: #
cd /cdrom
-
Copy the compressed package files from the software disc to the temporary directory:
# cp -r db2_agent/pkgs/* /tmp/install
-
Go to the temporary directory and unzip the compressed package file:
Note
If your system does not have the gunzip utility, copy it from the disc:
# cp /cdrom_path/gnu/gunzip /tmp/install
# cd /tmp/install
# gunzip VRTS*.gz
-
Extract the compressed file from the tar file:
# tar -xvf VRTSvcsdb.tar
-
Install the package:
# pkgadd -d . VRTSvcsdb
To install the Japanese language pack on Solaris systems
-
After installing the agent, insert the language disc into the system's drive. Type the command:
# cd /cdrom/cdrom0
-
Copy the compressed package files from the software disc to the temporary directory:
# cp -r ja/db2_agent/pkgs/* /tmp/install
-
Go to the temporary directory and unzip the compressed package file:
# cd /tmp/install
# gunzip VRTSjacsb.tar.gz
-
Extract the compressed file from the tar file:
# tar -xvf VRTSjacsb.tar
-
Install the Japanese package:
# pkgadd -d . VRTSjacsb