How to create the patch file system in oracle apps R12.2

Introduction: –

Here we are discussing ‘how to create the patch file system in R12.2’. Execute perl appsTier to recreate the patch file system in r12.2.

Follow the below steps to create the patch file system in R12.2′. 

1) Run adpreclone:

On the RUN File-System, source RUN File-System:

$ source EBSapps.env run

RUN Admin server that must be up for this step


check status:


execute adpreclone:

$ cd $INST_TOP/admin/scripts

$ perl appsTier

2) Detach PATCH homes:

This step is performed from the RUN file-system detaching oracle_homes on the PATCH file-system:

$ cd $FMW_HOME/oracle_common/oui/bin

$ ./runInstaller -detachhome ORACLE_HOME={oracle home} -silent

 # for each PATCH oracle_home

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

./runInstaller -detachhome ORACLE_HOME=/u01/app/fs2/FMW_Home/Oracle_EBS-app1 -silent

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

# The 10.1.2 Oracle Home needs a different syntax

$ ./runInstaller -removeHome ORACLE_HOME=<s_tools_oh> -silent

$ ./runInstaller -removeHome ORACLE_HOME=/u01/app/fs2/EBSapps/10.1.2 -silent

3) Copy RUN file system to PATCH file system:

# it may be helpful for RUN environment to be DOWN for this step

 # copy each of these locations from RUN to PATCH

 <APPL_TOP>                              [ /oracle/VIS/fs1/EBSapps/appl ]

 <COMMON_TOP>                            [ /oracle/VIS/fs1/EBSapps/comn ]

 <OracleAS Tools 10.1.2 ORACLE_HOME> [/oracle/VIS/fs1/EBSapps/10.1.2 ]


4) Remove/rename PATCH FMW_HOME directory:



5) Disable ebs_login:

Linux#> sqlplus system/<pwd>

SQLPlus#> alter trigger ebs_logon disable;

6) Execute adcfgclone:

$ cd <PATCH COMMON_TOP>/clone/bin$ perl appsTier

For the prompts in this step:

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

Target System File Edition type [run] : patch

Enter the full path of Run File System Context file : <absolute path to the Run File System Context file>

RC-00217: Warning: Configuration home directory (s_config_home) evaluates to <PATCH s_config_home>. A directory with this name already exists and is not empty.

Do you want to continue (y/n)   : y

This is expected as part of the rebuild.

Target System Port Pool [0-99] : <desired PATCH File System Port Pool>

This will be the PATCH File System port pool. Would suggest that the RUN and PATCH port pools be different by approx twice number of managed servers on this node.


7) Verify work:

In the new terminal – source PATCH file-system

$ EBSapps.env patch


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


8) Enable ebs_login:

Linux#> sqlplus system/<pwd>

SQLPlus#> alter trigger ebs_logon enable;

Related/Reference: –

1 thought on “How to create the patch file system in oracle apps R12.2”

  1. Very Nice Article/Post which is very helpfull for everybody.
    You are going to locate the best and stunning instructional exercise to determine your any of the Cash App related issues. Cash App helpline and support number where you can call experts with all your issues. For More: Cash App Suport


Leave a Comment