Starting an RS secondary server for the first time
After you complete the hardware configuration of the RS secondary server, you are ready to start the RS secondary server and connect it to the primary server.
About this task
Suppose you want to start a primary server and an RS secondary server, ServerA and ServerB. The procedure for starting the servers, using ServerA as the primary database server and ServerB as the RS secondary database server, is described in the following steps. The table ahead lists the commands required to perform each step.
To start a primary server with an RS secondary server:
Procedure
Results
Step | On the primary | On the RS secondary |
---|---|---|
1. | Install UDRs, UDTs, and DataBlade modules. Register UDRs, UDTs, and DataBlade modules. |
Install UDRs, UDTs, and DataBlade modules. |
2. | onmode command onmode -wf LOG_INDEX_BUILDS=1 |
|
3. | onmode command onmode -d add RSS rss_ha_alias password |
|
4. | ontape command ontape -s -L 0 ON-Bar command onbar -b -L 0 |
|
5. | ontape command ontape -p or ontape -p -e Answer no when you are prompted to back up the logs. ON-Bar command onbar -r -p or onbar -r -p -e |
|
6. | onmode command onmode -d RSS primary_ha_alias password 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 7 must be performed). |
|
7. | ontape command ontape -l ON-Bar command onbar -r -l This step is required only when the secondary database server prompts you to recover the logical-log files from the tape backup. |