pdopsetup (Set up add-on PP)

Function

Installs or uninstalls HiRDB add-on PPs.

Executor

Superusers can execute this command.

Format

pdopsetup [-d] -k add-on-PP HiRDB-operation-directory

Options

Specifies an uninstallation of an add-on PP. The default is to install an add-on PP.

Specifies an abbreviation of the add-on PP.

exd: HiRDB External Data Access2
sti: HiRDB Staticizer Option
ldp: HiRDB LDAP Option
aha: HiRDB Advanced High Availability
apt: HiRDB Advanced Partitioning Option
drl: HiRDB Disaster Recovery Light Edition1
nrf: HiRDB Non Recover FES2
1 If HiRDB Disaster Recovery Light Edition is installed, execute the pdopsetup command at all server machines both at the transaction execution site and at the log application site.
2 Applicable to a HiRDB/Parallel Server.

Command argument

Specifies the HiRDB operation directory where the add-on PP is to be installed or uninstalled.

Rules

  1. The pdopsetup command can be executed only when HiRDB is stopped. This command cannot be executed when HiRDB has been forcibly terminated or has terminated abnormally.
  2. Execute the pdopsetup command for each server machine (except when the HiRDB LDAP Option is installed on a HiRDB/Parallel Server). If you install the HiRDB LDAP Option on a HiRDB/Parallel Server, execute this command at the server machine where the dictionary server is located.
  3. To execute the pdopsetup command, you must add $PDDIR/lib to the SHLIB_PATH# environment variable.
    # The environment variable is LD_LIBRARY_PATH for the Solaris and Linux version and LIBPATH for the AIX 5L version.

Note

  1. The following are the pdopsetup command's return codes:
    0: Normal termination
    4: Privilege error, HiRDB is active, insufficient disk space, uninstalled, or already installed
    12: Invalid parameter or path
  2. When HiRDB is upgraded to a new version, any add-on PP registered before the version upgrade will be transferred to the new version, which obviates the need for re-executing this command.