Nonstop Database, HiRDB Version 9 System Operation Guide

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

4.3.8 Increasing the number of synchronization point dump file guaranteed-valid generations

The procedure for increasing the number of guaranteed-valid generations for synchronization point dump files is described below.

Organization of this subsection
(1) When HiRDB can be terminated normally
(2) When HiRDB cannot be terminated normally

(1) When HiRDB can be terminated normally

Procedure
  1. Use the pdlogls command to check the number of synchronization point dump files. Confirm that the number of files is at least one more than the number of guaranteed-valid generations after the change. If there are not enough synchronization point dump files, you must add files.
    pdlogls -d spd -s b001
  2. Use the pdstop command to terminate HiRDB normally.
  3. Add one of the operands listed below, as appropriate, to the HiRDB system definition. Specify in this operand the synchronization point dump file to be added in step 4.
    [Figure] pdlogadfg -d spd operand
    [Figure] pdlogadpf -d spd operand
    Also, specify in the pd_spd_assurance_count operand the number of guaranteed-valid generations.
  4. Use the pdloginit command to add (initialize) the synchronization point dump file.
    pdloginit -d spd -s b001 -f /sysfile01/sync01 -n 5000
  5. Use the pdconfchk command to check the HiRDB system definition. If an error is detected, correct the HiRDB system definition and re-execute the pdconfchk command.
  6. Use the pdstart command to start HiRDB normally.
We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.

(2) When HiRDB cannot be terminated normally

Use the pdchgconf system reconfiguration command to change the HiRDB system definition. Note that HiRDB Advanced High Availability must have been installed in order to use this command.

Procedure
  1. Use the pdlogls command to check the number of synchronization point dump files. Confirm that the number of files is at least one more than the number of guaranteed-valid generations after the change. If there are not enough synchronization point dump files, you must add files.
    pdlogls -d spd -s b001
  2. Create the $PDDIR/conf/chgconf directory.
  3. Copy the HiRDB system definition file currently being used to the directory created in step 2.
  4. Add one of the operands listed below, as appropriate, to the HiRDB system definition in the $PDDIR/conf/chgconf directory. Specify in this operand the synchronization point dump file to be added in step 5.
    [Figure] pdlogadfg -d spd operand
    [Figure] pdlogadpf -d spd operand
    Also, specify in the pd_spd_assurance_count operand the number of guaranteed-valid generations.
  5. Use the pdloginit command to add (initialize) the synchronization point dump file.
    pdloginit -d spd -s b001 -f /sysfile01/sync01 -n 5000
  6. Use the pdconfchk command to check the HiRDB system definition in the $PDDIR/conf/chgconf directory. If an error is detected, correct the HiRDB system definition and re-execute the pdconfchk command.
  7. Use the pdchgconf command to replace the existing HiRDB system definition with the modified system definition.
We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.