Nonstop Database, HiRDB Version 9 Installation and Design Guide

[Contents][Index][Back][Next]

4.4.1 Creating system log files

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 configuration.
-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 normally has a record length of 1,024 bytes, but if the pd_log_rec_leng operand is specified, the value of the pd_log_rec_leng operand is used.

After the command has executed, we recommend that you check the execution results for errors. For details about how to check command execution results, see the manual HiRDB Version 9 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.