Hitachi

Hitachi Advanced Database Application Development Guide


4.7.3 Downgrade procedure

The following explains the procedure for downgrading an HADB client.

The user who performs this procedure is the OS user who manages the HADB client.

Organization of this subsection

(1) Downgrading an HADB client (Windows edition)

To downgrade an HADB client:

Procedure

  1. Log in as the OS user who manages the HADB client.

  2. Copy the zip file from the installation media to a folder of your choice.

  3. Expand the zip file to the client directory specified in the ADBCLTDIR environment variable.

    If you expand the zip file to a path other than the client directory, perform the following additional step:

    • Change the client directory path specified in the ADBCLTDIR environment variable.

(2) Downgrading an HADB client (Linux edition)

To downgrade an HADB client:

Procedure

  1. Log in as the OS user who manages the HADB client.

  2. Create a directory.

    mkdir /home/osuser01/client

    Create the directory (/home/osuser01/client) in which the installation data (tar.gz file) and the adbinstall command will be stored.

  3. Assign write permission to the directory you created.

    chmod 755 /home/osuser01/client

    Assign write permission to the directory you created so that the OS user who manages the HADB client can write to the directory.

  4. Copy the installation data (tar.gz file) and installation command (adbinstall) from the installation media to the directory you created in step 2.

    cp /media/hitachi_advanced_data_binder_client-$VR.tar.gz /home/osuser01/client
    cp /media/adbinstall /home/osuser01/client

    The underlined portions indicate the mount directory of the CD-ROM file system. The actual mount directory will depend on the environment.

    $VR represents the HADB version and release number.

    You must copy the tar.gz file and the adbinstall command to the same directory.

  5. Assign execution privilege for the installation command to the OS user who manages the HADB client.

    chmod 777 /home/osuser01/client/adbinstall

    Assign execution privilege for the installation command (adbinstall) you copied in step 4 to the OS user who manages the HADB client.

  6. Run the installation command (adbinstall).

    /home/osuser01/client/adbinstall -c /home/osuser01/clientdir

    As the client directory path in the -c option, specify a directory of your choice or the path specified in the ADBCLTDIR environment variable.

    The directory you specify must be one for which the OS user who manages the HADB client has write permission.

    If you specify a path in the -c option that differs from the path specified in the ADBCLTDIR environment variable, perform the following additional step:

    • In the ADBCLTDIR environment variable, specify the path of the directory you specified in the -c option.

    Note

    For details about how to run the adbinstall command and the rules that apply when doing so, see adbinstall (Install HADB Server or Client) in the manual HADB Command Reference.

Action to take when message KFAA91553-E is output

If the OS user who manages the HADB client does not have write permission for the directory specified in the -c option of the adbinstall command, the message KFAA91553-E is output.

The message KFAA91553-E is also output if the OS user who manages the HADB client does not have write permission for the directory that contains the installation command (adbinstall) and installation data (tar.gz file).

If the message KFAA91553-E is output, assign write permission for the directory concerned.