HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
The preparations described in this subsection are required to perform data linkage recovery via unload log files. Make sure that all environment variables whose settings are required for the target Datareplicator have been set.
Under the source Datareplicator directory ($HDEPATH), create the file named hde_toolenv that defines the following environment variable. Even if you omit the environment variable, create the hde_toolenv file as an empty file.
[TOOL_OUTPUT_DIR=execution-results-storage-directory-for-data-linkage-recovery-facility] |
TOOL_OUTPUT_DIR specifies the directory used to store the files that are output by the data linkage recovery facility (such as a transactions list). If this environment variable is omitted, $HDEPATH is assumed. If a relative path is specified, Datareplicator assumes the path from $HDEPATH.
At the applicable back-end server, prepare the HiRDB unload log files that are to be used for the recovery of data linkage. Also from the current system log file, obtain the unload log file after swapping, if necessary.
Store the prepared HiRDB unload log files in the same directory.
Check the following items:
| Size of transactions list (bytes) = number of transactions to be recovered x 64 + 4 |
pdlogcat -s -kp unload-log-file-name|
grep "Record header" | wc -l
When data linkage recovery via unload log files is performed, the following files are created under the directory that is specified in the TOOL_OUTPUT_DIR operand in the environment variable definition file (hde_toolenv):
If you execute data linkage recovery via unload log files more than once, check for the existence of these files. If they exist, either delete them or re-name them.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.