Backing up an Oracle Data Guard environment

Therefore either adds a new identifier to both tnsnames configuration files or uses an exiting one and
make sure that it exists on both systems and always points to the LOCAL instance. Use this new
identifier for your Data Protector / Oracle Integration configuration like shown in Figure 3.
Example:
On your standby system (oracle1 in our example) add a <SID>_DP to your tnsnames configuration file
(DG1_DP) that is located under:
$ORACLE_HOME/network/admin/tnsnames (UNIX)
%ORACLE_HOME%\network\admin\tnsnames (WINDOWS)
DG1_DP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DG1)
)
)
Now add the same entry to your primary system tnsnames file (oracle2 in our example)
DG1_DP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DG1)
)
)
Verify with Oracle’s tnsping utility the correct resolving on both systems.
oracle@oracle2[DG1] tnsping DG1_DP
TNS Ping Utility for HPUX: Version 10.1.0.3.0 - Production on 13-MAY-2005 09:07:24
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/10.1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle2)(PORT =
1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DG1)))
OK (0 msec)
CAUTION
It is not possible to check the successful configuration of the Data Protector
/Standby database integration using the CLI (util_oracle8.exe –CONFIG) or the
GUI (Select “Check configuration” after right mouse click on the Oracle object in
the Backup – Source window). An error similar to Figure 6 will return, because
Data Protector is unable to query the dba_tablespaces view if the selected
database is in status “Mount”. The command works fine for the Primary database.
8