Nonstop Database, HiRDB Version 9 Installation and Design Guide
Table 21-7 lists and explains the configuration files that are to be created for the HiRDB single server configuration; Table 21-8 lists and explains the configuration files that are to be created for the HiRDB parallel server configuration.
To use these files, they must be copied under $PDDIR/conf, then appropriate changes must be made to them according to the notes provided in Table 21-7 or 21-8.
Specify the HiRDB directory path in the PDDIR environment variable.
Table 21-7 Files to be created for a HiRDB single server configuration
| File name | Contents | Notes |
|---|---|---|
| pdsys | System common definition |
|
| pdutsys | Unit control information definition | None |
| sds01 | Single server definition | |
| sysfmkfs | Command for creating HiRDB file system areas for system files | |
| sysfint | Command for initializing system files | |
| logunld | Command for unloading system log files |
|
Table 21-8 Files to be created for a HiRDB parallel server configuration
| File name | Contents | Notes |
|---|---|---|
| pdsys | System common definition |
|
| pdutsys1 | Unit control information definition for unt1 of host1 | After copying it to host1's environment, change the file name to pdutsys. |
| pdutsys2 | Unit control information definition for unt2 of host2 | After copying it to host2's environment, change the file name to pdutsys. |
| pdsvrc | Server common definition | None |
| fes1 | Definition for front-end server fes1 | |
| bes1 | Definition for back-end server bes1 | |
| bes2 | Definition for back-end server bes2 | |
| dic1 | Definition for dictionary server dic1 | |
| sysfmkfs1 | Command for creating HiRDB file system areas for system files to be used by unt1 of host1 | Input from host1. |
| sysfmkfs2 | Command for creating HiRDB file system areas for system files to be used by unt2 of host2 | Input from host2. |
| sysfint | Command for initializing system files to be used by host1 and host2 |
|
| Feslogunld | Command for unloading system log files for pdfes |
|
| bes1logunld | Command for unloading system log files for pdbes1 | |
| bes2logunld | Command for unloading system log files for pdbes2 | |
| dic1logunld | Command for unloading system log files for pddic |
The following instruction must be executed to create the HiRDB file system areas:
| $PDDIR/sample/sampleconf/fmkfile |
| $PDDIR/sample/sampleconf/fmkfile |
The following instruction must be executed to allocate files such as system log files:
| $PDDIR/sample/sampleconf/sysfmkfs |
| $PDDIR/sample/sampleconf/sysfmkfs1 |
| $PDDIR/sample/sampleconf/sysfmkfs2 |
The following instruction must be executed to initialize files such as system log files:
| $PDDIR/sample/sampleconf/sysfint |
| $PDDIR/sample/sampleconf/sysfint |
The instruction shown as follows must be executed to create the initialization control statement file.
The name of the initialization control statement file is $PDDIR/sample/sampleconf/rdinit01.
| $PDDIR/sample/sampleconf/mkinit |
| $PDDIR/sample/sampleconf/mkinit |
Use the pdstart command to start HiRDB.
The database definition utility (pddef) is executed shown as follows:
| $PDDIR/bin/pddef < $PDDIR/sample/sampleDB/tblecreate_e |
Execute the following shell script to load data using the database load utility (pdload). For details about data loading, see the manual HiRDB Version 9 Command Reference.
| $PDDIR/sample/sampleDB/loadinf_e |
It may not be possible to execute a HiRDB operation command because it has the same name as an OS command or a command provided by another program. In this case, the following actions can be taken:
If neither of these actions can be taken, there is a way to execute a HiRDB operation command under a user-defined name. HiRDB provides a sample shell script for this purpose.
HiRDB provides a sample shell script file appropriate to each platform. The table below lists and describes the sample shell script files provided by HiRDB; they are stored in the following directory:
Table 21-9 Sample shell script files for executing commands under aliases
| File name | Contents | Notes |
|---|---|---|
| aliascmdbsh | Sample file for Bourne shell | Do not copy in the bin or lib directory under the HiRDB directory |
| aliascmdcsh | Sample file for C shell |
To create an alias for an operation command:
Figure 21-4 Sample file for Bourne shell
Figure 21-5 Sample file for C shell
This procedure enables a HiRDB operation command to be executed under any desired name. Options can be specified in the alias command in the same manner as with the normal HiRDB operation command.
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.