Introduction:- Here we will Re-Configure patch file system in R12. To do so we need to run adpreclone, dettach the home and adcfgclone .
Re-create or configure the patch file system in ebs.
Follow the below step’s to configure the patch file system in R12.2.
1. Run adpreclone.pl on run file system :- Before going to re-configure patch file system, we will have to run adpreclone on run file system.
Source run file system.
$ perl adpreclone.pl appsTier
2. Detach PATCH homes:
Below Oracle Homes are already registered in the inventory:
/oracle/EBSFS/fs2/FMW_Home/Oracle_EBS-app1
/oracle/EBSFS/fs2/FMW_Home/webtier
/oracle/EBSFS/fs2/FMW_Home/oracle_common
cd $FMW_HOME/oracle_common/oui/bin
./runInstaller -removeHome ORACLE_HOME=/oracle/EBSFS/fs2/FMW_Home/Oracle_EBS-app1 -silent
Starting Oracle Universal Installer…
Checking swap sptest: must be greater than 500 MB. Actual 4604 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /etc/oraInventory
‘RemoveHome’ was successful.
./runInstaller -removeHome ORACLE_HOME=/oracle/EBSFS/fs2/FMW_Home/webtier -silent
Starting Oracle Universal Installer…
Checking swap sptest: must be greater than 500 MB. Actual 4604 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /etc/oraInventory
‘RemoveHome’ was successful.
./runInstaller -removeHome ORACLE_HOME=/oracle/EBSFS/fs2/FMW_Home/oracle_common -silent
Starting Oracle Universal Installer…
Checking swap sptest: must be greater than 500 MB. Actual 4604 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /etc/oraInventory
‘RemoveHome’ was successful.
cd $COMMON_TOP/clone/bin/
3. Copy EBSapps from run to patch file system
$ cp -RH /oracle/EBSFS/fs1/EBSapps /oracle/EBSFS/fs2
4. Run adcfgclone.pl on run file system.
[applmgr@testsrv 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.65
***********************************************************
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] : no
Running: Context clone…
Log file located at /oracle/EBSFS/fs1/EBSapps/comn/clone/bin/CloneContext_0618160140.log
Target System File Edition type [run] : patch
Enter the full path of Run File System Context file : /oracle/EBSFS/fs1/inst/apps/test_testsrv/appl/admin/test_testsrv.xml
Provide the values required for creation of the new APPL_TOP Context file.
Target System Fusion Middleware Home set to /oracle/EBSFS/fs2/FMW_Home
Target System Web Oracle Home set to /oracle/EBSFS/fs2/FMW_Home/webtier
Target System Appl TOP set to /oracle/EBSFS/fs2/EBSapps/appl
Target System COMMON TOP set to /oracle/EBSFS/fs2/EBSapps/comn
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /oracle/EBSFS/fs2/inst/apps/test_testsrv.
A directory with this name already exists and is not empty.
Do you want to continue (y/n) : y
Target System Instance Top set to /oracle/EBSFS/fs2/inst/apps/test_testsrv
Target System Port Pool [0-99] : 2
Checking the port pool 2
done: Port Pool 2 is free
Report file located at /oracle/EBSFS/fs2/inst/apps/test_testsrv/temp/portpool.lst
The new APPL_TOP context file has been created :
/oracle/EBSFS/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml
Check Clone Context logfile /oracle/EBSFS/fs1/EBSapps/comn/clone/bin/CloneContext_0618160140.log for details.
Running Rapid Clone with command:
Running:
perl /oracle/EBSFS/fs1/EBSapps/comn/clone/bin/adclone.pl java=/oracle/EBSFS/fs1/EBSapps/comn/clone/bin/../jre mod e=apply stage=/oracle/EBSFS/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/oracle/EBSFS/fs2/in st/apps/test_testsrv/appl/admin/test_testsrv.xml showProgress contextValidated=true
FMW Pre-requisite check log file location : /oracle/EBSFS/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: /oracle/EBSFS/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /oracle/EBSFS/fs1/EBSapps/comn/clone /prereq/webtier/Scripts/ext/jlib/engine.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrere q.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/oracle/EBSFS/fs1/EBSapps/ comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/ OraInstallerNet.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/oracle/EBSFS/fs1/EBSap ps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/Script s/ext/jlib/ojdl2.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/oracle/ EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/prereq/ webtier/oui/jlib/share.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHome PreReqCheck -prereqCheckFMW -e /oracle/EBSFS/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml -stage /oracle/EBSFS/fs1/EBSapps/comn/clone -log /oracle/EBSFS/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Beginning application tier Apply – Fri Jun 18 16:02:25 2021
/oracle/EBSFS/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -DC ONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/xmlpar serv2.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/java:/or acle/EBSFS/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/oui/ewt3.ja r:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/oracle/EBSFS/fs2/FMW_Home/webtier/../Oracle_EBS-app1/o ui/jlib/srvm.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/oracle/EBSFS/fs2/FMW_Home/wlserver_10.3/se rver/lib/weblogic.jar:/oracle/EBSFS/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone.Apply AppsTier -e /oracle/EBSFS/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml -stage /oracle/EBSFS/fs1/E BSapps/comn/clone -showProgress -nopromptmsg
Log file located at /oracle/EBSFS/fs2/inst/apps/test_testsrv/admin/log/clone/ApplyAppsTier_06181602.log
– 0% completed
Once complete the patch file system configuration.
5. Verify as below.
In the new terminal – source PATCH file system.
$ EBSapps.env patch
$ echo $FILE_EDITION
In new terminal – source RUN file-system
# Run Admin server MUST be up for this step
$ EBSapps.env run
$ adop phase=fs_clone force=yes
If this article helpful for you or you want to check another article related to the similar issue,click here.
To configure patch file system you may check another post as well, click here.