HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
This subsection explains how to initialize the Datareplicators if an inconsistency occurs between the source and target databases.
The following figure shows the procedure.
Figure 9-2 Initialization procedure during error recovery
The initialization procedure during error recovery that is shown in the figure is explained below. The numbers in the explanation below correspond to the numbers in the figure.
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Stop the source Datareplicator. | hdestop | -- |
| 2 | Verify that the source Datareplicator has terminated. | hdestate | Verify that the KFRB04411-E message has been output to the standard error. |
| 3 | Terminate the target Datareplicator. | hdsstop | -- |
| 4 | Verify that the target Datareplicator has terminated. | hdsstate | Verify that the KFRB04302-E message has been output to the standard error. |
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Terminate data linkage with HiRDB. | pdrplstop -f | Verify that the KFPS05141-I message has been output to the standard output. |
| 2 | Initialize the source Datareplicator. | hdestart -i (Enter Y in the response message) |
Verify that the KFRB00504-I message has been output to msterrfile1 or msterrfile2. |
| 3 | Create an extraction definition preprocessing file. | hdeprep -f extraction-definition-file# | Verify that the KFRB04500-I message has been output to the standard output. |
| 4 | Start data linkage with HiRDB. | pdrplstart | Verify that the KFPS05140-I message has been output to the standard output. |
| 5 | Initialize the target Datareplicator. | hdsstart -i -q# | Verify that the KFRB04216-I message has been output to the standard output (Event Viewer in Windows). |
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Start the target Datareplicator. | hdsstart# | Verify that the KFRB00100-I message has been output to errfile1 or errfile2. |
| 2 | Start the source Datareplicator. | hdestart# | Verify that the KFRB00502-I message has been output to msterrfile1 or msterrfile2. |
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.