If you use the system reconfiguration command (pdchgconf command), you can modify the HiRDB system definitions while HiRDB is running, and therefore you need not normally terminate HiRDB. Note however that HiRDB Advanced High Availability is required for using this command.
- To modify the HiRDB system definition using the system reconfiguration command:
- Create the %PDDIR%\conf\chgconf directory.
- Copy the HiRDB system definition file being used to the directory created in Step 1.
- Modify the HiRDB system definitions in %PDDIR%\conf\chgconf.
- Use the pdconfchk -d chgconf command to check the HiRDB system definitions in %PDDIR%\conf\chgconf. If any error is found, correct the HiRDB system definition and re-execute the pdconfchk command.
- Use the pdchgconf command to replace the HiRDB system definition with the modified one.
When you execute the pdchgconf command, the HiRDB system definition file being used (unmodified one) is saved to %PDDIR%\conf\backconf. Then, the modified HiRDB system definition file in %PDDIR%\conf\chgconf is copied to %PDDIR%\conf.
- Notes:
- If a transaction or utility continues to be active for 15 minutes or longer after the pdchgconf command is input, the command is terminated abnormally.
- Some limits apply when you use the system reconfiguration command to modify the HiRDB system definitions. For details on these limits, see the HiRDB Version 8 System Operation Guide.
Before the operands listed below are added, modified, or deleted, HiRDB Datareplicator must be terminated; HiRDB Datareplicator can be restarted after the operand addition, modification, or deletion operation is completed:
- pd_log_dual
- pd_log_max_data_size
- pdlogadfg -d sys
- pdlogadpf -d sys
If these operands are added, modified, or deleted while HiRDB Datareplicator is running, extraction by HiRDB Datareplicator may fail under some circumstances.