How to reconfigure patch file system in EBS R12.2

We had a scenarios where I need to re-create or again configure the patch file system in ebs.

Steps

1. Run adpreclone.pl on run file system

Source run file system.

$ perl adpreclone.pl appsTier

 

2. Detach PATCH homes:

Below Oracle Homes are registered in the inventory which needs to be deregistered:

/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


./runInstaller -removeHome ORACLE_HOME=/u01/app/fs2/FMW_Home/webtier -silent


./runInstaller -removeHome ORACLE_HOME=/u01/app/fs2/FMW_Home/oracle_common -silent

 
 

3. Run adcfgclone.pl on run file system.

 
cd $COMMON_TOP/clone/bin/
[applmgr@funebs bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002, 2015 Oracle Corporation

Redwood Shores, California, USA

Oracle E-Business Suite Rapid Clone

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

************************************************************

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_funebs/appl/admin/test_funebs.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


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_funebs

Target System Port Pool [0-99] : 11

Checking the port pool 11

done: Port Pool 11 is free

Report file located at /u01/app/fs2/inst/apps/test_funebs/temp/portpool.lst

The new APPL_TOP context file has been created :

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


 

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

 

Run FS_CLONE

# Run Admin server MUST be up for this step

$ EBSapps.env run

$ adop phase=fs_clone force=yes







Please do like and subscribe to my youtube channel: https://www.youtube.com/@foalabs If you like this post please follow,share and comment