Configure the Patch fs in R12.2

Scenario:
Assuming the Run and Patch fs are going to be in single node
and the Run fs is already configured and the instance is up and running.
Steps to configure the patch File system in R12.2
Now to configure the patch fs.  Do the following
1.   Run the preclone in the Run fs.
[appdoyen@doyserv1 scripts]$ pwd
/test/app/TEST/fs2/inst/apps/TEST_doyserv1/admin/scripts
[appdoyen@doyserv1 scripts]$ adpreclone.pl appsTier
Copyright (c) 2011, 2014 Oracle Corporation
                       
Redwood Shores, California, USA
                       
Oracle E-Business Suite Rapid Clone
                                 Version 12.2
                      adpreclone Version
120.31.12020000.20
Enter the APPS User Password:
Enter the Weblogic AdminServer password :
 Checking the status
of the Oracle WebLogic Administration Server….
 Running perl /test/app/TEST/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl
ebs-get-serverstatus -contextfile=/test/app/TEST/fs2/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
-servername=AdminServer -promptmsg=hide
The Oracle WebLogic Administration Server is up.
Running:
perl /test/app/TEST/fs2/EBSapps/appl/ad/12.0.0/bin/adclone.pl
java=/test/app/TEST/fs2/EBSapps/comn/util/jdk64 mode=stage stage=/test/app/TEST/fs2/EBSapps/comn/clone
component=appsTier method= appctx=/test/app/TEST/fs2/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
showProgress
 Setting the wls
environment
Beginning application tier Stage – Mon May 22 18:39:00 2017
/test/app/TEST/fs2/EBSapps/comn/util/jdk64/bin/java -Xmx600M
-DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /test/app/TEST/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/test/app/TEST/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/test/app/TEST/fs2/EBSapps/comn/java/classes:/test/app/TEST/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/test/app/TEST/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/test/app/TEST/fs2/FMW_Home/webtier/oui/jlib/share.jar:/test/app/TEST/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/test/app/TEST/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/test/app/TEST/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/test/app/TEST/fs2/FMW_Home/oracle_common/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.StageAppsTier -e /test/app/TEST/fs2/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
-stage /test/app/TEST/fs2/EBSapps/comn/clone -tmp /tmp -method CUSTOM   -showProgress -nopromptmsg
Log file located at /test/app/TEST/fs2/inst/apps/TEST_doyserv1/admin/log/clone/StageAppsTier_05221839.log
 
/     20% completed
Completed Stage…
2.     Now create a empty patch fs directory in our
case  (fs1).
/test/app/TEST/fs1
3.    Now shut down the runfs (fs2) and copy the EBS
directory from run to patch fs
[appdoyen@doyserv1 scripts]$ cd $RUN_BASE
[appdoyen@doyserv1 fs2]$ pwd
/test/app/TEST/fs2
[appdoyen@doyserv1 fs2]$ cp -rp EBSapps /test/app/TEST/fs1/
4.     Unset the env if anything is set already.
5.     
Go inside /test/app/TEST/fs1/EBSapps/comn/clone/bin of Patch fs ie) fs1
here , and run adcfgclone.pl
6.     
Run perl adcfgclone.pl appsTier
7.     
Give the port pool incremented by one on the run
fs. for ex. If run fs is running in port pool 36 you can give as 37. Also check if it is already allcated by using 
netstat -an|grep -i 8037
    
[appdoyen@doyserv1 bin]$ perl adcfgclone.pl
appsTier
                     Copyright (c) 2002, 2015 Oracle Corporation
                        Redwood Shores,
California, USA
                        Oracle E-Business Suite
Rapid Clone
                                 Version 12.2
                      adcfgclone Version
120.63.12020000.56
              ***********************************************************
                            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
              ************************************************************
Enter the APPS password :
Enter the Weblogic AdminServer password :
Do you want to add a node (yes/no) [no] :
 Running: Context clone…
 Log file located at /test/app/TEST/fs1/EBSapps/comn/clone/bin/CloneContext_0522221213.log
Target System File Edition type [run] :
patch
Enter the full path of Run File System
Context file : /test/app/TEST/fs2/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
Provide the values required for creation of
the new APPL_TOP Context file.
Target System Fusion Middleware Home set to
/test/app/TEST/fs1/FMW_Home
Target System Web Oracle Home set to /test/app/TEST/fs1/FMW_Home/webtier
Target System Appl TOP set to /test/app/TEST/fs1/EBSapps/appl
Target System COMMON TOP set to /test/app/TEST/fs1/EBSapps/comn
Target System Instance Top set to /test/app/TEST/fs1/inst/apps/TEST_doyserv1
Target System Port Pool [0-99] : 37
Checking the port pool 37
done: Port Pool 37 is free
Report file located at /test/app/TEST/fs1/inst/apps/TEST_doyserv1/admin/out/portpool.lst
The new APPL_TOP context file has been
created :
  /test/app/TEST/fs1/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
Check Clone Context logfile /test/app/TEST/fs1/EBSapps/comn/clone/bin/CloneContext_05348.log
for details.
Running Rapid Clone with command:
Running:
perl /test/app/TEST/fs1/EBSapps/comn/clone/bin/adclone.pl
java=/test/app/TEST/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/test/app/TEST/fs1/EBSapps/comn/clone
component=appsTier method=CUSTOM appctxtg=/test/app/TEST/fs1/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
showProgress contextValidated=true
  
FMW Pre-requisite check log file location :
/test/app/TEST/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: /test/app/TEST/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java
-classpath /test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/test/app/TEST/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/java
oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /test/app/TEST/fs1/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
-stage /test/app/TEST/fs1/EBSapps/comn/clone -log /test/app/TEST/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Beginning application tier Apply – Mon Feb 22 22:20:59 2016
/test/app/TEST/fs1/EBSapps/comn/clone/bin/../jre/bin/java
-Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /test/app/TEST/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/java:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/test/app/TEST/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/test/app/TEST/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/test/app/TEST/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e /test/app/TEST/fs1/inst/apps/TEST_doyserv1/appl/admin/TEST_doyserv1.xml
-stage /test/app/TEST/fs1/EBSapps/comn/clone   
-showProgress -nopromptmsg
Log file located at /test/app/TEST/fs1/inst/apps/TEST_doyserv1/admin/log/clone/ApplyAppsTier_05222221.log
 
    100% completed
Completed Apply…
Mon Feb 22 23:10:14 2016
Looking for incomplete CLONE record in
ad_adop_session_patches table
The CLONE record status is COMPLETED
8.     
Now source the env and startall .

  • May 27, 2017 | 13 views