Configuring SQL*Net to Prepare the Auxiliary Instance on the Destination Host
Add entries for primary and standby databases in tnsnames.ora
, and then save the file.
Example 3-4 Adding Net Services
[oracle @ ora12c-dup ~] $ cd $ ORACLE_HOME / network / admin
[oracle @ ora12c-dup admin] $ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/12.2.0/dbhome/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
DUPDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = ora12c-dup) (PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = dupdb )
)
)
PRMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ora12c-prm.localdomain) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prmdb )
)
)