DB Tier Cloning: Oracle EBS R12.2.6 Cloning With Step by Step
DB Tier Cloning: Oracle EBS R12.2.6 Cloning With Step by Step
DB Tier Cloning: Oracle EBS R12.2.6 Cloning With Step by Step
DB Tier Cloning
1. Prepare source node for Cloning
cd /u02/oracle/CRP/fs1/inst/apps/CRP_qb/admin/scripts
Version 12.2
Running perl
/u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisi onEBS.pl
ebs-get-serverstatus -
contextfile=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat//appl/admin/
/UAT_qb.xml -servername=AdminServer -promptmsg=hide
Running:
perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl
java=/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64 mode=stage
stage=/u01/oracle/UAT/fs1/EBSapps/comn /clone component=appsTier method
appctx=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat/appl/admin/UAT_qb.xml
showProgress
/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64/bin/java-Xmx600M-
DCONTEXT_VALIDATED_ =false-Doracle.installer.oui_loc=/oui-classpath
/lib/xmlparserv2.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/oracle/UAT/fs1/EBSapps/comn/java/classes:/u01/oracle/UAT/fs1/F
-stage /u01/oracle/UAT/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM -
showProgress -nopromptmsg
\ 20% completed
Completed Stage...
Thu Apr 6 12:59:21 2017
[appluat@qb scripts]$
[appluat@qb ]$ cd $ADMIN_SCRIPTS_HOME
[appluat@qb scripts]$ sh adstpall.sh
Database:
Version 12.2
Provide the values required for creation of the new Database Context file.
Do you want the target system to have the same port values as the source
system (y/n) [y] ? : n
/u01/oracle/UAT/12.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -
DCONTEXT_VALIDATED=true -
Doracle.installer.oui_loc=/u01/oracle/UAT/12.1.0/oui -classpath
/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/12.1.0/appsutil/clone/jlib/
oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/UAT/
12.1.0/appsutil/UAT_qb.xml -stage /u01/oracle/UAT/12.1.0/appsutil/clone
-showProgress
APPS Password : Log file located at /u01/oracle/UAT/12.1.0/appsutil/log/UAT_qb
/ApplyDBTier_04061016.log
\ 15% completed
Completed Apply...
Thu Apr 6 10:20:54 2017
Starting database listener for UAT:
Running:
/u01/oracle/UAT/12.1.0/appsutil/scripts/UAT_qb/addlnctl.sh start UAT
Logfile: /u01/oracle/UAT/12.1.0/appsutil/log/UAT_qb/addlnctl.txt
Do you want to change the password for all EBS Schemas? (y/n) [n]) :
Do you want to change the password for sysadmin user? (y/n) [n]) :
Do you want to change the sys and system passwords? (y/n) [n]) :
+==============================================+
Copyright (c) 2005, 2016 Oracle and/or its affiliates.
All rights reserved.
Oracle E-Business Suite Release 12.2
Database EBS Technology Codelevel Checker
+==============================================+
Connecting to database.
Database connection successful.
1. Copy EBSapps directory from source to target (no need to copy FMW_Home
and inst Directories)
Create a directory
mkdir -p /u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs2/
mkdir -p /u01/oracle/UAT/fs_ne/
cd /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin
Version 12.2
*********************************************************************************
In AD-TXK Delta 7, we recommend you clone the run and patch
file systems in a single operation using the 'dualfs' option.
Separate cloning of the run and patch file systems will be deprecated
*********************************************************************************
Provide the values required for creation of the new APPL_TOP Context file.
Do you want the target system to have the same port values as the source
system (y/n) [y] ? : n
1. /usr/tmp
2. /tmp
3. /u01/oracle/UAT/12.1.0/appsutil/outbound/UAT_qb
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :
The new APPL_TOP context file has been created :
/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml
Check Clone Context logfile
/u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/CloneContext_0406111013.log for
details.
Running:
perl /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/adclone.pl
java=/u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/../jre mode=apply
stage=/u01/oracle/UAT/fs1/EBSapps/comn/clone component=appsTier
method=CUSTOM
appctxtg=/u01/oracle/UAT/fs1/inst/apps/UAT_qb/appl/admin/UAT_qb.xml
showProgress contextValidated=true
Running: /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java
/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/Ora
-stage /u01/oracle/UAT/fs1/EBSapp
s/EBSapps/comn/clone/FMW/logs/prereqcheck.log
/u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -
DCONTEXT _VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/fs1/EBSapps/co
oracle.apps.ad.clone.ApplyAppsTier -e u01/oracle/UAT /fs1/inst/apps/UAT_qb
/appl/admin/ /UAT_qb.xml -stage /u01/oracle/UAT/fs1/inst/apps/UAT_qb
/appl/admin/UAT_qb.xml -stage /u01/oracle/UAT/fs1/EBSapps/comn/clone-
showProgress -nopromptmsg
Completed Apply...
Thu Apr 6 11:37:54 2017
Do you want to startup the Application Services for UAT? (y/n) [n] :
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME
ERRORS
*** Log File = /u01/oracle/UAT/fs1/inst/apps/UAT_qb/logs /appl/rgf/TXK/
/txkSetOAMReg_Thu_Apr_6_11_40_34_2017.log
[appluat@qb bin]$
3.Once we are done with everything. Start the application Tier using adstral.sh
RUN the ENV for the Applciation tier
cd $ADMIN_SCRIPTS_HOME
adstral.sh apps/apps
[appluat@qb ]$ cd /u01/oracle/UAT/fs1/inst/apps/CRP_qb/admin/scripts
[appluat@qb scripts]$ adpreclone.pl appsTier
Version 12.2
Running perl
/u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvision
EBS.plebs-get-serverstatus - contextfile =/u01/oracle/UAT
/fs1/inst/apps/UAT_qbuat/appl/admin /appl/admin/UAT_qb.xml -
servername=AdminServer -promptmsg=hide
Running:
perl /u01/oracle/UAT/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl
java=/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64 mode=stage
stage=/u01/oracle/UAT/fs1/EBSapps/comn/clone component=appsTier method=
appctx=/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat/appl/admin/UAT_qb.xml
showProgress
/u01/oracle/UAT/fs1/EBSapps/comn/util/jdk64/bin/java -Xmx600M -
DCONTEXT_VALIDATED =false -Doracle.installer.oui_loc=/oui -classpath
/u01/oracle/UAT/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6
.jar:/u01/oracle/UAT/fs1/EBSapps/comn/
/java/classes:/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:
/u01/oracle/UAT/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/oracle/oui/jlib/share.jar:/u01/oracle/UAT/fs1/FMW_Home/webtier/../Oracle_EBS-
app1/oui/jlib/ srvm.jar: /u01/oracle/UAT/fs1/ /FMW_HOME
/webtier/jlib/ojmisc.jar:/u01/oracle
/UAT/fs1/FMW_Home/wlserver_10.3/server/wlserver_10.3/server/lib/weblogic.jar:
/u01/oracle/UAT/fs1/FMW_Home /oracle_commonjlib/ obfuscatepass word.jar
/u01/oracle/UAT/fs1/inst/apps/UAT_qbuat /appl/admin/UAT_qb.xml -stage
/u01/oracle/UAT/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM -
showProgress -nopromptmsg
\ 20% completed
Completed Stage...
Thu Apr 6 12:59:21 2017
[appluat@qb scripts]$
cd $ADMIN_SCRIPTS_HOME
adstpal.sh apps/apps
provide Weblogic admin password:
6.Copy the Target RUN File system to Target PATCH File system
mkdir -p /u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs2/<------Here We need to copy EBSapps from
/u01/oracle/UAT/fs1/
mkdir -p /u01/oracle/UAT/fs_ne/
[appluat@qb ]$ cd /u01/oracle/UAT/fs1/
Version 12.2
**********************************************************************
In AD-TXK Delta 7, we recommend you clone the run and patch
file systems in a single operation using the 'dualfs' option.
Separate cloning of the run and patch file systems will be deprecated
**********************************************************************
Provide the values required for creation of the new APPL_TOP Context file.
Running:
perl /u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/adclone.pl
java=/u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/../jre mode=apply
stage=/u01/oracle/UAT/fs2/EBSapps/comn/clone component=appsTier
method=CUSTOM
appctxtg=/u01/oracle/UAT/fs2/inst/apps/UAT_qb/appl/admin/UAT_qb.xml
showProgress contextValidated=true
Running: /u01/oracle/UAT/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -
classpath/prereq UAT
/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/Ora
log4j.jar:/u01/oracle/UAT/OraPrereqChecks.jar:log4j.jar:/u01/oracle/
UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01
.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/java
oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e
/u01/oracle/UAT/fs2/inst/apps/UAT_qb/appl/admin/UAT_qb.xml -stage
/u01/oracle/UAT/fs2/EBSapps/comn/clone -log
/u01/oracle/UAT/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log
/u01/oracle/UAT/fs2/EBSapps/comn/clone/bin/............................./jre/bin/java -
Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -
classpath//u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/UAT/fs2/E
/oui/jlib/ojmisc.jar:/u01/oracle/UAT/fs2/EBSapps/jlibapp1/oui/jlib /ojmisc.jar:
/UAT/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/UAT/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar
oracle.apps.ad.clone Apply
AppsTier -e /u01/oracle/UAT/ fs2/inst/ /apps/UAT_qb/appl/admin/UAT_qb.xml -
stage -showProgress -nopromptmsg
Completed Apply...
Thu Apr 6 15:55:55 2017
. /u01/oracle/UAT/EBSapps.env run
cd $ADMIN_SCRIPTS_HOME
adstral.sh apps/apps