10
10
10
txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Upgrade Oracle Application E Business Suite 12.0.X to 12.1.1
=============================================================:
Includes Upgrade of Database, Complete Middle Tier and Java Upgrade with
Application TOP
This includes Challenges and issues and fixes during the process of upgrade.
This document refers to Redhat Enterprise Linux 4 update 5., Database 10.2.0.2,
Forms server version 10.1.2.0.1 and 10g AS Web server 10.1.3
Important:
1.Take a backup of inventory before proceeding.
2. Source the environment file from $INST_TOP/ora/10.1.3/
$. PROD_appsmachine.env
3. Verify echo $ORACLE_HOME as $ORACLE_APPS_BASE/apps/tech_st/10.1.3
$ export ORACLE_HOME=/u01/oracle/PROD/apps/tech_st/10.1.3
4. Ensure that all the OC4J services are up and running.
1. Unzip and Apply Patch 7272722 obtained from metalink using ./runInstaller
If you are using local inventory please use
./runInstaller -invPtrLoc $ORACLE_HOME/oraInst.loc
During the process, the OPMN services will be down and started up by the OUI.
When prompted please give the OC4J admin password as either 'secret' or 'opmn' (As
I upgraded two instance, one (12.0.6) was successful with 'secret' and another
(12.0.5) by 'opmn' or ' oafm' )
This will complete the 10gAS (10.1.3.0.1) to be upgraded with 10.1.3.4
Time taken for this procedure ~ 1 hour.
Shutdown the services, Run Autoconfig on the apps Tier.
-----------------------------------------------------------------------------------
------------------------
As per the metalink document, dont upgrade Opatch version to 1.0.0.0.62, it failed
two times for me during the other patches. I advise you to keep the current Opatch
as opatch tool.
Be sure, the path of the Opatch is present in the PATH variable.
Apply the following patches:
(if you are using local inventory, then use
Patch_Directory$opatch apply -invPtrLoc $ORACLE_HOME/oraInst.loc)
1. 6702510 (The issue is that.. being a general platform Patch, Opatch will fail at
the verification of platform)
use $export OPATCH_PLATFORM_ID=46,
then rerun the opatch apply.
2. Apply 6771776 (If you are getting error during opatch as Platform as 196 then
use OPATCH_PLATFORM_ID = 46)
3. 7411481
4. 7139320
5. 7139339
Post Upgrade steps
Source Application environment file
Regenerate appsborg.zip and appsborg2.zip using adadmin
Navigation: adadmin -> Choose Option 1-> Regenerate Product JAR files -> Force
Option: No
Run autoconfig in application tier system.
Verify the Upgrade using:
either:
use ./runInstaller and then select installed products, it will show you the
components from WEB_OH that are all upgraded to 10.1.3.4
or:
use opatch lsinventory -detail
Look for Oracle Application Server Patchset as 10.1.3.4 as follows:
Installed Patch List:
===================== 1) Patch 7139339 applied on Fri Jul 17 20:03:46 IST 2009
[ Base Bug(s): 7139339 ]
2) Patch 7139320 applied on Fri Jul 17 20:02:23 IST 2009 [ Base Bug(s): 7139320 ]
3) Patch 7411481 applied on Fri Jul 17 20:00:42 IST 2009 [ Base Bug(s): 7411481 ]
4) Patch 6771776 applied on Fri Jul 17 19:58:55 IST 2009 [ Base Bug(s): 6771776 ]
5) Patch 6702510 applied on Fri Jul 17 19:51:41 IST 2009 [ Base Bug(s): 6702510 ]
6) Patch 5586892 applied on Sat Dec 30 08:18:37 IST 2006
[ Base Bug(s): 5586892 5126270 4689959 5238255 ]
Verification from Opatch lsinventory �detail
oracle@xyz.com 7139339]$ opatch lsinventory -detail
Oracle Interim Patch Installer version 1.0.0.0.56
Copyright (c) 2006 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation underOPatch/docs for usage
reference.We also recommend usingthe latest OPatch version. For the latest OPatch
versionand other support related issues, please refer to document293369.1 which is
viewable from metalink.oracle.com
Oracle Home:/oracle/ACE/apps/tech_st/10.1.3Oracle Home
Inventory:/oracle/ACE/apps/tech_st/10.1.3/inventoryCentral
Inventory:/oracle/ACE/inst/apps/ACE_samarth/admin/oraInventory
from:/oracle/ACE/apps/tech_st/10.1.3/oraInst.locOUI
location:/oracle/ACE/apps/tech_st/10.1.3/ouiOUI shared
library:/oracle/ACE/apps/tech_st/10.1.3/oui/lib/linux/liboraInstaller.soJava
location:/oracle/ACE/apps/tech_st/10.1.3/jre/1.4.2/bin/javaLog file
location:/oracle/ACE/apps/tech_st/10.1.3/.patch_storage//*.log
Creating log file "/oracle/ACE/apps/tech_st/10.1.3/.patch_storage/LsInventory__07-
17-2009_20-17-29.log"
Result:
PRODUCT NAME VERSION
============ =======
Agent Required Support Files Patch 10.1.0.5.0
Agent Required Support Files 10.1.0.2.0
Apache Module for Oracle Distributed Authoring and Versioning 10.1.2.1.0
Assistant Common Files Patch 10.1.0.5.0
Assistant Common Files 10.1.0.2.0
Bali Share 1.1.18.0.0
DataDirect Connect JDBC Drivers 10.1.2.0.1
DBJAVA Required Support Files Patch 10.1.0.5.0
DBJAVA Required Support Files 10.1.0.2.0
Documentation Required Support Files 10.1.0.3.0
Enterprise Manager Minimal Integration Patch 10.1.0.5.0
Enterprise Manager Minimal Integration 10.1.0.2.0
Enterprise Manager plugin Common Files 10.1.0.2.0
Enterprise Manager plugin Common Files 10.1.0.5.0
Extended Windowing Toolkit 3.3.18.0.0
HTTP Server Files 1.3.31.0.0
Oracle Application Server PatchSet 10.1.3.4.0
Oracle ASkernel Common 10.1.3.0.0
Oracle Business Rules 10.1.3.0.0
.
.
.
OPatch succeeded.
Now upgrade the Opatch using 6880880 (Unzip the patch directly into the 10.1.3
Oracle Home)
Do not Start the application services and try to login to the applications using
the port. As it throws login page cannot be displayed as the variable in context
are pointing to portal/AppsLogin.jsp.
This will be resolved once you complete applying the patch 7303030.
To get other versions, enable about this page link in LOGINPAGE of the server
To do this please do the following:
set the profile option FND: Diagnostics = Yes
Then bounce the middle tier services, you will see a link 'About This Page' at the
bottom of the web page
The output of the About this page will give all the particulars about the version
upgrade.
g:\prints\ebs_upgrade\12.1.1 to 12.1.3.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Oracle Applications Upgrade from 12.1.1 to 12.1.3 ( With Database 11.1.0.7 )
=============================================================================:
The below steps outline the step by step actions to upgrade Oracle applications
from 12.1.1 to 12.1.3
Bring down all the services and Take cold backup of the instance (Recommended)
Step.1
Modify Initialization Parameters:
_disable_fast_validate=TRUE
recyclebin=off
_pga_max_size
If you don't change the _pga_max_size to greater than 104857600. You may get the
following error during upgrade.
ORA-04030: out of process memory when trying to allocate 822904 bytes
(pga heap,kco buffer)
ORA-07445: exception encountered: core dump [dbgtfdFileWrite()+48]
SIGSEGV] [ADDR:0xFFFFFFFF7FFC1C88] [PC:0x1063BD2D0] [Address not mapped
to object]
Step.2
Apply Database Patches
Please check and apply the below database patches.
For all UNIX/Linux platforms
7111245
7211965
7330434
7486407
7627743
7639602
7684818
8199107
8639653
8940108
9026927
9066130
9554727
9743057
For Linux x86-64, patch 7319922 contained within 7684818 was packaged incorrectly.
The new version of patch 7319922 has to be applied. Perform the following
instructions:
Go to the 11.1.0.7 $ORACLE_HOME/inventory/oneoffs/7319922 directory.
Run "opatch rollback -id 7319922" to rollback patch 7319922.
Download the new version of patch 7319922 on My Oracle Support.
Go to the patch 7319922 directory.
Run "opatch apply"
Step.3
Techstack Upgrade:
A)Verify the 10.1.3.X Oracle Home version and the required version is 10.1.3.4 or
higher <Use Document 454811.1> (for 10.1.3.5 ) or <Document 728531.1> (for 10.1.3.4
) to upgrade it
B)Verify the 10.1.2.X Oracle Home version and the required version is 10.1.2.3
<Use Document 437878.1 to upgrade it.>
Usage:
------
1.Create $ORACLE_HOME/appsutil/admin on the database server.
2.Copy adgrants.sql (UNIX) from this patch directory to
$ORACLE_HOME/appsutil/admin.
3.Set the environment to point to ORACLE_HOME on the database server.
4.Use SQL*Plus to run the script:
$ sqlplus /nolog
SQL> @$ORACLE_HOME/appsutil/admin/adgrants.sql APPLSYS
adpatch defaultsfile=$APPL_TOP/admin/$TWO_TASK/adalldefaults.txt
logfile=u9239089.log patchtop=/software/patches/9239089 driver=u9239089.drv
workers=10
Post-Update Steps:
Step.5
Run autoconfig on both tiers:
Application tier:
-----------------
$cd $ADMIN_SCRIPTS_HOME
$adautocfg.sh
Run the admkappsutil.pl utility to create the file appsutil.zip in the
<INST_TOP>/admin/out directory.
$perl $AD_TOP/bin/admkappsutil.pl
Database tier:
--------------
Copy or FTP the appsutil.zip file to the <RDBMS ORACLE_HOME>.
$cd $ORACLE_HOME
$unzip -o appsutil.zip
Run AutoConfig on the Database Node:
$cd $ORACLE_HOME/appsutil/scripts
$adautocfg.sh
Step.6
Database Tier and Application Tier
Re-run adpreclone.pl on the database tier and the application tier. Since updates
included in Oracle E-Business Suite Release 12.1.3 were applied to the system,
adpreclone must be run again to apply the updates to the clone directory structures
that were used during cloning.
Step.7
Modify Initialization Parameters and bounce database
Step.8
Start Applications and Perform a health check of the instance.
cd $ADMIN_SCRIPTS_HOME
sh adstrtal.sh apps/apps
With database versions prior to Oracle 11gR2 (11.2.0.2), you needed to disable Fast
Validation in the database when performing Applications upgrades or maintenance
operations.
To disable Fast Validation, you needed to add the following parameter to the
database initialization parameter file:
_disable_fast_validate=TRUE
Failing to set this in Oracle Database 11gR1 (11.1.0.7) or 11gR2 (11.2.0.1) could
lead to invalid objects and forms or reports compilation failures, potentially
causing problems with product functional flows.
Starting with 11gR2 (11.2.0.2), this parameter no longer needs to be set for
upgrade or maintenance operations (and then unset again for normal operations).
This is one less thing for you to have to remember.
g:\prints\ebs_upgrade\before upgrade.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Production downtime:
-Technical (DBA) downtime � when only DBAs are accessing the system and running
upgrade scripts exclusively.
-Functional downtime � when DBAs and functional and development teams work in
parallel, but the system is not yet released for end-users.