Symantec logo

Installing the DB2 UDB agent software

 To install the agent on AIX systems

  1. Log in as superuser.
  2. 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.

  3. Insert the software disc containing the DB2 UDB agent software into the system's disc drive.
  4. 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

  5. Install the DB2 UDB agent software by entering:

    # installp -ac -d /cdrom/VRTSvcsdb.rte.bff VRTSvcsdb.rte

  6. Repeat this procedure on each system that will become part of the DB2 service group.

 To install the agent on Linux systems

  1. Log in as superuser.
  2. 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

  3. Go to the directory where rpm is present:
  4. Install the DB2 UDB agent software:

    # rpm -i VRTSvcsdb-5.0.00.10-GA_GENERIC.noarch.rpm

  5. 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

  1. Log in as superuser.
  2. Create a temporary directory for installation:

    # mkdir /tmp/install

  3. 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

  1. Copy the compressed package files from the software disc to the temporary directory:

    # cp -r db2_agent/pkgs/* /tmp/install

  2. 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

  3. Extract the compressed file from the tar file:

    # tar -xvf VRTSvcsdb.tar

  4. Install the package:

    # pkgadd -d . VRTSvcsdb

 To install the Japanese language pack on Solaris systems

  1. After installing the agent, insert the language disc into the system's drive. Type the command:

    # cd /cdrom/cdrom0

  2. Copy the compressed package files from the software disc to the temporary directory:

    # cp -r ja/db2_agent/pkgs/* /tmp/install

  3. Go to the temporary directory and unzip the compressed package file:

    # cd /tmp/install

    # gunzip VRTSjacsb.tar.gz

  4. Extract the compressed file from the tar file:

    # tar -xvf VRTSjacsb.tar

  5. Install the Japanese package:

    # pkgadd -d . VRTSjacsb