Nonstop Database, HiRDB Version 9 System Operation Guide

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

4.3.5 Adding a new synchronization point dump file

This section explains the procedure for adding a new synchronization point dump file. Before a synchronization point dump file is added, we recommend that the synchronization point dump file design guidelines be reviewed; for details, see the HiRDB Version 9 Installation and Design Guide.

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 pdfstatfs command to check for free space in the HiRDB file system area in which the synchronization point dump file will be created.
    pdfstatfs /sysfile01
    If there is no free space, create a new HiRDB file system area. For details, see 10.2 Creating (initializing) a HiRDB file system area.
  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
  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 terminate 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 pdfstatfs command to check for free space in the HiRDB file system area in which the synchronization point dump file will be created.
    pdfstatfs /sysfile01
    If there is no free space, create a new HiRDB file system area. For details, see 10.2 Creating (initializing) a HiRDB file system area.
  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
  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.