Oracle E-Business Suite Upgrade to Release 12.1.3
Overview
This article provides a comprehensive guide for upgrading Oracle E-Business Suite (EBS) to Release 12.1.3. The procedure covers prerequisite patches, maintenance mode configuration, patch application, and post-upgrade validation steps.
Environment Specifications:
Database Version: 12.1.0.1.0
EBS Version: 12.1.3
Prerequisite Patches
Before beginning the upgrade process, ensure the following patches are downloaded and ready for application:
| Patch ID | Description |
|---|---|
| 9239089 | R12.AD.B.DELTA.3 |
| 9239090 | Oracle E-Business Suite Release 12.1.3 |
| 9239095 | Consolidated Online Help |
| 9817770 | POST-R12.ATG_PF.B.DELTA.3 Consolidated Patch |
| 9966055 | Translated Version of FNDSCSGN Not Launched |
Step-by-Step Upgrade Procedure
2.1 Enable Maintenance Mode
Maintenance mode must be enabled before applying any patches to prevent user access during the upgrade process.
# Source the application environment [applmgr@fbsebs ~]$ . /u01/app/FBS/apps/apps_st/appl/APPSFBS_fbsebs.env # Launch AD Administration [applmgr@fbsebs ~]$ adadmin
Navigate through the AD Administration menu:
Select option
5(Change Maintenance Mode)Select option
1(Enable Maintenance Mode)Exit AD Administration after confirmation
Verification Output:
Maintenance Mode is currently: [Disabled]. Successfully enabled Maintenance Mode.
2.2 Install Required Libraries (Patch 12415211)
The following steps address library compatibility issues by replacing stub libraries:
For 10.1.2 Oracle Home:
[applmgr@fbsebs app]$ cd /u01/app/FBS/apps/tech_st/10.1.2/lib/ [applmgr@fbsebs lib]$ cp -p -R stubs stubsORIG [applmgr@fbsebs lib]$ cd stubs [applmgr@fbsebs stubs]$ cp /u01/patches/app/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so . [applmgr@fbsebs stubs]$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1 [applmgr@fbsebs stubs]$ ln -s libgcc_s.so.1 libgcc_s.so
For 10.1.3 Oracle Home:
[applmgr@fbsebs stubs]$ cd /u01/app/FBS/apps/tech_st/10.1.3/lib/ [applmgr@fbsebs lib]$ cp -p -R stubs stubsORIG [applmgr@fbsebs lib]$ cd stubs [applmgr@fbsebs stubs]$ cp /u01/patches/app/12415211/files/lib/stubs/libgcc_s-2.3.2-stub.so . [applmgr@fbsebs stubs]$ ln -s libgcc_s-2.3.2-stub.so libgcc_s.so.1 [applmgr@fbsebs stubs]$ ln -s libgcc_s.so.1 libgcc_s.so
2.3 Database Preparation Before Applying Patch 9239089
Execute adgrants.sql
Copy adgrants.sql from the patch directory to the database Oracle Home:
[oracle@fbsebs ~]$ cd /u01/app/FBS/db/tech_st/11.1.0/ [oracle@fbsebs 11.1.0]$ . FBS_fbsebs.env [oracle@fbsebs 11.1.0]$ sqlplus /nolog SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql apps
Disable Fast Validation
For 11gR1 databases, disable fast validation for PL/SQL recompilations:
[oracle@fbsebs 11.1.0]$ sqlplus / as sysdba SQL> create spfile from pfile; SQL> shu immediate SQL> startup SQL> alter system set "_disable_fast_validate"=true scope=both;
Important Note: This parameter should be commented out during normal system operation after the upgrade.
2.4 Apply Patches Using adpatch Utility
Apply patches in the following sequence:
Patch 9239089
[applmgr@fbsebs stubs]$ . /u01/app/FBS/apps/apps_st/appl/APPSFBS_fbsebs.env [applmgr@fbsebs stubs]$ cd /u01/patches/app/9239089/ [applmgr@fbsebs 9239089]$ adpatch apply=yes driver=u9239089.drv
Patch 9239090
Pre-Application Steps:
Edit
$AD_TOP/bin/adrelinknew.shReplace the existing
CPP_LDFLAGSline:CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
With:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
Run adadmin to relink application executables
Apply the Patch:
[applmgr@fbsebs 9239089]$ cd /u01/patches/app/9239090/ [applmgr@fbsebs 9239090]$ adpatch apply=yes driver=u9239090.drv
Note: This patch may take considerable time depending on system hardware.
Patch 9239095
[applmgr@fbsebs 9239090]$ cd /u01/patches/app/9239095/ [applmgr@fbsebs 9239095]$ adpatch apply=yes driver=u9239095.drv
Patch 9817770
[applmgr@fbsebs 9239095]$ cd /u01/patches/app/9817770/ [applmgr@fbsebs 9817770]$ adpatch apply=yes driver=u9817770.drv
Patch 9966055
[applmgr@fbsebs 9817770]$ cd /u01/patches/app/9966055/ [applmgr@fbsebs 9966055]$ adpatch apply=yes driver=u9966055.drv
2.5 Post-Upgrade Steps
2.5.1 Recreate appsutil on Application Tier
[applmgr@fbstes ~]$ cd $APPL_TOP [applmgr@fbstes ~]$ . APPSFBS_fbstes.env [applmgr@fbstes ~]$ perl $AD_TOP/bin/admkappsutil.pl
Output Location: /u01/app/FBS/inst/apps/FBS_fbstes/admin/out/appsutil.zip
2.5.2 Copy appsutil.zip to Database Tier
[oracle@fbstes ~]$ . FBS_fbstes.env [oracle@fbstes ~]$ cd $ORACLE_HOME [oracle@fbstes 11.1.0]$ mv appsutil.zip appsutil.zip_orig [oracle@fbstes 11.1.0]$ cp /u01/app/FBS/inst/apps/FBS_fbstes/admin/out/appsutil.zip . [oracle@fbstes 11.1.0]$ unzip -o appsutil.zip
Recreate Context File on Database Tier
[oracle@fbsebs ~]$ cd $ORACLE_HOME/appsutil/bin [oracle@fbsebs bin]$ perl adbldxml.pl appsuser=apps appspasswd=apps
Provide the following information when prompted:
Database Server Hostname:
fbsebsDatabase Server Port:
1531Database SID:
FBSDisplay Variable:
fbsebs:0.0
2.5.3 Run AutoConfig on Database Tier
[oracle@fbsebs bin]$ adautocfg.sh
2.5.4 Run AutoConfig on Application Tier
[applmgr@fbsebs ~]$ cd $ADMIN_SCRIPTS_HOME [applmgr@fbsebs scripts]$ adautocfg.sh
2.6 Validate the New EBS Version
Verify the upgrade was successful by querying the database:
SQL> select release_name from apps.fnd_product_groups; RELEASE_NAME -------------------------------------------------- 12.1.3
Troubleshooting: Forms Not Opening
If forms fail to open after the upgrade:
Stop application tier services
Run adadmin to regenerate JAR files
Compile all forms:
cd $ORACLE_HOME/forms/lib make -f ins_forms.mk install
Reference Documentation
| Document | ID |
|---|---|
| Oracle E-Business Suite Release 12.1.3 Readme | Doc ID 1080973.1 |
| Applying Patch 9239090 Failed During Relink of FEMCCE | Doc ID 1303269.1 |
| Relink of ENCACN/WICMEX/WICMLX Fails on EL 6 | Doc ID 1583440.1 |
| Database Preparation Guidelines for EBS 12.1 Upgrade | Doc ID 761570.1 |
Important Notes
Maintenance Mode: Always ensure maintenance mode is enabled during patching and disabled for normal operations.
Fast Validation Parameter: The
_disable_fast_validate=TRUEparameter is temporary and should be removed after the upgrade completes.Time Consideration: The upgrade patch (9239090) can be time-consuming; plan accordingly.
Backups: Consider taking full backups before starting the upgrade process.
No comments:
Post a Comment