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

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

hdsstop (terminate the target Datareplicator)

Function

The hdsstop command terminates the target Datareplicator.

Format
hdsstop [ -t { event|immediate|force }|-q wait-time ]
        [ -w ]

Options

-t { event|immediate|force }
-t event
Specify this option to execute event termination.
-t immediate
Specify this option to execute immediate termination.
-t force
Specify this option to execute forced termination.

-q wait-time
~ <unsigned integer> ((5-600)) (seconds)
To terminate the reception process, and then terminate the target Datareplicator after importing all the data that has been received, specify this option with a reception process termination wait time.
Use this parameter only if the reception process cannot detect a line disconnection due to power failure or communications line failure at the source system, or if you want to forcibly execute normal termination on the target Datareplicator in order to achieve planned system switchover. Do not specify this option with the shell during normal operation (that is, when a transmission completion message is sent from the source system and the target Datareplicator is to be terminated after importing all the data that has been transmitted). Once you execute the hdsstop command with the -q option specified, you cannot specify any option other than -t force in any subsequent issuance of the hdsstop command.
Note, however, that, in any specific hdsstop command issuance, this parameter and the -t option are mutually exclusive.

-w
Specify this option to cause hdsstop command processing not to terminate after it sends a termination request to the target Datareplicator's master process (hdsmaster) until after hdsmaster 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 hdsstop 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 hdsstop 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).

Rules

Notes