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

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

6.4.1 Handling of extraction processing

This section explains the extraction processing handling procedures.

Organization of this subsection
(1) Starting the source Datareplicator by using the simultaneous start method
(2) Starting the source Datareplicator by using the transmission delay start method
(3) Starting the source Datareplicator by using the extraction delay start method
(4) Restarting only the part of the transmission processing that is in error status
(5) Adding a transmission target for the source Datareplicator

(1) Starting the source Datareplicator by using the simultaneous start method

The simultaneous start method starts both extraction and transmission simultaneously when the source Datareplicator starts. Figure 6-5 shows an example of source Datareplicator operation using the simultaneous start method, and Table 6-1 explains the handling procedure and source Datareplicator processing when the simultaneous start method is used.

Figure 6-5 Example of source Datareplicator operation using the simultaneous start method

[Figure]

Note: The numbers in the figure (1 and 2) correspond to the numbers in the following table.

Table 6-1 Handling procedure and source Datareplicator processing (simultaneous start)

No. Handling procedure Source Datareplicator processing
1 Execute the hdestart command (for an initial startup, execute the hdestart -i and hdeprep commands before executing the hdestart command). The source Datareplicator starts and begins extracting update information from the source HiRDB's system log file and sending it to the target system.
2 --

When true is specified in the syncterm operand:
The source Datareplicator terminates automatically when the source HiRDB terminates normally.

When false is specified in the syncterm operand:
The source Datareplicator does not terminate normally when the source HiRDB terminates normally. If you want to terminate the source Datareplicator while false is specified in the syncterm operand, first check the status with the pdls or hdestate command, and then execute the hdestop command.

Legend:
--: No action is needed.

(2) Starting the source Datareplicator by using the transmission delay start method

The transmission delay start method starts only extraction processing when the source Datareplicator starts and starts transmission processing when start of transmission is requested by the hdestart -s command.

To start the source Datareplicator by using the transmission delay start method:

  1. At the source system, execute the hdestart -e command to start the source Datareplicator.
    Only extraction processing starts.
  2. At the source system, execute the hdestart -s command.
    Transmission processing starts. You can also start transmission processing for a specific destination only by specifying the target identifier in the hdestart -s command.

Figure 6-6 shows an example of source Datareplicator operation using the transmission delay start method, and Table 6-2 explains the handling procedure and source Datareplicator processing when the transmission delay start method is used.

Figure 6-6 Example of source Datareplicator operation using the transmission delay start method

[Figure]

Note: The numbers in the figure (1 through 3) correspond to the numbers in the following table.

Table 6-2 Handling procedure and source Datareplicator processing (transmission delay start)

No. Handling procedure Source Datareplicator processing
1 Execute the hdestart -e command. The source Datareplicator starts and begins extracting update information from the source HiRDB's system log file.
2 Execute the hdestart -s command before the extraction process detects the source HiRDB's normal termination.
If the transmission process is not started before the extraction process detects the source HiRDB's normal termination, update information in the extraction information queue file will not be sent to the target system.
The source Datareplicator starts sending update information to the target system.
3 --

When true is specified in the syncterm operand:
The source Datareplicator terminates automatically when the source HiRDB terminates normally.

When false is specified in the syncterm operand:
The source Datareplicator does not terminate normally when the source HiRDB terminates normally. If you want to terminate the source Datareplicator while false is specified in the syncterm operand, first check the status with the pdls or hdestate command, and then execute the hdestop command.

Legend:
--: No action is needed.

(3) Starting the source Datareplicator by using the extraction delay start method

The extraction delay start method starts only transmission processing when the source Datareplicator starts and starts extraction processing when start of extraction is requested by the hdestart -e command.

To start the source Datareplicator by using the extraction delay start method:

  1. At the source system, execute the hdestart -s command.
    Only transmission processing starts. You can also start transmission processing for a specific destination only by specifying the target identifier in the hdestart -s command.
  2. At the source system, execute the hdestart -e command.
    Extraction processing starts.

Figure 6-7 shows an example of source Datareplicator operation using the extraction delay start method, and Table 6-3 explains the handling procedure and source Datareplicator processing when the extraction delay start method is used.

Figure 6-7 Example of source Datareplicator operation using the extraction delay start method

[Figure]

Note: The numbers in the figure (1 through 3) correspond to the numbers in the following table.

Table 6-3 Handling procedure and source Datareplicator processing (extraction delay start)

No. Handling procedure Source Datareplicator processing
1 Execute the hdestart -s command. The source Datareplicator starts and begins transmitting update information to the target system.
2 Execute the hdestart -e command. The source Datareplicator starts extracting update information from the source HiRDB's system log file.
3 --

When true is specified in the syncterm operand:
The source Datareplicator terminates automatically when the source HiRDB terminates normally.

When false is specified in the syncterm operand:
The source Datareplicator does not terminate normally when the source HiRDB terminates normally. If you want to terminate the source Datareplicator while false is specified in the syncterm operand, first check the status with the pdls or hdestate command, and then execute the hdestop command.

Legend:
--: No action is needed.

(4) Restarting only the part of the transmission processing that is in error status

To restart only the part of the transmission processing that is in error status:

  1. At the source system, execute the hdestate command to check the transmission processing that is in error status.
  2. At the source system, enter the hdestate -s command specifying the target identifier of the transmission processing in error status in order to determine the reason for the error.
  3. Eliminate the cause of the error, and then execute the hdestart -s command specifying the target identifier of the transmission processing that is to be started.
    The transmission processing with the specified target identifier starts, inheriting the previous mode.

(5) Adding a transmission target for the source Datareplicator

To add a transmission target, you must terminate data linkage, and then change the source or target Datareplicator definition. The transmission target whose definition has been changed must be initialized, but you can also execute partial initialization.

For details about how to add a transmission target, see 6.5.6 Source HiRDB handling procedure.