R12.2. Cloning Step-by-Step   47 comments

Here we go………………….

My First R12.2. Clone

clone_ora

newclone

STEP1:Prepare Souce Node for Cloning

Run adpreclone.pl from RUN File System

cd /d01/oracle/R122/fs1/inst/apps/PROD_idbaprod-appl/admin/scripts/

[applprod@idbaprod-appl scripts]$ adpreclone.pl appsTier
Copyright (c) 2011 Oracle Corporation
 Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adpreclone Version 120.31.12020000.7
Enter the APPS User Password:
Enter the Weblogic AdminServer password :
Checking the status of the Oracle WebLogic Administration Server....
Running perl /d01/oracle/R122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/d01/oracle/R122/fs1/inst/apps/PROD_idbaprod-appl/appl/admin/PROD_idbaprod-appl.xml -servername=AdminServer -promptmsg=hide
The Oracle WebLogic Administration Server is up.
Running:
perl /d01/oracle/R122/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/d01/oracle/R122/fs1/FMW_Home/jrockit64 mode=stage stage=/d01/oracle/R122/fs1/EBSapps/comn/clone component=appsTier method= appctx=/d01/oracle/R122/fs1/inst/apps/PROD_idbaprod-appl/appl/admin/PROD_idbaprod-appl.xml showProgress

Setting the wls environment
Beginning application tier Stage - Wed Oct 23 04:32:22 2013
/d01/oracle/R122/fs1/FMW_Home/jrockit64/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /d01/oracle/R122/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/d01/oracle/R122/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/d01/oracle/R122/fs1/EBSapps/comn/java/classes:/d01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/d01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/d01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/share.jar:/d01/oracle/R122/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/d01/oracle/R122/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/d01/oracle/R122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/d01/oracle/R122/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.StageAppsTier -e /d01/oracle/R122/fs1/inst/apps/PROD_idbaprod-appl/appl/admin/PROD_idbaprod-appl.xml -stage /d01/oracle/R122/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM -showProgress -nopromptmsg
Log file located at /d01/oracle/R122/fs1/inst/apps/PROD_idbaprod-appl/admin/log/StageAppsTier_10230432.log
| 20% completed
Completed Stage...
Wed Oct 23 04:40:32 2013

Step2:WHAT NEEDS TO BE COPIED
----------------------------

Choose only RUN FILE SYSTEM for copying

what1

Prepare Target

mkdir -p /u01/oracle/R122/fs1/
mkdir -p /u01/oracle/R122/fs2/
mkdir -p /u01/oracle/R122/fs_ne/

STEP3:After finishing the copy CONFIGURE TARGET RUN FILE SYSTEM

Go to clone directory

cd /u01/oracle/R122/fs1/EBSapps/comn/clone/bin

RUN perl adcfgclone.pl appsTier

[appltest@rel-dem-test01 bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2011 Oracle Corporation
 Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adcfgclone Version 120.63.12020000.22
Enter the APPS password :
Running:
/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper -encryptpwd /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../FMW/tempinfoApps.txt
Enter the Weblogic AdminServer password :
Running:
/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../FMW/tempinfo.txt
Running:
/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../FMW/EBSDataSource

Do you want to add a node (yes/no) [no] :

Running:
/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojdbc5.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_17052.lst -stage /u01/oracle/R122/fs1/EBSapps/comn/clone 2> /tmp/adcfgclone_17052.err; echo $? > /tmp/adcfgclone_17052.res
Log file located at /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/CloneContext_1023030803.log
Target System File Edition type [run] :run
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [rel-dem-test01] :
Target System Database SID : TEST
Target System Database Server Node [rel-dem-prodas01] : rel-dem-testdb01
Target System Database Domain Name [ora.ad] :
Target System Base Directory : /u01/oracle/R122
Target System Base Directory set to /u01/oracle/R122
Target System Current File System Base set to /u01/oracle/R122/fs1
Target System Other File System Base set to /u01/oracle/R122/fs2
Target System Fusion Middleware Home set to /u01/oracle/R122/fs1/FMW_Home
Target System Web Oracle Home set to /u01/oracle/R122/fs1/FMW_Home/webtier
Target System Appl TOP set to /u01/oracle/R122/fs1/EBSapps/appl
Target System COMMON TOP set to /u01/oracle/R122/fs1/EBSapps/comn
Target System Instance Home Directory [/u01/oracle/R122] :
Target System Instance Top set to /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01
Do you want to preserve the Display [rel-dem-prod01:0.0] (y/n) : n
Target System Display [rel-dem-test01:0.0] : rel-dem-test01:1.0
Target System Root Service [enabled] :
Target System Web Administration [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
Target System Other Services [enabled] :
Do you want the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 0
Checking the port pool 0
done: Port Pool 0 is free
Report file located at /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/admin/out/portpool.lst
Complete port information available at /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/admin/out/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /tmp
3. /u01/oracle/product/11.2.0/appsutil/outbound/TEST_rel-dem-proddb01
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :
Creating the new APPL_TOP Context file from :
 /u01/oracle/R122/fs1/EBSapps/comn/clone/context/apps/adxmlctx.tmp
The new APPL_TOP context file has been created :
 /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-prodas01/appl/admin/TEST_rel-dem-test01.xml
Log file located at /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/CloneContext_1023030803.log
Check Clone Context logfile /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/CloneContext_1023030803.log for details.
Running Rapid Clone with command:
Running:
perl /u01/oracle/R122/fs1/EBSapps/comn/clone/bin/adclone.pl java=/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/oracle/R122/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml showProgress contextValidated=true

FMW Pre-requisite check log file location : /u01/oracle/R122/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: /u01/oracle/R122/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml -stage /u01/oracle/R122/fs1/EBSapps/comn/clone -log /u01/oracle/R122/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Beginning application tier Apply - Wed Oct 23 03:09:54 2013
/u01/oracle/R122/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/R122/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone.ApplyAppsTier -e /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml -stage /u01/oracle/R122/fs1/EBSapps/comn/clone -showProgress -nopromptmsg
Log file located at /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/admin/log/ApplyAppsTier_10230309.log
 | 100% completed
Completed Apply...
Wed Oct 23 03:28:43 2013

 Executing command: /u01/oracle/R122/fs1/EBSapps/10.1.2/bin/sqlplus @/u01/oracle/R122/fs1/EBSapps/appl/ad/12.0.0/patch/115/sql/truncate_ad_nodes_config_status.sql

Do you want to startup the Application Services for TEST? (y/n) [n] :
Services not started

STEP4: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

Provide Weblogic Password:
Once application is up do a sample Health Check.
STEP4:RUN adpreclone on TARGET RUN FILESYSTEM

[appltest@rel-dem-test01 scripts]$ adpreclone.pl appsTier
Copyright (c) 2011 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adpreclone Version 120.31.12020000.7
Enter the APPS User Password:
Enter the Weblogic AdminServer password :
Checking the status of the Oracle WebLogic Administration Server....
Running perl /u01/oracle/R122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml -servername=AdminServer -promptmsg=hide
The Oracle WebLogic Administration Server is up.
Running:
perl /u01/oracle/R122/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/u01/oracle/R122/fs1/FMW_Home/jrockit64 mode=stage stage=/u01/oracle/R122/fs1/EBSapps/comn/clone component=appsTier method= appctx=/u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml showProgress

Setting the wls environment
Beginning application tier Stage - Wed Oct 23 04:32:22 2013
/u01/oracle/R122/fs1/FMW_Home/jrockit64/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/R122/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/oracle/R122/fs1/EBSapps/comn/java/classes:/u01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/oracle/R122/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/oracle/R122/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/R122/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.StageAppsTier -e /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-prodas01/appl/admin/TEST_rel-dem-test01.xml -stage /u01/oracle/R122/fs1/EBSapps/comn/clone -tmp /tmp -method CUSTOM -showProgress -nopromptmsg
Log file located at /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/admin/log/StageAppsTier_10230432.log
| 20% completed
Completed Stage...
Wed Oct 23 04:40:32 2013

STEP5:SHUTDOWN THE APPLICATION which is running on RUN FILESYSTEM
------------------------------------------------------------------
cd $ADMIN_SCRIPTS_HOME
adstpal.sh apps/apps
provide Weblogic admin password:

STEP6:COPY THE TARGET RUN FILESYSTEM to TARGET PATCH FILESYSTEM
----------------------------------------------------------------
make sure you already created the directory structure like

mkdir -p /u01/oracle/R122/fs1/
mkdir -p /u01/oracle/R122/fs2/<-------------------Here We need to copy EBSapps from /u01/oracle/R122/fs1/
mkdir -p /u01/oracle/R122/fs_ne/
UNSET the application Enviroment.Previously we have executed env.
Before we run adcfgclone.pl dont run any env's, Directly go to /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/ and execute adcfgclone.pl
STEP7:Once Finished copying START CONFIGURING TARGET PATCH FILESYSTEM
---------------------------------------------------------------------
[appltest@rel-dem-test01 bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2011 Oracle Corporation
 Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adcfgclone Version 120.63.12020000.22
Enter the APPS password :
Running:
/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper -encryptpwd /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../FMW/tempinfoApps.txt
Enter the Weblogic AdminServer password :
Running:
/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../FMW/tempinfo.txt
Running:
/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -classpath /u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.clone.util.OPWrapper /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../FMW/EBSDataSource

Do you want to add a node (yes/no) [no] :

Running:
/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojdbc5.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/emCfg.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_4606.lst -stage /u01/oracle/R122/fs2/EBSapps/comn/clone 2> /tmp/adcfgclone_4606.err; echo $? > /tmp/adcfgclone_4606.res
Log file located at /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/CloneContext_1023054232.log
Target System File Edition type [run] : patch
Enter the full path of Run File System Context file : /u01/oracle/R122/fs1/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml
Provide the values required for creation of the new APPL_TOP Context file.
Target System Fusion Middleware Home set to /u01/oracle/R122/fs2/FMW_Home
Target System Web Oracle Home set to /u01/oracle/R122/fs2/FMW_Home/webtier
Target System Appl TOP set to /u01/oracle/R122/fs2/EBSapps/appl
Target System COMMON TOP set to /u01/oracle/R122/fs2/EBSapps/comn
Target System Instance Top set to /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01
Target System Port Pool [0-99] : 1
Checking the port pool 1
done: Port Pool 1 is free
Report file located at /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/admin/out/portpool.lst
Complete port information available at /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/admin/out/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /tmp
3. /u01/oracle/product/11.2.0/appsutil/outbound/TEST_rel-dem-testdb1
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :
Creating the new APPL_TOP Context file from :
 /u01/oracle/R122/fs2/EBSapps/comn/clone/context/apps/adxmlctx.tmp
The new APPL_TOP context file has been created :
 /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-prodas01/appl/admin/TEST_rel-dem-test01.xml
Log file located at /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/CloneContext_1023054232.log
Check Clone Context logfile /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/CloneContext_1023054232.log for details.
Running Rapid Clone with command:
Running:
perl /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/adclone.pl java=/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/oracle/R122/fs2/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml showProgress contextValidated=true

FMW Pre-requisite check log file location : /u01/oracle/R122/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: /u01/oracle/R122/fs2/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-test01.xml -stage /u01/oracle/R122/fs2/EBSapps/comn/clone -log /u01/oracle/R122/fs2/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Beginning application tier Apply - Wed Oct 23 05:43:35 2013
/u01/oracle/R122/fs2/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/java:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/oui/share.jar:/u01/oracle/R122/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/oracle/R122/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/oracle/R122/fs2/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone.ApplyAppsTier -e /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/appl/admin/TEST_rel-dem-prodas01.xml -stage /u01/oracle/R122/fs2/EBSapps/comn/clone -showProgress -nopromptmsg
Log file located at /u01/oracle/R122/fs2/inst/apps/TEST_rel-dem-test01/admin/log/ApplyAppsTier_10230543.log
 / 100% completed
Completed Apply...
Wed Oct 23 06:03:53 2013
Looking for incomplete CLONE record in ad_adop_session_patches table
The CLONE record status is no rows selected
Updating incomplete CLONE record to COMPLETED

STEP8:Once we are done with everything. Start the application Tier using adstral.sh

This time set the env to RUN File System

. /u01/oracle/R122/EBSapps.env run

cd $ADMIN_SCRIPTS_HOME

adstral.sh apps/apps

Hope so this Helps…………………

Posted October 23, 2013 by balaoracledba.com in Cloning, R12.2

47 responses to “R12.2. Cloning Step-by-Step

Subscribe to comments with RSS.

  1. Hi,
    Nice blog but database cloning is missing in this blog?

  2. Very clear but few Qs
    1) Why need two port pool
    2) you did not mention starting applications on run fs , why starting apps only on patch fs
    3) What is status of fs_ne

    • 1) Why need two port pool
      One for Run FileSystem and other for Patch FileSystem
      2) you did not mention starting applications on run fs , why starting apps only on patch fs
      Sorry. I corrected it. we need to start application from RUN FS.

      3) What is status of fs_ne
      FS-NE (Non Editioned file system) – Stores data that is stored on the file system (Data import and export files, Report output & Log files)

  3. Dear,

    Thanks for nice blog, I having a issue regarding R12.2 apps cloning RC-50004: Fatal: Error occurred in ApplyAppsTechStack:
    /u02/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/ohclone.log (No such file or directory)

  4. no there is only one file [
    oracle@backup log]$ ls
    ApplyAppsTier_01151353.log

    • Ok. it seems that the application is not able to create file in this location.
      /u02/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/. please try to create a file in this location give touch you will get to know whether it is anything to do with permissions?

  5. Dear

    This is the complete error.
    Thanks for support.

    RC-50004: Fatal: Error occurred in ApplyAppsTechStack:
    /u02/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/ohclone.log (No such file or directory)

    ERROR while running Apply…
    Wed Jan 15 15:57:14 2014

    ERROR: Failed to execute /u02/oracle/UAT/fs1/EBSapps/comn/clone/bin/adclone.pl

    [oracle@backup bin]$ vi /u02/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/ApplyAppsTier_01151555.log

    Geeting these 2 error in log file.

    RC-50208: Exception in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program “/u02/oracle/UAT/fs1/FMW_Home/webtier/perl/bin/perl”: java.io.IOException: error=2, No such file or directory
    script returned:

    RC-50208: Exception in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program “/u02/oracle/UAT/fs1/FMW_Home/webtier/perl/bin/perl”: java.io.IOException: error=2, No such file or directory
    script returned:

  6. there is no Webtier binary available .

    • It is looking for that Perl binary in /u02/oracle/UAT/fs1/FMW_Home/webtier/perl/bin/
      If it is not there please start cloning from the beginning or
      copy the perl binary from the source to /u02/oracle/UAT/fs1/FMW_Home/webtier/perl/bin/ and then try again… let see

      • Hi,

        Now I getting the following error.

        Log file located at /u01/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/ApplyAppsTier_01161500.log
        / 50% completed
        ERROR while running Apply…
        Thu Jan 16 15:03:42 2014

        ERROR: Failed to execute /u01/oracle/UAT/fs1/EBSapps/comn/clone/bin/adclone.pl

        Please check logfile.

      • Chk the logfile /u01/oracle/UAT/fs1/inst/apps/UAT01_backup/admin/log/ApplyAppsTier_01161500.log

  7. Creating new WLS domain.
    Running /u01/oracle/UAT/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/t2pjdk -al /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/WLS/EBSdomain.jar -tdl /u01/oracle/UAT/fs1/FMW_Home/user_projects/domains/EBS_domain_UAT01 -tmw /u01/oracle/UAT/fs1/FMW_Home -mpl /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/WLS/plan/moveplan.xml -ldl /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/logs -silent true -domainAdminPassword /u01/oracle/UAT/fs1/EBSapps/comn/clone/FMW/tempinfo.txt
    Script Executed in 8907 milliseconds, returning status 255
    Script failed, exit code 255

  8. Hi, I am a newcomer i EBS cloning. So, please provide a link for full procedure of EBS cloning. particularly for db cloning as it was not described here. thanks.

  9. it is clear. but could you provide a link to guide for database cloning?

  10. cp -RH /d01/ /media/sf_D_DRIVE
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1/jdk/jre/lib/amd64/server/libjsig.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1/jdk/jre/javaws/javaws’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1/jdk/jre/bin/ControlPanel’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/Oracle_EBS-app1/jdk/bin/ControlPanel’: Read-only file system
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security/bea-helpsets/en-us/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/es/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/es/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/es/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/pt-br/pagehelp/Securitysecuritycompatibilitycachingrealmconfigpermissionstitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/pt-br/pagehelp/Securitysecuritycompatibilityaclpermissionaddgranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/pt-br/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/pt-br/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/pt-br/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/it/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/it/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/it/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-tw/pagehelp/Securitysecuritycompatibilitycachingrealmconfigpermissionstitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-tw/pagehelp/Securitysecuritycompatibilityaclpermissionaddgranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-tw/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-tw/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-tw/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/de/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/de/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/de/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-cn/pagehelp/Securitysecuritycompatibilitycachingrealmconfigpermissionstitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-cn/pagehelp/Securitysecuritycompatibilityaclpermissionaddgranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-cn/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-cn/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/zh-cn/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ko/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ko/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ko/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ja/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ja/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/ja/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/fr/pagehelp/Securitysecuritycompatibilityaclpermissiondeletegranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/fr/pagehelp/Securitysecuritycompatibilityaclpermsissioncreategranteepagetitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/compatibility-security-l10n/bea-helpsets/fr/pagehelp/Securitysecuritycompatibilitycachingrealmconfigauthenticationtitle.html’: Operation not permitted
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emas/58iq7a/as/policymgr/images/check.gif’: File exists
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emas/58iq7a/as/policymgr/images/assertion-icon.gif’: File exists
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emas/58iq7a/as/policymgr/images/cross.gif’: File exists
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emas/58iq7a/as/policymgr/images/cross.JPG’: File exists
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emcore/28c293/images/targetsearch_ena.png’: File exists
    cp: cannot create directory `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/user_projects/domains/EBS_domain_PROD/servers/AdminServer/tmp/_WL_user/emai/xalnv4/ai/workplace’: File exists
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib/libclntsh.so.10.1′: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib/libclntsh.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib/libagtsh.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib/libocci.so’: Read-only file system
    cp: cannot create regular file `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/webcache/docs/help/BSSCDHTM.js’: File exists
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/jdk/jre/lib/amd64/server/libjsig.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/jdk/jre/javaws/javaws’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/jdk/jre/bin/ControlPanel’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/jdk/bin/ControlPanel’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib32/libclntsh.so.10.1′: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib32/libclntsh.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib32/libagtsh.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/lib32/libocci.so’: Read-only file system
    cp: cannot create directory `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/perl/lib/5.10.0/Pod’: File exists
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/FMW_Home/webtier/bin/lbuilder’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/inst/apps/PROD_node1/temp/patches/14157219/jdk32/jre/lib/i386/client/libjsig.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/inst/apps/PROD_node1/temp/patches/14157219/jdk32/jre/lib/i386/server/libjsig.so’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/inst/apps/PROD_node1/temp/patches/14157219/jdk32/jre/javaws/javaws’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/inst/apps/PROD_node1/temp/patches/14157219/jdk32/jre/bin/ControlPanel’: Read-only file system
    cp: cannot create symbolic link `/media/sf_D_DRIVE/d01/oracle/PROD/fs2/inst/apps/PROD_node1/temp/patches/14157219/jdk32/bin/ControlPanel’: Read-only file system

  11. Please advise how to copy db + apps tier properly to another node. i have stopped apps and db services before coping but it did not help. i still have errors

  12. Thanks for the help )

  13. Applications Technology Stack:
    [OracleAS Tools ORACLE_HOME]
    [OracleAS Web IAS_ORACLE_HOME]
    Please, clarify how to identify this dirs?

  14. Nice

  15. Hi Bala,, How to add a new middle tier node in r12.2 when file system is a shared mount point.

  16. Hi Bala,

    when i run step 3, i got this error

    #############################################################
    Started ApplyAppsTier at Tue Apr 29 04:12:09 EDT 2014
    Version:
    ApplyAppsTier.java : 120.11.12020000.5
    #############################################################
    # Creating the FMW Home from ApplyAppsTier
    FMW JDK version in use: 1.7.0_25
    Creating FMW Home.
    Running /u02/oratest2/BTSTEST2/fs2/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /u02/oratest2/BTSTEST2/fs2/EBSapps/comn/util/jdk64 -al /u02/oratest2/BTSTEST2/fs2/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /u02/oratest2/BTSTEST2/fs2/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /u02/oratest2/BTSTEST2/fs2/inst/apps/BTSTEST2_oradev/admin/log/clone/fmwT2PApply -silent true -executeSysPrereqs false
    Script Executed in 117907 milliseconds, returning status 255
    Script failed, exit code 255

    can u help me to solved this error

    thanks

    • Hi,

      we also got the same error while running the adcfgclone.pl appsTier.

      /applmgr/product/R12SIT1/fs1/inst/apps/R12SIT1_wdscr12tstdb02/admin/log/clone/ApplyAppsTier_07312132.log

  17. Hi Bala, Renaldy

    Have you found any solution to the above error.

    Thanks,
    Preetham.

  18. Hi Renaldy,

    It seems that there is some issue with the Pre-reqs. Please check the necessary Pre-reqs

    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.2) for Linux x86-64 (Doc ID 1330701.1)

    Or try as below

    export TIMEDPROCESS_TIMEOUT=-1

    and then run again

    perl adcfgclone.pl appsTier

    This may take some time depending on the server resources.

    Thanks
    Bala

  19. Hi Bala,

    I do not see you are executing the exec FND_CONC_CLONE.TARGET_CLEAN; (or) exec FND_CONC_CLONE.SETUP_CLEAN; to clear the source references as part of the cloning did you not see any issues with the clone without running these packages ?

    Regards,

  20. I have not executed FND_CONC_CLONE.TARGET_CLEAN; (or) exec FND_CONC_CLONE.SETUP_CLEAN on target node and dont see any issues on cloned environmnets. i would suggest that it would be better if we run these on target nodes and and execute autoconfig on all the nodes.

  21. Hello, I am new and I am testing this version. What do you do when you say “Sample Health Check”?
    Thanks

  22. Having issues with laying down patch file system

    The following errors are being received – Run file system is successfully laid down
    *************************************************************************************************************
    I am cloning an existing 12.2.3 install to a new set of guests. Clone of the DB is complete. Clone of the Run file sytem on the target system is complete.

    After executing the necessary steps on the run file system, copying the filesystem over and laying it down to create a patch file system, I am trying to run perl adcfgclone appsTier

    This process fails – with multiple errors – relating to the listener.ora.

    The first set of errors are below

    Updating s_tnsmode to ‘generateTNS’
    UpdateContext exited with status: 0
    AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
    Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
    Instantiating Tools tnsnames.ora
    Tools tnsnames.ora instantiated

    adgentns.pl exiting with status 2
    ERRORCODE = 2 ERRORCODE_END
    .end std out.

    Oracle APPS DBA
  23. Hi Bala,

    it is a good document.
    could you please say when the target patch edition filesystem(fs2) was changed to the run edition filesystem after the cloning from source
    run edition system to target run edition system?

    Thanks
    Kwanyoung

  24. Do you copy the FMW_Home from source to target for cloning? Or do you just copy the EBSapps from the source RUN the target RUN?

  25. Do you have the steps for multimode to multimode cloning? Oracle MOS suggests to clone primary to primary and then add node using multi node extension procedure (pairsfile). That process is pretty complicated to be part of simple cloning in my opinion. Any experience on multimode cloning?

  26. nice Explanation Bala.. Thanks for sharing this post

  27. Hello Bala/renaldy… how did you guys fixed the issue while creating – Creating FMW Home.?

  28. Is there any post clone steps in 12.2.4

    • General post clone steps most of the post clone steps or client specific.

      1. update fnd_concurrent request table with termination and also run cmclean.sql

      exec FND_CONC_CLONE.SETUP_CLEAN;
      commit;

      Run Autoconfig on DB first and then on apps.

      update worfkflow tables

      UPDATE wf_notifications SET status = ‘CLOSED’ WHERE status = ‘OPEN’;

      UPDATE wf_notifications SET mail_status = ‘SENT’ WHERE NVL (mail_status, ‘ERROR’) ‘SENT’;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: