The HiRDB administrator executes the pdloginit command to create system log files in a HiRDB file system area.
- Example
- Create system log files (log01) in a HiRDB file system area (/sysarea01):
pdloginit -d sys -s b001 -f /sysarea01/log01 -n 1024 |
- Explanation:
- -d sys: Specifies that this is a system log file.
- -s: Specifies the name of the server corresponding to this system log file.
- This specification is not necessary for a HiRDB/Single Server.
- -f: Specifies a name for this system log file.
- Enter the name that was specified with the pdlogadpf -d sys server definition operand in the HiRDB system definitions.
- -n: Specifies the number of records for this system log file.
- The size of one system log file equals the record length times the number of records (bytes). A system log file usually has a record length of 4096 bytes, but this size can be changed with the pd_log_rec_leng operand.
After the command has executed, the execution results should be checked for errors. For details about how to check command execution results, see the manual HiRDB Version 8 Command Reference.
- Relationship with HiRDB system definitions
- This pdloginit command is associated with the following server definition operands in the HiRDB system definitions:
- pdlogadfg -d sys
- pdlogadpf -d sys
- You need to define the system log file created using these operands.