HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
The following figure provides an overview of the recovery procedure using unload log files.
Figure 9-8 Overview of the recovery procedure using unload log files
The following subsections describe the procedures shown in Figure 9-8 Overview of the recovery procedure using unload log files under Obtain the extraction transaction information (recovery start location) for all targets on all BESs and Execute recovery processing using the data linkage recovery facility.
The extraction transaction information is used to uniquely identify a transaction that has occurred on the source HiRDB system. The extraction transmission information that is output when import processing is completed indicates that all information up to that transaction executed at the source system has been imported.
To apply data linkage recovery using unload log files, you must specify the transaction in an unload log file with which recovery is to be started. By specifying the extraction transaction information existing when import processing is completed, you can recover all the transactions that were completed after that transaction (the transactions that have not been imported into the target system).
The following shows how to obtain the extraction transaction information when the target is Datareplicator:
hdsrefinfm -f target-status-file-name -l 9 -p analysis-results-output-target-file-name |
Note: If a relative path is specified for the target status file name, Datareplicator assumes the path from $HDSPATH.
| Import status | How to acquire the recovery start position |
|---|---|
| All Read Information is at the same location | The recovery start position is Additional Transaction Info in <Reflect Entry Information[STAT]> HeadInformation:GroupNo=001 |
| Read Information is at different locations | The recovery start position is Additional Transaction Info for the import group whose Read Information is delayed most# |
The following table describes how to obtain the extraction transaction information when the target is XDM/DS:
| Status of target XDM/DS | Acquisition method | Output target | Extraction transaction information |
|---|---|---|---|
| Normal or planned termination | See detailed information for the JWD396I console message that is displayed when the target XDM/DS is terminated | Console | kk...k part in EXTTRN INF: The kk...k that is displayed in JWD396I (24 hexadecimal characters). |
| Acquire from the XDM/DS support utility's processing status output results | ABCPRINT | Information following LAST-EXT-TRN-INF= in the output results (24 hexadecimal characters) |
This subsection describes the Perform recovery processing using the data linkage recovery facility step in the recovery procedure shown in Figure 9-8 Overview of the recovery procedure using unload log files.
Set up the data linkage recovery facility. When the data linkage recovery facility is set up, Datareplicator's normal extraction facility is replaced with the data linkage recovery facility. Therefore, note the following points:
The data linkage recovery facility can process up to the point of extraction of update information. After execution of the data linkage recovery facility, you must re-transmit the update information to the target Datareplicator and execute import processing.
In the setup, execute the following two steps to extract the update information required for data linkage recovery into the extraction information queue file:
If update information is extracted from multiple back-end servers, you must execute the recovery processing for each back-end server.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.