Background documentationhss_addstandby Locate this document in the navigation structure

 

Use this command to add a standby database to a hot standby system.

Prerequisites

  • You are connected to the database of the hot standby system on the virtual server.

  • The standby database do be created does not exist yet.

  • You have the server permission ParamFull.

Structure

hss_addstandby <hs_node> login=<os_user>,<os_user_password> [path=<installation_path>] [delay=<hs_delay_time>]

Options

Option

Description

<hs_node>

Computer name or IP address of the standby database

<os_user>

Operating system user on the standby computer,

requires administration rights for the computer.

<os_user_password>

Password of the operating system user

<installation_path>

Installation path of the database version-dependent server software on the standby computer

If you do not specify a path, the system uses the database software version of the master database.

<hs_delay_time>

Time delay (in seconds) with which the standby database is to be updated

Result

OK

In the event of errors, see Reply Format.

Example

Call Database Manager CLI, log on to the database DEMODB on the HOTEL_VIRTUAL virtual server as the operator OLEG with the password MONDAY, log on to the computer PARMA as the operating system user ANNA with the password MAY, and add the database on the computer PARMA as a standby database:

>dbmcli –u OLEG,MONDAY –d DEMODB –n HOTEL_VIRTUAL hss_addstandby PARMA login=ANNA,MAY

OK

More Information

Database Administration, Hot Standby