Scenario: Hot-backup environment

In this scenario, the remote journaling environment uses a hot-backup application that causes JKLINT2 to replace JKLINT in the case that JKLINT has a failure.

A hot-backup application typically performs the following:

  1. If the primary system fails, it performs a switch-over to the backup system. This function then logically promotes the backup system to assume the role of the primary system.
  2. After the failed primary system is restarted, it performs a switch-back operation so that the primary system can again assume the role of the primary system.

A hot-backup application apply defines the part of a hot-backup application that actually performs the replay operations to the data replica. This usually occurs on the backup system when maintaining a data replica.

The following figure describes a typical remote journal environment that is used for hot-backup purposes. The following occurs in this illustration:

Typical hot-backup environment with remote journal function


Typical hot-backup environment with remote journal function

How to establish the hot-backup environment

The steps to establish a hot-backup environment the are the same as establishing data replication environment except for this additional last step:

Sharon also establishes a remote journal JKLINT that is associated with the local journal that she creates on JKLINT2. This remote journal receives or retrieves the journaled changes that are made when JKLINT2 assumes the role of the primary system. This local journal and remote journal pair will only be used when replicating changes back to the original data. During normal run-time processing, the remote journal, JLB2/JRN, that is defined on JKLINT is not active. When it is not active, it is not receiving or retrieving journal entries from the local journal, JLB1/JRN, on JKLINT2.

Normal run-time environment for the hot-backup environment

The details for run-time environment for the hot-backup environment is the same as the data replication environment.

Hot-backup recovery if JKLINT fails

If you use a hot-backup application where the logical ownership of the data is given to JKLINT2, recovery is more complicated. In this case, the hot-backup application logically promotes JKLINT to assume the role of the primary system. Recovery is more complicated because after JKLINT has completed its IPL, the remote journal function catch-up phase from the local journal on system JKLINT to the remote journal on system JKLINT2 will always allow a resynchronization of the two sets of data.

Data resynchronization is recovery processing that is performed during switch-back processing by a hot-backup application apply. This processing ensures that the original data is consistent with the data replica, and contains all the correct changes. The main objective of this, besides assuring data consistency, is to eliminate re-priming the original data from the data replica.

For details on recovering a hot-backup environment see Scenario: Recovery for remote journaling.

Related information
Scenario: Data replication environment for remote journals
Scenario: Recovery for remote journaling