You add a standby instance to a hot standby system.
See also:
Concepts of the Database System, Hot Standby
· You are connected to the database instance of the hot standby system on the virtual server.
· The database instance you wish to add has the same name as the master instance.
· The database instance you wish to add is in the operational state ONLINE.
· You have the server authorization ParamFull.
hss_addstandby <hs_node> login=<os_user>,<os_user_password> [path=<dependent_path>] [delay=<hs_delay_time>]
Options
Option |
Description |
<hs_node> |
Computer name or IP address of the standby instance |
<os_user> |
Operating system user on the standby computer; must have administration rights for the computer. |
<os_user_password> |
Operating system user’s password |
<dependent_path> |
Installation path of the database version-dependent server software on the
standby computer. |
<hs_delay_time> |
Time delay (in seconds) with which the standby instance is to be updated |
OK
Logging on to the Database Manager CLI as operator OLEG with password MONDAY, connecting to the DEMODB database instance on the virtual server HOTEL_VIRTUAL. Logging on the computer PARMA as operating system user ANNA with password MAY and adding the database instance on computer PARMA as the standby instance.
>dbmcli –u OLEG,MONDAY –d DEMODB –n HOTEL_VIRTUAL hss_addstandby PARMA login=ANNA,MAY
OK