step by step configure oracle data guard
step by step configure oracle data guard
Environment:
Primary: 192.168.100.54
Sid= orcl
Standby: 192.168.100.52
Sid=orcldr
Database altered.
Database altered.
FORCE_LOGGING LOG_MODE
————————————— ————
YES ARCHIVELOG
Database altered.
Database altered.
Database altered.
orcldr =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.100.52)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcldr)
)
)
Listener Entry:-
************
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/19.0.0/ dbhome_1)
(SID_NAME = orcl)
)
(SID_DESC =
(GLOBAL_DBNAME = orcldr)
(ORACLE_HOME = /u01/app/oracle/product/19.0.0/dbhome_1)
(SID_NAME = orcldr)
)
)
Now check with ping that both nodes tns are connected or not
$ tnsping orcl
$ tnsping orcldr
Step5:-Copy password file from primary to standby
$ scp orapworcl oracle@orcldr:$ORACLE_HOME/dbs
System altered.
System altered.