Data Guard Broker utility (DGMGRL) is used to manage the data guard in Oracle. This tool uses the data guard configuration file to manage both physical and standby databases.
/* on node1 */
dgmgrl
CONNECT sys/oracle
CREATE CONFIGURATION dg_conf AS PRIMARY DATABASE IS oradb CONNECT IDENTIFIER IS oradb;
ADD DATABASE oradb_s2 AS CONNECT IDENTIFIER IS oradb_s2;
show configuration;
Observer is a client program that runs on a different computer from the primary and standby database and monitors the availability of the primary database.
start observer;