1.6.3 Notes on HiRDB startup processing errors (applicable to HiRDB/Parallel Server only)

This section provides notes on errors during unit startup. You should consult this section when the following conditions are applicable.

Organization of this subsection
(1) Conditions
(2) Notes

(1) Conditions

All of conditions 1, 2, and 3 or all of conditions 1, 2, and 4 must be satisfied:

  1. A HiRDB/Parallel Server is being used.
  2. Multiple servers are defined at the unit whose startup processing failed.
  3. The startup mode is normal startup or restart after planned termination.
  4. The startup mode is restart after forced termination or abnormal termination, and pd_log_rerun_swap=Y is specified.

(2) Notes

When a unit is started, HiRDB starts all servers at the unit concurrently. If an invalid system definition operand is detected or an error occurs in one of the servers, startup of the entire unit fails. In such a case, the following events may occur:

In such a case, HiRDB allocates a new current file the next time unit startup is performed. The current file allocated during the previous unit startup is closed (it is not reused). The HiRDB administrator must take one of the actions described below in order to reallocate this closed system log file as the current file.

(a) Not reinitializing the system log file

After executing pdlogunld or pdlogchg for the corresponding system log file, one of the actions listed below can be taken, depending on HiRDB's activity status:

HiRDB's activity statusHiRDB administrator's action
During HiRDB operationExecute the pdlogopen command on the corresponding system log file.
Before normal startup of unitNo action is required. This file is identified as the available current system log file during unit startup.
Before unit restartAfter the unit is restarted, execute the pdlogopen command on the corresponding system log file.
(b) Reinitializing the system log file
Procedure
  1. Execute the pdlogunld or pdlogchg command on the corresponding system log file:
    pdlogunld -d sys -s b001 -g syslogfgp03 -o /unld/unldlog01
  2. Use the pdlogrm command to delete the corresponding system log file.
    pdlogrm -d sys -s b001 -f /unt1/sysfile01/log01
  3. Use the pdloginit command to initialize the corresponding system log file:
    pdloginit -d sys -s b001 -f /unt1/sysfile01/log01 -n 5000