Documente Academic
Documente Profesional
Documente Cultură
Oracle Data Guard ensures high availability, data protection, and disaster
recovery for enterprise data. Data Guard provides a comprehensive set of
services that create, maintain, manage, and monitor one or more standby
databases to enable production Oracle databases to survive disasters and data
corruptions.
1.1. Purpose
This document provides step by step instruction on Oracle 11GR2 Data guard
set up and configuration.
1.2. Audience
This document is intended for personnel involved in installing, configuring and
maintaining the Oracle 11g Dataguard. This document does not describe any
customization of the Oracle 11g Dataguard, or other applications(s) (e.g., web
servers and databases), that may be required for an individual customer. Such
customization is outside the scope of this document.
In this document, the datafiles, log files, and control files on the primary
and standby systems should have the same names and path names and
use Optimal Flexible Architecture (OFA) naming conventions.
In all configurations, the Oracle 11g Data Guard will be installed with the
following default settings:
Default Setting Type Initial Default Setting Value
User login name Oracle, root
User group dba, oinstall, oper
User login password Oracle
ORACLE_HOME /u00/app/oracle/product/11.2.0.2/database
Oracle_base /u00/app/oracle
Install directory /u00/app/oracle
Oracle 11g listener port 1521
Requires 8 GB disk space file systems /u00 which used for Oracle
software installation and at least 4 GB disk space for other four used for
data file installation. The following is the recommended file system
configuration.
Recommended:
/u00 8 GB
/u01 4 GB
/u02 4 GB
/u03 4 GB
/u04 4 GB
1. Oracle recommends using the same hardware platform for both primary and
standby servers.
2. The hardware between the primary and standby system should have the
same number of CPUs, memory size, storage configuration. If the standby
system is smaller than the primary system, you may have to restrict the work
that can be done on the standby system after a switchover or failover. The
standby system must have enough resources available to receive and apply
all redo data from the primary database
3. Differences between the primary server(s) and the standby server(s) are
permitted as long as the Oracle software installed on all servers is of the
same Oracle Platform as defined in metalink ID 413484.1, and is certified to
run on each server. Examples of such differences that are supported include
the following:
Note:
The same Oracle Platform is defined as Oracle software installed from the
same Oracle installation, and having the same PLATFORM_ID.
PLATFORM_ID PLATFORM_NAME
----------- -----------------------------------
13 Linux 64-bit for AMD
3. Certification Environment
Following are the assumptions for this data guard configuration, update the
configuration according to your system requirement:
Primary server:
hostname: c3806z244101
DB_NAME: TEST
DB_UNIQUE_NAME: TEST
SERVICE_NAMES: TEST
Standby server:
hostname: c3806z244102
DB_NAME: TEST
DB_UNIQUE_NAME: TESTSBY1
SERVICE_NAMES: TESTSBY1
$ cat /etc/hosts
localhost
# Oracle VIP
135.25.244.29 oraVIPL
#Dataguard VIP
135.25.244.41 oraDGVIP
It is recommend to open two window, one for primary server, the other for
standby server.
$ su - root
$ passwd oracle (enter password for oracle)
$ su - oracle
$ mkdir ~/.ssh
$ chmod 755 ~/.ssh
$ /usr/bin/ssh-keygen -t rsa (press Enter to accept the default)
NOTE: If this is a VCS Cluster with Data Guard configuration you need
to setup ssh on the secondary VCS server.
$ su - root
$ passwd oracle (enter password for oracle)
$ su - oracle
$ mkdir ~/.ssh
$ chmod 755 ~/.ssh
$ /usr/bin/ssh-keygen -t rsa (press Enter to accept the default)
Generating public/private rsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/oracle/.ssh/id_rsa.
Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.
The key fingerprint is:
30:90:6c:dd:d4:9a:92:78:4f:93:e5:c2:2b:65:8f:41 oracle@D5L5805-225-
101
$ su - root
$ passwd oracle
$ su - oracle
$ mkdir ~/.ssh
$ chmod 755 ~/.ssh
$ /usr/bin/ssh-keygen -t rsa (press Enter to accept the default)
$ /usr/bin/ssh-keygen -t dsa (press Enter to accept the default)
Copy keys
From standby server, login as user oracle issue the following command:
From standby server, login as user oracle issue the following command:
On Primary:
$ hostname
D5L5805-225-100
D5l5855-225-185
On standby server
$ hostname
D5l5855-225-185
D5L5805-225-100
On secondary server
$ hostname
D5L5805-225-101
D5l5855-225-185
On standby server
$ hostname
D5l5855-225-185
$ sqlplus / as sysdba
SQL> select name from v$database;
NAME
---------
TEST
$ cd $ORACLE_HOME/dbs
$ orapwd file=orapwTEST password=oracle force=y
A force logging might take a while to complete because it waits for all
unlogged direct I/O operations to finish
SQL> select FORCE_LOGGING from v$database;
FOR
---
NO
Database altered.
FOR
---
YES
Create standby redo logs on the primary database to support the standby
role. The standby redo logs must be at least as large as the largest redo log
file as the primary database online logs.
The recommended number of standby redo logs is one more than the
number of online redo logs for each thread.
Perform the following query to determine the size of each log file and
the number of log groups in the redo log:
SQL> select group#, substr(member, 1,40) member from
v$logfile;
GROUP# MEMBER
---------- ----------------------------------------
3 /u04/oradata/TEST/redo03.log
2 /u04/oradata/TEST/redo02.log
1 /u04/oradata/TEST/redo01.log
7 rows selected.
4.3.5. Enable Archiving
Create pfile from spfile on primary database. This pfile can be copied to
standby location and modified.
/FORMAT:
$ cd $ORACLE_HOME/dbs
$ cp initTEST_P.ora /tmp/initTEST.ora
$ cat /tmp/initTEST.ora
Original init file
$ cat /tmp/initTEST.ora
TEST.__db_cache_size=16777216
TEST.__java_pool_size=29360128
TEST.__large_pool_size=4194304
TEST.__shared_pool_size=109051904
TEST.__streams_pool_size=0
*.audit_file_dest='/u00/app/oracle/admin/TEST/adump'
*.background_dump_dest='/u00/app/oracle/admin/TEST/bdump'
*.compatible='11.2.0.2.0'
*.control_files='/u01/oradata/TEST/control01.ctl','/u02/oradata/
TEST/control02.ctl','/u03/oradata/TEST/control03.ctl'
*.core_dump_dest='/u00/app/oracle/admin/TEST/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='TEST'
*.db_recovery_file_dest='/u04/flash_recovery_area/TEST'
*.db_recovery_file_dest_size=2147483648
*.dispatchers='(PROTOCOL=TCP) (SERVICE=TESTXDB)'
*.log_archive_dest=’/u04/arch/TEST’
*.log_archive_format=’log%t_%s_%r.arc’
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=199229440
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u00/app/oracle/admin/TEST/udump'
Note:
*.log_archive_dest='/u04/arch/TEST'
$ vi /tmp/initTEST.ora
………..
DB_UNIQUE_NAME=’TEST’
LOG_ARCHIVE_CONFIG='DG_CONFIG=(TEST,TESTSBY1)'
LOG_ARCHIVE_DEST_1=
'LOCATION=/u04/arch/TEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test'
LOG_ARCHIVE_DEST_2=
'SERVICE=testsby1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=testsby1'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=ENABLE
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=testsby1
FAL_CLIENT=TEST
STANDBY_FILE_MANAGEMENT=AUTO
local_listener='(address=(protocol=tcp)(host=135.25.244.29)(port=1521))'
Note: host is ip address of the primary cluster vip which can be found
In /etc/hosts file.
Note:
If LOG_ARCHIVE_FORMAT=%t_%s_%r.arc does not exist in original
init file, add the following to the initTEST file.
LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
$ mkdir -p /u04/arch/TEST
$ sqlplus / as sysdba
SQL> shutdown immediate;
SQL> startup nomount pfile=/tmp/initTEST.ora
SQL> create spfile from pfile=’tmp/initTEST.ora’;
SQL> shutdown immediate;
ORA-01507: database not mounted
SQL> startup;
$cd /tmp
$cat initTESTSBY1.ora
TEST.__db_cache_size=16777216
TEST.__java_pool_size=29360128
TEST.__large_pool_size=4194304
TEST.__shared_pool_size=109051904
TEST.__streams_pool_size=0
*.audit_file_dest='/u00/app/oracle/admin/TEST/adump'
*.background_dump_dest='/u00/app/oracle/admin/TEST/bdump'
*.compatible='11.2.0.2.0'
*.control_files='/u01/oradata/TEST/control01.ctl','/u02/oradata/T
EST/control02.ctl','/u03/oradata/TEST/control03.ctl'
*.core_dump_dest='/u00/app/oracle/admin/TEST/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='TEST'
*.db_recovery_file_dest='/u04/flash_recovery_area/TEST'
*.db_recovery_file_dest_size=2147483648
*.DB_UNIQUE_NAME='TEST'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=TESTXDB)'
*.FAL_CLIENT='TEST'
*.FAL_SERVER='testsby1'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(TEST,TESTSBY1)'
*.LOG_ARCHIVE_DEST_1='LOCATION=/u04/arch/TEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test'
*.LOG_ARCHIVE_DEST_2='SERVICE=testsby1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=testsby1'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.LOG_ARCHIVE_MAX_PROCESSES=30
*.open_cursors=300
*.pga_aggregate_target=199229440
*.processes=150
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sga_target=167772160
*.standby_file_management='auto'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u00/app/oracle/admin/TEST/udump'
*.LOG_ARCHIVE_DEST_1='LOCATION=/u04/arch/TEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test'
local_listener='(address=(protocol=tcp)(host=135.25.244.29)(port=1521))'
After
*.DB_UNIQUE_NAME=TESTSBY1
*.LOG_ARCHIVE_DEST_1='LOCATION=/u04/arch/TEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=testsby1'
local_listener='(address=(protocol=tcp)(host= D5l5855-225-185)(port=1521))'
NAME
---------------------------------------------------------
/u01/oradata/TEST/system01.dbf
/u01/oradata/TEST/sysaux01.dbf
/u01/oradata/TEST/undotbs01.dbf
/u02/oradata/TEST/users01.dbf
7 rows selected.
NAME
---------------------------------------------------
/u01/oradata/TEST/control01.ctl
/u02/oradata/TEST/control02.ctl
/u03/oradata/TEST/control03.ctl
Shutdown the primary database and copy all the datafiles, log files
returned in above query to standby location
NOTE: Freeze the Veritas Cluster first.
hagrp -freeze <group> -persistent
On primary server
# su - root
# mkdir /export/stdby
# chown oracle:dba /export/stdby
$ cp /u01/oradata/TEST/system01.dbf /export/stdby
$ cp /u01/oradata/TEST/sysaux01.dbf /export/stdby
$ cp /u01/oradata/TEST/undotbs01.dbf /export/stdby
$ cp /u02/oradata/TEST/users01.dbf /export/stdby
$ cp /u04/oradata/TEST/redo03.log /export/stdby
$ cp /u04/oradata/TEST/redo02.log /export/stdby
$ cp /u04/oradata/TEST/redo01.log /export/stdby
$ cp /u04/oradata/TEST/slog01.log /export/stdby
$ cp /u04/oradata/TEST/slog02.log /export/stdby
$ cp /u04/oradata/TEST/slog03.log /export/stdby
$ cp /u04/oradata/TEST/slog04.log /export/stdby
$ cp /u03/oradata/TEST/temp01.dbf /export/stdby
Copy the init and password file from Primary to Standby location
$ cp $ORACLE_HOME/dbs/initTESTSBY1.ora /export/stdby
$ cp $ORACLE_HOME/dbs/orapwTEST /export/stdby
Issue the following command on primary database to create control file for
the standby database.
$ sqlplus / as sysdba
SQL> startup mount (If database is not up)
ORACLE instance started.
Database altered.
Login standby server, copy datafiles, log files, control files, pfile and
password file created in step above to the standby server.
# su - root
# mkdir /export/stdby
# chown oracle:dba /export/stdby
# su - oracle
# cd /export/stdby
$ mkdir -p /u04/flash_recovery_area/TEST
$ mkdir -p /u04/arch/TEST
$ mkdir -p /u00/app/oracle/admin/TEST/adump
$ cd /export/stdby
$ cp system01.dbf /u01/oradata/TEST
$ cp sysaux01.dbf /u01/oradata/TEST
$ cp undotbs01.dbf /u01/oradata/TEST
$ cp users01.dbf /u02/oradata/TEST
$ cp temp01.dbf /u03/oradata/TEST
$ cp redo03.log /u04/oradata/TEST
$ cp redo02.log /u04/oradata/TEST
$ cp redo01.log /u04/oradata/TEST
$ cp slog01.log /u04/oradata/TEST
$ cp slog02.log /u04/oradata/TEST
$ cp slog03.log /u04/oradata/TEST
$ cp slog04.log /u04/oradata/TEST
$ cp control_stdby11g.ctl /u01/oradata/TEST/control01.ctl
$ cp control_stdby11g.ctl /u02/oradata/TEST/control02.ctl
$ cp control_stdby11g.ctl /u03/oradata/TEST/control03.ctl
$ cp initTESTSBY1.ora $ORACLE_HOME/dbs
$ cp orapwTEST $ORACLE_HOME/dbs
4.4.5. Configure listeners & tnsnames for both primary and standby
database
On primary server
$ cd $ORACLE_HOME/network/admin
$ vi listener.ora
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraVIPL)(PORT = 1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
)
$ vi tnsnames.ora
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraVIPL)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TEST)
)
)
TESTSBY1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = D5l5855-225-185)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TESTSBY1)
)
)
On standby server
$ cd $ORACLE_HOME/network/admin
$ vi listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = TESTSBY1)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(SID_NAME = TEST)
)
(SID_DESC =
(SERVICE_NAME= TESTSBY1_XPT)
(SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = D5l5855-225-185)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
$ vi tnsnames.ora
TESTSBY1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = D5l5855-225-185)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TESTSBY1)
)
)
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraVIPL)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = TEST)
)
)
$ lsnrctl stop
$ lsnrctl start
$ tnsping TEST
$ tnsping TESTSBY1
$ ORACLE_HOME=/u00/app/oracle/product/11.2.0.2/database
$ Export ORACLE_HOME
$ ORACLE_SID=TEST
$export ORACLE_SID
$ su - root
# vi /etc/oratab
TEST:/u00/app/oracle/product/11.2.0.2/database:N
# chown oracle:dba /etc/oratab
# chmod 755 /etc/oratab
$ su - oracle
$ sqlplus / as sysdba
$ SQL> startup nomount pfile=’$ORACLE_HOME/dbs/initTESTSBY1.ora’;
NAME
---------
TEST
DATABASE_ROLE
----------------
PHYSICAL STANDBY
On the primary database, issue the statement to force a log switch and
archive the current online redo log file group
$ sqlplus / as sysdba
SQL> startup
SQL> SELECT DATABASE_ROLE FROM V$DATABASE;
DATABASE_ROLE
----------------
PRIMARY
The archived redo log files are now available to be applied to the physical
standby database.
SEQUENCE# APP
---------- ---
11 NO
10 NO
12 NO
13 NO
To start log apply services on a physical standby database, ensure the physical standby
database is started and mounted and then start Redo Apply using the SQL ALTER
DATABASE RECOVER MANAGED STANDBY DATABASE statement.
You can specify that Redo Apply runs as a foreground session or as a background
process, and enable it with real-time apply.
To start Redo Apply in the foreground, issue the following SQL statement:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
If you start a foreground session, control is not returned to the command prompt
until recovery is canceled by another session.
To start Redo Apply in the background, include the DISCONNECT keyword on the
SQL statement. For example:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
This statement starts a detached server process and immediately returns control to
the user. While the managed recovery process is performing recovery in the
background, the foreground process that issued the RECOVER statement can
continue performing other tasks. This does not disconnect the current SQL
session.
To start real-time apply, include the USING CURRENT LOGFILE clause on the SQL
statement. For example:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING
CURRENT LOGFILE;
4.6.1. Stopping Redo Apply
To stop Redo Apply, issue the following SQL statement in another window:
To turn on the Active Guard option is to open the database in read only mode
and to start the Redo Apply process
On the Standby:
SQL> select 'Active Data Guard is Enabled' adg from v$managed_standby a, v$database b
where a.process like 'MRP%' and b.open_mode='READ ONLY';
no rows selected
If the query returns with a result the “Active Guard is enabled” then the Active
Guard is enabled.
If the query returns with “no rows selected” then the Active Data Guard is not
enabled. Follow the steps below to turn on the active data guard.
sql> startup
SQL> select 'Active Data Guard is Enabled' adg from v$managed_standby a, v$database b
where a.process like 'MRP%' and b.open_mode='READ ONLY';
ADG
----------------------------
Active Data Guard is Enabled
$ . oraenv
$ sqlplus / as sysdba
SQL> show parameter dg_broker_start
$ cd $ORACLE_HOME/network/admin
$ vi listener.ora
On Primary server
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = TEST)
(SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
(SID_DESC =
(GLOBAL_DBNAME = TEST_DGMGRL)
(SERVICE_NAME= TEST) (SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraVIPL)(PORT = 1521))
)
)
On standby server
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = TESTSBY1)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
(SID_NAME = TEST)
)
(SID_DESC =
(GLOBAL_DBNAME = TESTSBY1_DGMGRL)
(SERVICE_NAME= TESTSBY1) (SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
(SID_DESC =
(SERVICE_NAME= TESTSBY1_XPT)
(SID_NAME = TEST)
(ORACLE_HOME = /u00/app/oracle/product/11.2.0.2/database)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = D5l5855-225-185) (PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
$ lsnrctl reload
1. The broker configuration files are automatically created when the broker is
started using ALTER SYSTEM SET DG_BROKER_START=TRUE.
On Primary:
On Standby:
# su - oracle
$ dgmgrl
DGMGRL for Linux: Version 11.2.0.2.0 - 64bit Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Configuration
Name: DGCONFIG1
Enabled: NO
Protection Mode: MaxPerformance
Databases:
TEST - Primary database
Configuration
Name: DGCONFIG1
Enabled: NO
Protection Mode: MaxPerformance
Databases:
TEST - Primary database
testsby1 - Physical standby database
Configuration
Name: DGCONFIG1
Enabled: YES
Protection Mode: MaxPerformance
Databases:
TEST - Primary database
testsby1 - Physical standby database
DGMGRL>connect sys/oracle@test
3. On the primary disable any archive destinations that are archiving to the
standby:
SQL> select dest_id,destination,status
from v$archive_dest
where target='STANDBY';
5. Drop old broker configuration files from both primary and standby:
On primary
If files are on ASM:
On UNIX
$cd $ORACLE_HOME/dbs
$ rm dr1TEST.dat
$ rm dr2TEST.dat
On standby
If files are on ASM:
On UNIX
$cd $ORACLE_HOME/dbs
$ rm dr1TESTSBY1.dat
$ rm dr2TESTSBY1.dat
6. APPENDIX A: Glossary & Acronyms
ACRONYM DEFINITION