Installing the agent for DB2

Mount the disc and install the agent.

To install the agent

  1. Log on as superuser.

  2. Create a temporary directory for installation:

    # mkdir /tmp/install
  3. Insert the disc into a system drive. Note the following:

    • If you are running Solaris volume-management software, the software automatically mounts the disc as /cdrom/cdrom0. Type the following command to go to the location:

       # cd /cdrom/cdrom0
    • If you are not running Solaris volume-management software, you must mount the disc manually. For example:

       # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom

      Where, in this example, /dev/dsk/c0t6d0s2 is the default for the CD drive.

      After the disc is mounted, type the following commands to go to the location:

       # cd /cdrom
  4. Copy the compressed package files from the software disc to the temporary directory:

    # cp -r db2_agent/pkgs/* /tmp/install
  5. If your system does not have the gunzip utility, copy it from the disc:

    # cp /cdrom_path/gnu/gunzip /tmp/install
  6. Go to the temporary directory and unzip the compressed package file:

    # cd /tmp/install
    # gunzip VRTS*.gz
  7. Extract the compressed file from the tar file:

    # tar -xvf VRTSvcsdb.tar
  8. Install the package:

    # pkgadd -d . VRTSvcsdb

To install the Japanese language pack on Solaris systems

  1. After you have installed 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/cluster_server_agents/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