HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide
hdestart_n (partially start the source Datareplicator)
The hdestart_n command partially starts the source Datareplicator.
The following table provides an overview of this command's operation:
| -b option | Process to be started | |||
|---|---|---|---|---|
| Extraction master process | Extraction node master process | Extraction process | Transmission process | |
| Omitted | Y#1, #2 | -- | -- | -- |
| Specified | -- | Y#1, #3, #4 | Y#4 | Y#4 |
hdestart_n [ -b server-name -x extraction-master-process's-host-name
-n service-name[ -c initial|continue ][ -r ]]
[ -t wait-time ]
| -n option value | -x option value | Operation |
|---|---|---|
| Service name specified in the mstservice operand in the extraction system definition | Name of the host at which the source Datareplicator is located | The extraction node master process starts at the host specified in the -x option and the host where the hdestart_n command was executed, and this command terminates normally. After that, both extraction node master processes terminate with a communication error. |
| Service name specified in the hdeservice operand in the transmission environment definition | Name of the host at which the target Datareplicator is running | The hdestart_n command terminates normally, and then the extraction node master process terminates with a communication timeout error. The target Datareplicator detects an error during port checking (detail code = 16) and refuses reception. |
| Other | The hdestart_n command terminates normally, and then the extraction node master process terminates with a communication timeout error. | |
| Process | Previous termination status | -c option value | |
|---|---|---|---|
| initial | continue | ||
| Extraction process | continue was specified in the -c option of the hdestop_n command | Started | Started |
| Error termination | Started#1 | ||
| Abnormal termination | |||
| Other | Not started | ||
| Transmission process | continue was specified in the -c option of the hdestop_n command | Started | |
| Error termination | Started#1 | ||
| Abnormal termination | |||
| Other | Not started | ||
| Update-SQL output process | -- | Not started#2 | Not started#2 |
| -b option | Meaning of the -t option's value |
|---|---|
| Specified | Specifies the wait time until the extraction node master process started by the hdestart_n command establishes connection with the extraction master process. If connection cannot be established within the specified amount of time, the extraction node master process terminates with a timeout. |
| Omitted | Specifies the wait time until the extraction master process started by the hdestart_n command establishes connection with an extraction node master process. If connection cannot be established within the specified amount of time, the extraction master process terminates with a timeout. |
Table 7-8 -b option value and operation after execution of the hdestart_n command
| Machine where command is executed | -b option value | Operation after execution of the hdestart_n command | |
|---|---|---|---|
| System manager unit | Current | Omitted | The command starts only the extraction master process, and then terminates itself normally. |
| The specified server does not exist in the source HiRDB. | The command starts the extraction node master process, and then terminates itself normally. The extraction master process outputs a request acceptance error (invalid server name) message, and the extraction node master process terminates with an error. |
||
| The specified server exists in the source HiRDB but not in the system manager unit. | The command starts the extraction node master process, and then terminates itself normally. The corresponding extraction node master process starts, and then terminates with an input/output error on the extraction server status file. |
||
| The specified server exists in the source HiRDB and in the system manager unit. | The command starts only the extraction node master process that corresponds to the specified server, and then terminates itself normally. The extraction node master process starts the extraction and transmission processes. |
||
| Standby | Omitted | The command terminates normally. The extraction master process terminates with an input/output error on the extraction master status file. |
|
| The specified server does not exist in the source HiRDB. | The command starts the extraction node master process, and then terminates itself normally. The extraction master process outputs a request acceptance error (invalid server name) message, and the extraction node master process terminates with an error. |
||
| The specified server exists in the source HiRDB but not in the system manager unit. | The command starts the extraction node master process, and then terminates itself normally. The corresponding extraction node master process starts, and then terminates with an input/output error on the extraction server status file. |
||
| The specified server exists in the source HiRDB and in the system manager unit. | |||
| Non-system manager unit | Current | Omitted | The command terminates with an error because the extraction system definition file cannot be found. |
| The specified server does not exist in the source HiRDB. | The command starts the extraction node master process, and then terminates itself normally. The extraction master process outputs a request acceptance error (invalid server name) message, and the extraction node master process terminates with an error. |
||
| The specified server exists in the source HiRDB but not in the system manager unit. | The command starts the extraction node master process, and then terminates itself normally. When the extraction master process starts and issues a start request to the corresponding extraction node master process, the extraction node master process terminates with an input/output error on the extraction server status file. |
||
| The specified server exists in the source HiRDB and in the system manager unit. | The command starts only the extraction node master process that corresponds to the specified server, and then terminates itself normally. The extraction node master process starts the extraction and transmission processes. |
||
| Standby | Omitted | The command terminates with an error because the extraction system definition file cannot be found. | |
| The specified server does not exist in the source HiRDB. | The command starts the extraction node master process, and then terminates itself normally. The extraction master process outputs a request acceptance error (invalid server name) message, and the extraction node master process terminates with an error. |
||
| The specified server exists in the source HiRDB but not in the system manager unit. | The command starts the extraction node master process, and then terminates itself normally. The corresponding extraction node master process starts, and then terminates with an input/output error on the extraction server status file. | ||
All rights reserved. Copyright (C) 2007, 2013, Hitachi, Ltd.