HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
This subsection explains the initialization procedure to be used when the configuration of the source system is changed. If you are changing the configurations of both source and target systems, also use the procedure described here to initialize the Datareplicator.
The following figure shows the initialization procedure.
Figure 6-25 Procedure for changing the configuration of the source system
The procedure for changing the configuration of the source system shown in the figure is explained below. The numbers correspond to the numbers in the figure.
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Verify that all processes are running at the source Datareplicator. If there is any inactive process, restart it. |
hdestate | Verify that Status in the displayed results is not any of the following:#1
|
| 2 | Verify that all processes are running at the target Datareplicator. If there is any inactive process, restart it. |
hdsstate | Verify that PID in the displayed results is not -1.#2 |
| 3 | Output the contents of all system logs to the system log file. | pdlogsync -d sys#3 | Verify that the KFPS02183-I message has been output to the syslog file (event log in Windows). |
| 4 | Verify that all update information has been extracted. | pdls -d rpl -j | Check the information in the displayed results.#4 |
| 5 | Verify that all update information has been transmitted. | hdestate | Verify that current used ratio in the displayed results is 0%. Alternatively, verify that Queue write position and Queue read position in the displayed results indicate the same position. |
| 6 | Verify that all update information has been imported. | hdsstate | Verify that current used ratio in the displayed results is 0%. Alternatively, verify that Queue write position and Queue read position in the displayed results indicate the same position. |
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Terminate the source Datareplicator. | hdestop | -- |
| 2 | Verify that the source Datareplicator has been terminated. | hdestate | Verify that the KFRB04411-E message has been output to the standard error output. |
| 3 | Terminate the target Datareplicator. | hdsstop | -- |
| 4 | Verify that the target Datareplicator has been terminated. | hdsstate | Verify that the KFRB04302-E message has been output to the standard error output. |
| No. | Task | Execution command | Check item |
|---|---|---|---|
| 1 | Stop 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 the 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.