Hitachi

Hitachi Advanced Database Command Reference


21.4 Notes

  1. The adbinstall command is for Linux systems only. This command cannot be used in a Windows system.

  2. Store the installation data (tar.gz file) in the directory that stores the adbinstall command. If the adbinstall command and the installation data are not stored in the same directory, it will not be possible to install the HADB server or HADB client.

  3. When you install the HADB server, grant the HADB administrator write privileges to the following directories:

    • The directory that stores the adbinstall command and the installation data (tar.gz file)

    • The directory specified in the -s option of the adbinstall command

    If you execute the adbinstall command by specifying a directory not writable by the HADB administrator, an error occurs (the KFAA91553-E message is output). In such cases, grant write privileges to the preceding directories, and then re-execute the adbinstall command.

  4. When you install an HADB client, grant the OS user who manages the HADB client write privileges to the following directories:

    • The directory that stores the adbinstall command and the installation data (tar.gz file)

    • The directory specified in the -c option of the adbinstall command

    If you execute the adbinstall command by specifying a directory not writable by the OS user who manages the HADB client, an error occurs (the KFAA91553-E message is output). In such cases, grant write privileges to the preceding directories, and then re-execute the adbinstall command.

  5. If you execute the adbinstall command as root, not as the OS user specified as the HADB administrator, a warning message (KFAA91558-W message) is output. Normally, the OS user specified as the HADB administrator executes the adbinstall command. Therefore, if the KFAA91558-W message is output, make sure that executing the adbinstall command by root does not cause any problems.

    If a program exists, enter n or N in response to the input request in the KFAA91559-Q message that is output after the KFAA91558-W message. Then, execute the adbinstall command as the OS user specified as the HADB administrator.

    If you execute the adbinstall command as a superuser other than root, the KFAA91558-W message is not output.

    Note

    Here, root indicates a user for which 0 is displayed by executing the OS's id -u command. This includes a case where a value of 0 is displayed by executing the OS's id -u command after another OS user was changed to root by using the OS's su command.

  6. If the server directory specified in the -s option or the client directory specified in the -c option does not exist, the directory will be created automatically when the adbinstall command is executed.

  7. OS commands are executed as an extension of the adbinstall command. If execution of such an OS command fails, an error message will be output to the standard error output. In such a case, check the error message, eliminate the cause of the error, and then re-execute the adbinstall command.

  8. If you are reinstalling an HADB server or client (including installation of a revised edition or upgrading), make a backup copy of the server directory or client directory before you execute the adbinstall command.

  9. If the server directory specified in the -s option or the client directory specified in the -c option already exists, the KFAA91554-Q message (asking whether the specified directory is to be overwritten) is displayed. If the directory is to be overwritten, enter Y. If anything other than Y is entered, installation processing is canceled and the adbinstall command terminates.