HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
This section describes the system design of the source HiRDB.
When data is to be extracted from a HiRDB database, the source HiRDB adds the data linkage information required by the source Datareplicator to the database update log and outputs it to the system log file. The source Datareplicator executes data linkage on the basis of the database update log information in the system log file that was output by the source HiRDB. The source HiRDB's facility for output of data linkage information to the system log file is called the HiRDB Datareplicator linkage facility.
When you start the HiRDB Datareplicator linkage facility at the source HiRDB, the system log containing the data linkage information is output to the system log file. When you start the source Datareplicator to begin extraction processing, the source Datareplicator starts extracting the system log information from the system log file.
To extract data from a HiRDB database, you must do the following for the source HiRDB:
- Specify the name of the directory used by the source Datareplicator
- Specify startup of HiRDB Datareplicator linkage
- Organization of this section
- (1) Specifying the name of the directory used by the source Datareplicator
- (2) Specifying startup of HiRDB Datareplicator linkage
- (3) Notes after HiRDB Datareplicator linkage has started
Specify the name of the directory used by the source Datareplicator in the source HiRDB's unit control information definition. The source HiRDB uses the data linkage file in this directory to report the extraction status to the source Datareplicator. If this directory name is not specified, you cannot use the HiRDB Datareplicator linkage facility. The following shows this specification:
pd_rpl_hdepath=source-HiRDB-Datareplicator-directory-name |
For details about the specification of pd_rpl_hdepath in the unit control information definition, see 5.6 Source HiRDB definition.
To output data linkage information together with the system log at the source HiRDB, start HiRDB Datareplicator linkage by one of the following methods:
- Specify pd_rpl_init_start=Y in the source HiRDB's system common definition
Use this method to start HiRDB Datareplicator linkage when the source HiRDB starts. In this case, the data linkage information that is needed is output to the system log file from the time the source HiRDB starts.
For details about the specification of pd_rpl_init_start in the system common definition, see 5.6 Source HiRDB definition.
- Execute the pdrplstart command (when pd_rpl_init_start=Y is not specified in the system common definition or HiRDB Datareplicator linkage has been cancelled by the pdrplstop command)
If pd_rpl_init_start=Y is not specified in the system common definition, use the pdrplstart HiRDB command to start HiRDB Datareplicator linkage.
When the pdrplstart is executed, the source HiRDB starts output of data linkage information from the update information for transactions that will be executed after execution of the pdrplstart command. If you have already executed a transaction that updates the database that is subject to data linkage before you executed the pdrplstart command, conformity between the source and target databases might be lost. Therefore, before you enter the pdrplstart command, check that no transactions that update the database subject to data linkage have already executed.
If HiRDB Datareplicator linkage has been cancelled by HiRDB's pdrplstop command, execute the pdrplstart command to restart data linkage. When HiRDB Datareplicator linkage is cancelled by the pdrplstop command, conformity between the source and target databases is lost, and you must re-create the target database before executing the pdrplstart command.
For details about how to execute the pdrplstart or pdrplstop command and how to re-create a target database, see 6.5.6 Source HiRDB handling procedure.
For details about the formats of the pdrplstart and pdrplstop commands, see 7. Command Syntax.
(3) Notes after HiRDB Datareplicator linkage has started
If the source Datareplicator's extraction processing is stopped for an extended period of time after HiRDB Datareplicator linkage started, HiRDB's system log file might become full and HiRDB might shut down. We recommend that you do not stop the source Datareplicator's extraction processing while HiRDB is running.
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.