HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

9.1.4 Procedures for handling errors at the target system

This section explains the procedures for handling errors at the target system for the following situations:

Organization of this subsection
(1) When conformity between the source and target databases is lost
(2) Re-creating the target database when transmitting to multiple target systems
(3) When some destinations have become subject to reduced operation because the extraction information queue file became full

(1) When conformity between the source and target databases is lost

If conformity between the source and target databases is lost because of an error at the target system, you must re-create the target database. Synchronize the data linkage environments at the source and target, initialize them, then re-create the target database on the basis of the source database. For details about how to re-create a target database, see 6.5 Handling of the source HiRDB.

(2) Re-creating the target database when transmitting to multiple target systems

If an error occurs at a target system while executing transmission from one source system to multiple target systems, you can initialize transmission processing for only the erroneous target system by using the partial initial start method at the source system. In this case, execute partial initial start only for the transmission processing to the erroneous target system, and then re-create the target database at that target system.

To re-create a target database when transmitting to multiple target systems:

  1. Terminate the applications at the source HiRDB to maintain conformity between the source and target databases that are subject to the data linkage.
  2. Use the pdhold command to shut down the source database and suppress updating of the databases subject to the data linkage.
  3. Terminate the source Datareplicator with the hdestop command.
  4. Terminate the target Datareplicator with the hdsstop command.
  5. Re-create the target database on the basis of the source database only at the erroneous target system. In this case, the HiRDB Dataextractor enables you to efficiently re-create the target database from the source database.
  6. Specify the destination resulting in the error and execute partial initial start on the source Datareplicator (with the hdestart -i -S command).
  7. Initialize the target Datareplicator's environment at the target system resulting in the error (with the hdsstart -i command).
  8. Use the hdestart command to start the source Datareplicator.
  9. Use the pdrels command to release the source database that is subject to data linkage from shutdown status.
  10. Restart the applications at the source HiRDB.

(3) When some destinations have become subject to reduced operation because the extraction information queue file became full

If some destinations have become subject to reduced operation because the extraction information queue file became full, you must re-create the target databases at the target systems that have been placed in reduced operation mode. The handling procedure is the same as when an error occurs at a target system while executing transmission to multiple target systems. For details, see (2) above.