Nonstop Database, HiRDB Version 9 System Operation Guide
(1) Enter the pdstop command to terminate HiRDB normally
If HiRDB cannot be terminated normally, enter the pdstop -f command to forcibly terminate it. This step is not necessary if HiRDB has already terminated abnormally.
(2) Enter the pdstart -r command to start HiRDB
(3) Use the pdrstr command to restore all RDAREAs
pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01 -a
|
- Explanation
- -m: Specifies the name of the first HiRDB file in the master directory RDAREA.
- -b: Specifies the name of the backup file containing the backup data for all RDAREAs.
- -a: Specifies that all RDAREAs are to be recovered.
(4) Enter the pdstop command to terminate HiRDB normally
If HiRDB already terminated abnormally as discussed in (1), or if it was forcibly terminated using the pdstop -f command, you must initialize the status file before normally starting HiRDB (in 5 below). First, enter the pdstsrm command to delete the status file, and then enter the pdstsinit command to re-create the status file.
(5) Enter the pdstart command to start HiRDB normally
(6) Recover the list RDAREA
This procedure is not necessary if there is no list RDAREA.
- Procedure
- Shut down and close the list RDAREA.
- Enter the pdmod command to re-initialize the RDAREA.
pdmod -a /rdarea/conf/control3
|
- Release the list RDAREA from shutdown and open it.
(7) Recover the temporary table RDAREA
This step is not necessary if there is no temporary table RDAREA.
- Procedure
- Shut down and close the temporary table RDAREA.
- Enter the pdmod command to re-initialize the RDAREA.
pdmod -a /rdarea/conf/control4
|
- Release the temporary table RDAREA from shutdown and open it.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.