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

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

6.3.2 Terminate the source Datareplicator

This subsection explains the source Datareplicator's termination method and termination modes.

For details about the extraction processing stop method, see 4.6.6 Designing the extraction processing stop method.

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

(1) How to terminate the source Datareplicator

When the source HiRDB terminates normally and true was specified in the syncterm operand in the extraction system definition, the source Datareplicator terminates automatically (normal termination).

If you execute the hdestop command at the source system, the source Datareplicator terminates (forced termination). In the Windows edition of Datareplicator, execute the command at the command prompt.

If you use HiRDB's standby-less system switchover (effects distributed) facility, you can also use the hdestop_n command to execute partial termination (to terminate extraction master processes and extraction node master processes separately).

To terminate the source Datareplicator, make sure that you use the hdestop command. If the source Datareplicator is terminated by using an OS command to terminate processes, the results might not be as expected.

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

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

If you terminate Windows while the source Datareplicator is running, the source Datareplicator is terminated forcibly.

(2) Termination modes for the source Datareplicator

There are two termination modes for the source Datareplicator.

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

Normal termination

When the source HiRDB terminates normally, the source Datareplicator terminates automatically. To terminate the source Datareplicator, specify true in the syncterm operand in the extraction system definition.

Forced termination

The source Datareplicator terminates upon completion of all extraction and transmission processing that was underway when the hdestop command was executed. When you terminate the source Datareplicator forcibly, conformity might be lost between the source and target databases. To guarantee database conformity in such a case, you must use the restart mode the next time you start the source Datareplicator.