Vous êtes sur la page 1sur 3

To Bottom

How To Automatically Set the Current Run or Patch Edition / File System for EBS
12.2 (Doc ID 1545584.1)

APPLIES TO:

Oracle Applications DBA - Version 12.2 to 12.2.3 [Release 12.2]


Information in this document applies to any platform.

GOAL

How to automatically set the current run or patch edition / file system for EBS 12.2?

SOLUTION

For 12.2.2:

Change directory to the Base directory and run script EBSapps.env giving "run" or "patch"
as argument, eg:

cd /u01/oracle/EBS122
. ./EBSapps.env run
E-Business Suite Environment Information
----------------------------------------
RUN File System : <EBS base dir>/fs1/EBSapps/appl
PATCH File System : <EBS base dir>/fs2/EBSapps/appl
Non-Editioned File System : <EBS base dir>/fs_ne
DB Host: <hostname.domain name> Service/SID: <SID>
Sourcing the RUN File System ...

If EBSapps.env is run without the file system as argument this will be prompted for, eg:

. ./EBSapps.env
E-Business Suite Environment Information
----------------------------------------
RUN File System : <EBS base dir>/fs1/EBSapps/appl
PATCH File System : <EBS base dir>/fs2/EBSapps/appl
Non-Editioned File System : <EBS base dir>/fs_ne
DB Host: <hostname.domain name> Service/SID: <SID>
E-Business Suite Environment Setting
------------------------------------
- Enter [R/r] for sourcing Run File System Environment
file, or
- Enter [P/p] for sourcing Patch File System Environment
file, or
- Enter anything else to exit
Would you like to set the E-Business Suite environment
[R/P]:R
Sourcing the RUN File System ...

For 12.2.0:

Note 12.2.0 is not certified, so should be upgraded as soon as possible to 12.2.2 using the
procedure of Note 1506669.1 : "Oracle E-Business Suite Release 12.2.2 Readme"

Download, setup and run script fsauto as per the header part of the script:

# Script to set the current RUN Edition APPL_TOP environment automatically.


# Available through My Oracle Support Note 1545584.1
# Requirements: Set the XMLfile variable as specified below. This needs
# to be set only once and not again after a file system cutover in adop.
# Save the script as fsauto<SID>.env in a non-EBS directory, eg.:
# /home/oracle/fsautoPROD.env
# Usage: . <directory>/fsauto<SID>.env
# Eg.: . /home/oracle/fsautoPROD.env
# note the space ' ' character between the leading period '.' and first
# forward-slash '/' characters
# Alternatively use: source <directory>/fsauto<SID>.env
# If needed make the script runnable using command: chmod u+x fsautoPROD.env
# Carlo den Otter, 02-APR-2013
# Note this script is for educational purposes only, and as such is not supported.
# It was created on Linux and not tested on other platforms.
# Use at own risk.

Sample output:

[oracle@ebs122test ~]$ . ./fsautoPROD.sh


Running fsauto 1.0 :
Context Name (<SID_host>) : PROD_ebs122test
RUN Edition APPL_TOP : /u01/oracle/PROD/fs1
PATCH Edition APPL_TOP : /u01/oracle/PROD/fs2
Non-Editioned File System :
/u01/oracle/PROD/fs_ne/EBSapps/appl
Instance Top Directory :
/u01/oracle/PROD/fs1/inst/apps/PROD_ebs122test
APPL_TOP environment file :
/u01/oracle/PROD/fs1/EBSapps/appl/APPSPROD_ebs122test.
env
Admin Scripts Home :
/u01/oracle/PROD/fs1/inst/apps/PROD_ebs122test/admin/s
cripts
Setting RUN Edition APPL_TOP environment for
/u01/oracle/PROD/fs1 ...
Done.