To modify the HiRDB execution environment, you must modify HiRDB system definitions. The following shows the procedure used to modify HiRDB system definitions. In this procedure, $PDDIR/conf indicates the directory that stores the unit control information definition file, while $PDCONFPATH indicates the directory that stores all other HiRDB system definition files.
- Procedure
- Create subdirectories in the $PDDIR/conf and $PDCONFPATH directories. For this example, the subdirectories are named work.
- Copy the unit control information definition file into the $PDDIR/conf/work directory. Copy the other HiRDB system definition files into the $PDCONFPATH/work directory.
- Modify the HiRDB system definitions that you copied into the $PDDIR/conf/work and $PDCONFPATH/work directories.
- Use the pdconfchk -d work command to check the HiRDB system definitions in the $PDDIR/conf/work and $PDCONFPATH/work directories. If errors are detected, correct each erroneous HiRDB system definition, and then execute the pdconfchk command again.
- Use the pdstop command to terminate HiRDB normally.
- Use the pdlogunld command to unload any system log files that are in unload wait status.
- Copy any HiRDB system definitions files that you modified in step 3 into the $PDDIR/conf or $PDCONFPATH directory, replacing the current HiRDB system definition files.
- If you changed the value specified in either of the following operands, use the pdloginit command to initialize the system log files:
pd_log_dual
pdstart
- Use the pdstart command to start HiRDB normally.
Before any of the following operands are added, modified, or deleted, HiRDB Datareplicator must be terminated:
- pd_log_dual
- pd_log_max_data_size
- pdlogadfg -d sys
- pdlogadpf -d sys
HiRDB Datareplicator can be started again after the changes have been made. If these operands are added, modified, or deleted while HiRDB Datareplicator is running, data extraction by HiRDB Datareplicator may fail.