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

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

6.6.2 Terminate the target Datareplicator

The following explains the termination procedure and termination modes for the target Datareplicator.

For details about how to stop import processing, see 4.7.5 Designing the import processing stop method.

Organization of this subsection
(1) How to terminate the target Datareplicator
(2) Termination modes for the target Datareplicator

(1) How to terminate the target Datareplicator

If you execute the hdsstop command after the source system has terminated, the target Datareplicator terminates according to the import environment definition. In the Windows edition of Datareplicator, execute the command at the command prompt.

To terminate the target Datareplicator, make sure that you use the hdsstop command. If you terminate the target Datareplicator by using an OS command to kill the process, the results might not be as expected.

In the Windows edition of Datareplicator, you can also use the following method to terminate the target Datareplicator (immediate termination).

Terminate the import service manually:
  1. In Control Panel, double-click the Services icon.
  2. Under Service, choose HiRDB Datareplicator (Target Site).
  3. Click the Stop button.

If you terminate Windows while the target Datareplicator is running, the target Datareplicator is terminated forcibly. Once the import service is terminated, executing a forced termination command before the import service actually stops will not result in forced termination.

(2) Termination modes for the target Datareplicator

There are four termination modes for the target Datareplicator.

For details about the termination modes, see the hdsstop command in Chapter 7. Command Syntax.

Normal termination

After executing the hdsstop command, the target Datareplicator terminates when import processing is completed through the source system's activity unit. If the source database is a HiRDB, the activity unit is from normal startup to normal termination of the entire source system. For details about the activity unit when the source database is a mainframe database, see the VOS3 XDM/DS manual.

Event termination

After executing the hdsstop command, the target Datareplicator terminates when import processing detects the first event sent from the source system. If the target Datareplicator completes processing through the source system's activity unit before detecting the event, it terminates immediately without waiting for the event.

Immediate termination

After executing the hdsstop command, the target Datareplicator terminates when it finishes importing the current update information being processed.

Forced termination

After executing the hdsstop command, the target Datareplicator terminates forcibly regardless of the import status of the update information. If synchronization point processing is underway, the target Datareplicator terminates upon completion of the synchronization point processing.

Executing forced termination on the target Datareplicator might result in a loss of conformity between the source and target databases. If you use the restart mode the next time you start the target Datareplicator, the target database will be restored automatically.