Scalable Database Server, HiRDB Version 8 Installation and Design Guide

[Contents][Index][Back][Next]

23.2.5 Setting the environment (HiRDB administrator's task)

Once the superuser has changed the HiRDB directory owner to the HiRDB administrator and has registered the directory into the OS, the HiRDB administrator can set the environment.

This section describes how the HiRDB administrator sets OS environment variables and creates HiRDB file system areas in order to construct the HiRDB system.

Organization of this subsection
(1) Setting HiRDB environment variables
(2) Setting environment variables to use the interactive SQL execution utility (HiRDB SQL Executor)

(1) Setting HiRDB environment variables

Executor: HiRDB administrator

The HiRDB administrator must set in the environment variable file shown in (a) as follows the values shown in (b) as follows.

(a) File to be used

The HiRDB administrator sets the environment variables in either of the following files, depending on the type of shell used:

(b) Information to be set

The HiRDB administrator uses an OS command to set the environment variables listed in Table 23-9 in the appropriate file (as indicated above).

For details about the command to be used, see the applicable OS documentation.

Table 23-9 Information to be set for environment variables

Variable Information to be set Description
PDDIR /opt/HiRDB_P Absolute path of the HiRDB directory
PDCONFPATH $PDDIR/conf Directory for storing HiRDB system definitions
PATH $PDDIR/bin Directory for storing HiRDB commands and utilities
$PDDIR/client/utl Directory for storing HiRDB client libraries
$PDDIR/plugin/phsgml/bin Directory for storing SGML plug-in commands and utilities of the HiRDB Text Search Plug-in
SHLIB_PATH $PDDIR/lib Directory for storing HiRDB programs, etc.
PDHOST Example: hostA1,2 Server machine's host name
PDUSER "manager"1 Schema owner
PDNAMEPORT Example: 200001,2 Server machine's port number

1 HiRDB client's environment variable.

2 If the HiRDB server and client are installed on separate server machines, set the server value at the destination. If the host name and port number are already set in the server machine before HiRDB is used, set those values.

(2) Setting environment variables to use the interactive SQL execution utility (HiRDB SQL Executor)

The interactive SQL execution utility (HiRDB SQL Executor) enables retrievals to be made interactively from SGML documents in a UNIX environment.

For details about the environment variable settings for the interactive SQL execution utility, see the documentation or document files provided with the corresponding software.