Nonstop Database, HiRDB Version 9 System Operation Guide

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

9.12.2 Moving the time back using method 1

To move the time back using method 1, follow the procedure described below.

Procedure
[Figure]
Note
The numbers on the left side of the process boxes correspond to the parenthesized numbers in the explanations below. For example, the operation in 3 is explained in (3).
Organization of this subsection
(1) Terminate HiRDB normally
(2) Actions to take when the data extraction facility of HiRDB Datareplicator is used (Part 1)
(3) Move back the system time
(4) Wait until the time arrives at which HiRDB was normally terminated
(5) Start HiRDB normally
(6) Actions to take when the data extraction facility of HiRDB Datareplicator is used (Part 2)
(7) Actions to take when operation without unloading system logs is used

(1) Terminate HiRDB normally

Execute the pdstop command to terminate HiRDB normally.

(2) Actions to take when the data extraction facility of HiRDB Datareplicator is used (Part 1)

Take the actions described below. Actions (b) and (c) can be taken in any order. For details about the HiRDB Datareplicator commands, see the HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide.

(a) After HiRDB Datareplicator has extracted all system logs, wait for all the extracted system logs to be reflected onto the target database

For details about how to check whether all system logs have been extracted and whether all system logs have been reflected, see Modifying the Configuration of the Source System in the HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide.

(b) Stop the data extraction facility of HiRDB Datareplicator

Execute the hdestop command to stop the data extraction facility of HiRDB Datareplicator.

(c) Stop the target Datareplicator

Stop the target Datareplicator. If the target Datareplicator is HiRDB Datareplicator, use the hdsstop command to stop it.

(3) Move back the system time

Move back the time in the OS settings. In the case of a HiRDB parallel server configuration, if the time differs among the individual server machines, certain tasks such as comparing messages become complicated. Therefore, synchronize the time among the server machines.

(4) Wait until the time arrives at which HiRDB was normally terminated

Wait for the amount of time by which the time was moved back (for example, 1 hour if the time was moved back by 1 hour).

(5) Start HiRDB normally

Use the pdstart command to start HiRDB normally.

(6) Actions to take when the data extraction facility of HiRDB Datareplicator is used (Part 2)

Take the actions described below. Actions (a) and (b) can be taken in any order.

(a) Start the data extraction facility of HiRDB Datareplicator

Execute the hdestart command to start the data extraction facility of HiRDB Datareplicator, which was stopped in Step (2) (b) above.

(b) Start the target Datareplicator

Start the target Datareplicator, which was stopped in Step (2) (c) above. If the target Datareplicator is HiRDB Datareplicator, use the hdsstart command to start it.

(7) Actions to take when operation without unloading system logs is used

To acquire a log point, execute the database copy utility (pdcopy) with the -z option specified and acquire backups of all RDAREAs. To acquire backups of all RDAREAs in a HiRDB parallel server configuration, you must execute the pdcopy command with the -z option specified on each server.