pdrisedbto (Inherit a database in Real Time SAN Replication)
Function
When Real Time SAN Replication based on the log-only synchronous method is used, the pdrisedbto command terminates the log application site and inherits the database from the transaction execution site.
This command can be executed in an environment in which Real Time SAN Replication based on the log-only synchronous method is being used. For details about Real Time SAN Replication, see the manual HiRDB Version 8 Disaster Recovery System Configuration and Operation Guide.
Executor
Format
Options
Specifies that the database is to be inherited by the remaining units if some units are not running.
When this option is omitted, the database is inherited when all units are running, but is not inherited if any units are not running.
Rules
- Execute the pdrisedbto command at the server machine that contains the single server, or where the system manager is located at the log application site.
- The pdrisedbto command does not terminate until database inheritance is finished. To check the database inheritance status, use the pdls -d ris command.
- When the pdrisedbto command terminates, HiRDB terminates.
Notes
- If some units other than the system manager terminate abnormally for any reason (such as machine down) during database inheritance processing, and if the pdrisedbto command is executed after a restart by the pdstart -l command, the database inheritance can be continued at the units that terminated abnormally.
- When database inheritance processing is executed by this command with the -f option specified while some units are not running, the database is not inherited at the inactive units.
If HiRDB is restarted as a transaction execution site in this status, you must re-create the RDAREAs in the units where the database has not been inherited. To inherit the database at the units that were inactive, restart HiRDB as a log application site.
- While the database is being inherited, the pdstop -l command cannot terminate the log application site.
- After database inheritance by the pdrisedbto command is completed, HiRDB determines its start mode according to the termination mode of the HiRDB that was running as the transaction execution site prior to execution of the pdrisedbto command.
- When the pdrisedbto command is executed, the unit may terminate abnormally with abort code Polkcrt. If this occurs, take appropriate action according to the operating procedure for each site takeover method. For details about which action to take, see the manual HiRDB Version 8 Disaster Recovery System Configuration and Operation Guide.
Output result
As database inheritance processing terminates normally in each unit, the KFPS04686-I message is displayed for each unit. The command's execution result is displayed in the KFPS04691-I message.