Background documentationhss_execute Locate this document in the navigation structure

 

Use this command to send a DBM command directly to a standby database.

Do not use this DBM command for change operations, but only to retrieve information about the standby database.

A modifying DBM commands must be sent to the cluster and not to an individual standby database. The cluster software forwards the DBM command to the master database. The master database executes these DBM commands and synchronizes the standby databases if necessary.

Prerequisites

  • You have the server permissions required for the DBM command to be sent.

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

Structure

hss_execute <hs_node> <dbm_command>

Options

Option

Description

<hs_node>

Computer name or IP address of the standby database

<dbm_command>

DBM Command

Result

OK

In the event of errors, see Reply Format.

Example

Call Database Manager CLI, log on as the operator OLEG with the password MONDAY, connect to the database DEMODB on the virtual server HOTEL_VIRTUAL, display the operational state of the standby database on the computer PARMA:

>dbmcli -u OLEG,MONDAY –d DEMODB –n HOTEL_VIRTUAL hss_execute PARMA db_state

OK

State

ONLINE

More Information

Database Administration, Hot Standby