Scalable Database Server, HiRDB Version 8 Installation and Design Guide
To execute HiRDB operation commands and utilities on a HiRDB that has been installed with a setup identifier specified, you need to specify environment variables. HiRDB provides an environment variable specification batch file and a work console that specifies the environment variables according to the operation command and utility execution environment.
To start the work console, from Start, choose Program, HiRDBSingleServer Setup Identifier or HiRDBParallelServer Setup Identifier, then HiRDB Command Prompt. Use this work console to execute operation commands and utilities.
Copy the environment variable specification batch file (%PDDIR%\SAMPLE\sampleconf\HiRDBCMD.BAT) under a different name and then customize the file contents. If you customize the original batch file, it is overwritten during update installation. Use the copy of the environment variable specification batch file for executing operation commands and utilities.
To execute operation commands and utilities at the command prompt, you need the following environment variables:
| Environment variable | Description |
|---|---|
| PDDIR | Specify the HiRDB installation directory. |
| PDCONFPATH | Specify the absolute path of the directory where HiRDB system definition files are to be stored. For unit control information, the system uses a file under %PDDIR%\conf regardless of this specification. |
| PATH | Add %PDDIR%\BIN\;%PDDIR%\CLIENT\UTL; at the beginning of the PATH environment variable. |
| PDUXPLDIR | Specify %PDDIR%\UXPLDIR. |
| PDDFUXPLDIR | Specify %PDDIR%\DFUXPLDIR. |
For the HiRDB port number for connection from a client, specify a unique port number in each HiRDB. To specify the port number, use the pd_name_port operand in the system common definitions. For details about the pd_name_port operand, see the manual HiRDB Version 8 System Definition.
If you have installed a HiRDB specifying a setup identifier, the setup identifier is required to start or terminate a service. To start or terminate a service, use the service name with the specified setup identifier attached.
To use the HiRDB in the system switchover configuration by registering it in MSCS, the primary system and the secondary system must have the same setup identifier.
To use the HiRDB in the system switchover configuration using MSCS, start the same service name at a different server machine. If there is an existing environment, you need to change the existing service name to avoid duplication. To change a service name, uninstall the HiRDB and then reinstall it in the same directory. If the directory structure is duplicated, you need to migrate the HiRDB server and create a new environment. For details about HiRDB server migration, see the manual HiRDB Version 8 System Operation Guide.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.