Nonstop Database, HiRDB Version 9 System Operation Guide
This example recovers all RDAREAs, including the system RDAREAs, to the most recent synchronization point before an error occurred; it is assumed that a backup of the entire system (backup of all RDAREAs) is available. The system log is being unloaded.
In the case of a HiRDB parallel server configuration, check for the current system log files at the dictionary and back-end servers.
pdlogls -d sys |
To unload the current system log file, swap system log files. In the case of a HiRDB parallel server configuration, swap system log files at the dictionary and back-end servers.
pdlogswap -d sys |
Unload the current system log file checked in step (1).
In the case of a HiRDB parallel server configuration, unload the current system log files at the dictionary and back-end servers.
pdlogunld -d sys -g log01 -o /unld/unldlog02 |
If HiRDB cannot be terminated (normal or planned termination), initialize the status file. First, enter the pdstsrm command to delete the status file, and then enter the pdstsinit command to re-create the status file.
pdstop |
Use another product's facility to recover the master directory RDAREA to a backup acquisition point.
pdstart -r |
pdrstr -m /rdarea/mast/mast01 -l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork -r rdmast |
Using another product's restore facility, restore all RDAREAs, except for the master directory RDAREA, to their status at the time a backup was made. For a data dictionary LOB RDAREA, restore the data dictionary LOB RDAREA for storing sources.
pdstop |
pdstart |
Shut down and close all RDAREAs except the master directory RDAREA and data dictionary RDAREA.
pdhold -r rddir,diclob,regrd,reglob,rdarea01,rdarea02,... -c |
The data dictionary RDAREA must be shut down and closed last.
pdhold -r rddic -c |
pdrstr -m /rdarea/mast/mast01 -l /unld/unldlog01,/unld/unldlog02 -w /tmp/sortwork -r rddir,rddic,diclob,regrd,reglob,rdarea01,rdarea02,... |
The data dictionary RDAREA must be released from shutdown status and opened first.
pdrels -r rddic -o |
Open all RDAREAs except the master directory and data dictionary RDAREAs by releasing their shutdown status.
pdrels -r rddir,diclob,regrd,reglob,rdarea01,rdarea02,... -o |
pdstop |
Use another product's backup facility to back up all RDAREAs.
pdstart |
The procedure for recovering the data dictionary LOB RDAREA for storing objects is described below.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.