Starting HDR for the First Time
About this task
After you complete the HDR configuration, you are ready to start HDR. This topic describes the necessary steps for starting HDR.
To start HDR:
Procedure
Results
The following table illustrates the preceding steps so that you can clearly determine which steps are performed on the primary server and which are performed on the secondary server. The table also shows information written to the log file after each step is performed.
Step | On the primary (ServerA) | On the secondary (ServerB) |
---|---|---|
1. | Install UDRs, UDTs, and DataBlade modules. Register UDRs, UDTs, and DataBlade modules. |
Install UDRs, UDTs, and DataBlade modules. |
2. | ontape command: Run ontape -s -L 0 ON-Bar command :Run onbar -b -L 0Messages to message log:
|
|
3. | onmode command onmode -d primary sec_name Messages to message log:
|
|
4. | ontape command Run ontape -p or ontape -p -e Answer ON-Bar command Run onbar -r -p or onbar -r -p -e Messages to message log:
|
|
5. | Run onmode -d secondary prim_name Messages to message log:
If all the logical-log records written to the primary database server since step 1 still are located on the primary database server disk, the secondary database server reads these records to perform logical recovery. (Otherwise, step 6 must be performed). |
|
Messages to message log:
|
Messages to message log:
|
|
6. | ontape command ontape -l ON-Bar command onbar -r -l |
|
Messages to message log:
|
Messages to message log:
|