Configuring SQL*Net to Prepare the Primary Instance on the Source Host
Add entries for primary and standby databases in the tnsnames.ora
file, and then save the file.
Example 2-1 Adding Net Services
[oracle @ ora12c-prm ~] $ cd $ ORACLE_HOME / network / admin
[oracle @ ora12c-prm 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 )
)
)
Parent topic: Preparing the Primary Instance on the Source Host