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.
You want to start HDR on two database servers, ServerA and ServerB. The procedure for starting HDR, using ServerA as the primary database server and ServerB as the secondary database server, is described in the following steps. The following table lists the commands required to perform each step and the messages sent to the message log. You can use ON-Bar to perform the backup and restore. You must use the same utility throughout the procedure.You can also set up HDR using external backup and restore. See the HCL OneDB™ Backup and Restore Guide for information about how to perform an external backup and restore. See Decrease setup time using the ontape STDIO feature for the quickest way to set up your HDR secondary directly from the HDR primary.
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. |
3. | onmode command onmode -d primary sec_name 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:
|
|
Messages to message log:
|
Messages to message log:
|