Nonstop Database, HiRDB Version 9 Command Reference
The pdsetup command registers a HiRDB system under the HiRDB directory into the OS so that part of the HiRDB system is started or terminated when the OS is started or terminated. This command can also copy the load module of an installed HiRDB into a specified HiRDB directory.
Superuser
/opt/HiRDB_S/bin/pdsetup
[{ -d [-f]|[-c character-code-type][-v {recom|v0904}]}]
HiRDB-directory
|
/opt/HiRDB_P/bin/pdsetup
[{ -d [-f]|[-c character-code-type][-v {recom|v0904}]}]
HiRDB-directory
|
Specifies that the HiRDB system under the HiRDB directory is to be deleted from the OS. When this option is omitted, the HiRDB system is registered into the OS.
If you specify the -d option, the following message is displayed, asking whether or not to delete the files required for HiRDB execution:
KFPS00036-Q Specify whether to delete files necessary for execution from specified HiRDB home directory?
[y: Yes, n: No]
If you enter y, the command deletes the files and directories required for HiRDB execution. In this case, the files required for HiRDB execution will be copied from the installation directory the next time the pdsetup command is executed.
If you enter n, the command does not delete the files or directories.
Enter y in the following cases:
Specifies registration and deletion of HiRDB from the operating system. The -f option can be specified only in combination with the d option. Even when HiRDB is running or is being abnormally terminated, this option can force the registration and deletion of the HiRDB from the operating system. If this option is omitted, any HiRDB processing is immediately suspended. The load modules stored in the HiRDB directory are not deleted. This option should be specified only when the pdstop -f command cannot be accepted. Normally, the pdsetup -d command should be executed after stopping the HiRDB system using the pdstop command. If the -f option is specified, some of the HiRDB processes may remain unstopped. If this happens, use the ps command of the operating system to locate those processes and use the kill command to delete them. Without this action, the HiRDB system may fail to start when the pdsetup command is executed the next time.
~<Other than Linux: sjis> or <Linux: ujis>
Specifies the type of character encoding used by the HiRDB system:
In HiRDB, the default values for system definition operands might change from one version to the next. This option specifies the default operation when operands are omitted:
Specifies the HiRDB directory used to install the HiRDB system. In the case of a multi-HiRDB system, this command must be executed for each HiRDB system with the appropriate HiRDB directory specified.
Do not specify a symbolically linked HiRDB directory.
| Platform | Notes |
|---|---|
| HP-UX, AIX, Solaris, and Linux (Linux 5 or earlier) |
|
| Linux (Linux 6 or later) |
|
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.