Cloning Oracle EBS R12.2.7 with Database 19c using (Offline or Snapshot)
The following are the highlevel steps to Clone Oracle EBS R12.2.7 with Database 19c using (Offline or Snapshot).
Steps
to Clone DB:
-
run adpreclone.pl on production DB
-
run adpreclone.pl on production application
-
Downtime starts here for (30 minutes)
-
shutdown the production DB & Application
services
-
Take a snapshot of Production DB and Application
-
Start the production DB and Application services
-
Downtime ends here
-
Prepare a new TEST VM using the Production DB
snapshot with different IP and Hostname
-
Prepare a new TEST VM using the Production
Application snapshot with different IP and Hostname
-
Run perl adclonectx.pl and create DB context
file
-
run adcfgclone.pl and configure the TEST DB
technology stack
-
create listener.ora and tnsnames.ora for the
TEST DB
-
start listener in TEST DB
-
connect to TESTCDB and rename CDB
-
SQL> alter pluggable database
"PROD" close;
-
SQL> alter pluggable database
"PROD" unplug into '/oraprod/oracle/db/19.3.0/dbs/PROD.xml';
-
SQL> drop pluggable database
"PROD";
-
SQL> create pluggable database
"UPG" using '/oraprod/oracle/db/19.3.0/dbs/PROD.xml' NOCOPY
SERVICE_NAME_CONVERT=('ebs_PROD','ebs_UPG','PROD_ebs_patch','UPG_ebs_patch');
-
SQL> alter pluggable database "UPG"
open read write;
-
Restart the TEST DB it should show TEST as PDB
-
Startup PDB and save its state
-
SQL> alter pluggable database all open;
-
Run the library update script against the TEST
DB
-
sqlplus / as sysdba @adupdlib.sql
-
Set the Target UTL_FILE_DIR
-
Run txkCfgUtlfileDir.pl
-
Run adcfgclone.pl to configure TEST DB
-
Restart the TEST DB
-
Restart TEST CDB Listener
-
Check the TEST CDB and PDB status it should be
up and running
Steps
to Clone Application:
-
Configure Target Application Node
-
Run perl adpreclone.pl appsTier
-
Run adautoconfig
Comments
Post a Comment