Login  Register

PDB service not pingable after db tier cloning and configuration

classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

PDB service not pingable after db tier cloning and configuration

VinodN
102 posts
Hello Erman,

During rapidclone procedure, after completion of db tier cloning and config (as per 2552208.1, till step 4.1.8), tnsping PDB_SID fails with could not resolve error (sourced CDB env file). After manually adding the tns entry from network/admin/CONTEXT_NAME/tnsnames.ora in network/admin/tnsnames.ora, tnsping is successful. Is this expected behaviour or something is wrong?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: PDB service not pingable after db tier cloning and configuration

ErmanArslansOracleBlog
Administrator
5727 posts
Hi,

tnsnames generation is in the later steps ... ->

Here;

4.2.8 Create the listener.ora and tnsnames.ora Files for the Target CDB
Create the listener.ora and tnsnames.ora files for the target CDB by running the following commands:

$ cd <ORACLE_HOME>/appsutil
$ source ./txkSetCfgCDB.env -dboraclehome=<ORACLE_HOME>
$ cd <ORACLE_HOME>/appsutil/bin
$ perl txkGenCDBTnsAdmin.pl -dboraclehome=<ORACLE_HOME> -cdbname=<Name of the target container database> \
-cdbsid=<SID of the target container database> -dbport=<Target DB port> -outdir=$ORACLE_HOME/appsutil/log \
-israc=<yes/no> [-virtualhostname=<virtual hostname>]