Nonstop Database, HiRDB Version 9 System Operation Guide

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

20.4.3 Actions to be taken in the event of an error in the master directory RDAREA

If an error occurs in the master directory RDAREA, HiRDB cannot be restarted. In such a case, the following procedure must be used to restore the RDAREA.

Procedure
To restore the RDAREA:
  1. Enter the pdstart -r command to start HiRDB.
  2. Use the pdrstr command to restore the master directory RDAREA:
    pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01
    -l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork/
    -r PDBMAST
  3. Enter the pdstop command to terminate HiRDB.
  4. Enter the pdstart command to start HiRDB.
  5. Use the pdclose command to close the erroneous RDAREA (master directory RDAREA):
    pdclose -r rdarea01,rdarea02
  6. Use the database recovery utility (pdrstr command) to restore the RDAREA:
    pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01
    -l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork/
    -r rdarea01,rdarea02
  7. Use the pdrels -o command to release the restored RDAREA from shutdown status and then open it:
    pdrels rdarea01,rdarea02 -o
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.