To 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

Source run file system.

$ perl adpreclone.pl appsTier

 

2. Detach PATCH homes:

Below Oracle Homes are already registered in the inventory:

/u01/app/fs2/FMW_Home/Oracle_EBS-app1

/u01/app/fs2/FMW_Home/webtier

/u01/app/fs2/FMW_Home/oracle_common

 

cd $FMW_HOME/oracle_common/oui/bin

./runInstaller -removeHome ORACLE_HOME=/u01/app/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=/u01/app/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=/u01/app/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. 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 /u01/app/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 : /u01/app/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 /u01/app/fs2/FMW_Home

Target System Web Oracle Home set to /u01/app/fs2/FMW_Home/webtier

Target System Appl TOP set to /u01/app/fs2/EBSapps/appl

Target System COMMON TOP set to /u01/app/fs2/EBSapps/comn

RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /u01/app/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 /u01/app/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 /u01/app/fs2/inst/apps/test_testsrv/temp/portpool.lst

The new APPL_TOP context file has been created :

/u01/app/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml

Check Clone Context logfile /u01/app/fs1/EBSapps/comn/clone/bin/CloneContext_0618160140.log for details.

 

Running Rapid Clone with command:

 

Running:

perl /u01/app/fs1/EBSapps/comn/clone/bin/adclone.pl java=/u01/app/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/app/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/app/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml showProgress contextValidated=true

 

FMW Pre-requisite check log file location : /u01/app/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

 

Running: /u01/app/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /u01/app/fs1/EBSapps/comn/clone /prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrere q.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/app/fs1/EBSapps/ comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/ OraInstallerNet.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/app/fs1/EBSap ps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/Script s/ext/jlib/ojdl2.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/oracle/ EBSFS/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01/app/fs1/EBSapps/comn/clone/prereq/ webtier/oui/jlib/share.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHome PreReqCheck -prereqCheckFMW -e /u01/app/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml -stage /u01/app/fs1/EBSapps/comn/clone -log /u01/app/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

 

Beginning application tier Apply – Fri Jun 18 16:02:25 2021

 

/u01/app/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -DC ONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/app/fs1/EBSapps/comn/clone/jlib/xmlpar serv2.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/java:/or acle/EBSFS/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/oui/ewt3.ja r:/u01/app/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/app/fs2/FMW_Home/webtier/../Oracle_EBS-app1/o ui/jlib/srvm.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/app/fs2/FMW_Home/wlserver_10.3/se rver/lib/weblogic.jar:/u01/app/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar oracle.apps.ad.clone.Apply AppsTier -e /u01/app/fs2/inst/apps/test_testsrv/appl/admin/test_testsrv.xml -stage /u01/app/fs1/E BSapps/comn/clone -showProgress -nopromptmsg

Log file located at /u01/app/fs2/inst/apps/test_testsrv/admin/log/clone/ApplyAppsTier_06181602.log

– 0% completed

 

Once complete the patch file system configuration.

 

4. 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

Share this post
Recent Posts

Leave a Comment

Start typing and press Enter to search