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

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

hdestop (terminate the source Datareplicator)

Function

The hdestop command terminates the source Datareplicator in the forced termination mode. To terminate the source Datareplicator in the normal termination mode, specify true in the syncterm operand in the extraction system definition.

Format
hdestop [ -t sendterm ]
        [ -e ]
        [ -s [ target-identifier [{{,target-identifier }} ...]]]
        [ -w ]

Options

-t sendterm
Specify this option to cancel processing forcibly in order to terminate transmission processing. This option is applicable when transmission processing only is active and the option to terminate transmission processing (when neither the -e nor the -s option is specified, or when the -s option is specified) had been specified.
If you omit the -t option, the source Datareplicator terminates transmission processing after sending all update information that was read from the extraction information queue file during the transmission interval.

-e
Specify this option to terminate only extraction of update information from the HiRDB system log file.

-s [ target-identifier [{{,target-identifier }} ...]]
Specify this option to terminate transmission processing only for specified destinations.
target-identifier
To terminate transmission processing for a specified target identifier, specify the target identifier (this must be a target identifier that is specified in the extraction system definition). If you specify multiple target identifiers, do not specify any spaces before or after a delimiter comma. Specifying ** as the target identifier will result in an invalid-argument error.
If you do not specify any target identifiers, the source Datareplicator terminates transmission processing for all targets.

-w
Specify this option to cause hdestop command processing not to terminate after it sends a termination request to the source Datareplicator's master process (hdemaster) until after hdemaster has terminated.
Specify this option when you need to terminate the command after the Datareplicator has terminated completely, such as when a Datareplicator termination shell is used for planned system switchover.
If the -w option is omitted, the hdestop command terminates itself after sending a termination request to the master process (the master process and the command terminate asynchronously).
If the -w option is specified, the hdestop command sends a termination request to the master process, waits until the master process terminates, and then terminates itself (when the command terminates, the master process has already terminated).
The following table shows the permitted combinations of hdestop command options:
hdestop command option -t -e -s -w
-t -- Y Y Y
-e Y -- Y --
-s Y Y -- --
-w Y -- -- --
Y: Permitted combination.
--: Combination not permitted (if executed with this combination, an error message will be issued).

Rules

Notes