You are on page 1of 57

Upgrading 11i EBS to R12

Webinar
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Objective
Planning for an upgrade
Preparing for Upgrade
Upgrading to R12
Post Upgrade Tasks


Planning for Upgrade
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Overview
Releases of E-Business Suite
Best Practice for Upgrade
Oracle Application Upgrade Path
R12 Technology stack installed on Apps Tier
System Requirements
Database Size
Tablespace Model
Scheduling Time for an Upgrade
Database Initialization Parameters
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Releases of E-Business Suite
11i E-Business Suite -May 2000
11.5.7
11.5.9
11.5.10
11.5.10.2
R12 E-Business Suite - Jan 2007
12.0.1
12.0.4
12.0.6
12.1.1
12.1.2
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Best Practice for Upgrade
11.5.1-11.5.6

Upgrade to
11.5.10.2
11.0

Upgrade to
11.5.10.2
11.5.7
11.5.8

9iR2
11.5.9cu2
11.5.10.2

9iR2,10gR1
R12

10gR2
11.5.9(cu1)
11.5.10(cu1)

9iR2,10gR1
Phase 1: DB Upgrade
Phase 2: Apps Upgrade
Phases may happen in
Separate critical downtimes
D
u
a
l
-
P
h
a
s
e

U
p
g
r
a
d
e

Apps and DB Upgrades must be
completed during the same critical
downtimes
Not certified on 10gR2
Certified on 10gR2
Upgrade Target (R12)
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Oracle Application Upgrade Path
Release level Upgrade path
11.0
Release 11.5.10.2 Release
12.1.1
11.5.1 11.5.8
Release 11.5.10 CU2
Release 12.1.1
11.5.9, or 11.5.10 (base,
CU1,CU2)
Release 12.1.1
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
R12 Technology stack installed on Apps Tier
Oracle 10g Application Server (AS) 10.1.2
Oracle 10g Application Server (AS) 10.1.3
Oracle Developer 10g (includes Oracle Forms)
Java (J2SE) native plug-in 1.6.0_10
Java Developer Kit (JDK) 6.0
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
System Requirements
CPU Requirements
The size of the database
The amount of data in the primary product installation group
The number and duration of long-running processes associated with
products in this release
Memory Requirements
Number of concurrent users
Infrastructure requirements for multi-tiered architecture

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Size
Consider the products.
Number of languages being installed.
And changes in the data model.

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Tablespace Model
R12 uses the Oracle Applications Tablespace Model (OATM)
OATM uses 12 locally managed Tablespace for all products
including
Temporary tablespace
System tablespace
System-managed undo (SMU) tablespace.
Extent Size
For Small systems (upto 100GB) 128k
For Multi Tera byte systems 4-10MB
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Scheduling Time for an Upgrade
Reducing Upgrade Downtime
Performing certain product-specific tasks before
Use Cloning methodology and a test file system to upgrade production
system.
Backup
Strongly recommended to take backup of entire System


iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Initialization Parameters
Change the following initialization parameters as specified below
for upgrade process. Once the upgrade process completes, reset
the parameters back.
db_file_multiblock_read_count
Remove this parameter. (this is not required).
_db_file_optimizer_read_count = 8
(default setting is 8. Keep default setting).
job_queue_processes
(set the value of this parameters equal to number of CPUs).
parallel_max_servers
(set the value of this parameters equal to twice the number of CPUs).
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Initialization Parameters
Cont..
pga_aggregate_target
For 11g
_pga_max_size=104857600 (restart the database after changing it)

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Temporary Tablespace
Drop the existing TEMP tablespace
Create a New TEMP tablespace as a locally managed tablespace
with uniform allocation size.
Verify using following query

select CONTENTS,EXTENT_MANAGEMENT,ALLOCATION_TYPE from
dba_tablespaceswhere tablespace_name='TEMP';
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Select the path to upgrade
E-Business Suite Releases Available Paths
11.5.9 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
11.5.9 CU2 with 9.2.0.x or 10.1.0.x database Path A or Path B
11.5.9 CU2 with 10.2.0.2 database Path B
11.5.9 CU2 with 10.2.0.3 database Path B or Path D
11.5.9 CU2 with 10.2.0.4 database Path B or Path D
11.5.10 (base or CU1) with 9.2.0.x or 10.1.0.x database Path A
11.5.10.2 with 9.2.0.x or 10.1.0.x database Path A, Path B, or Path C
11.5.10.2 with 10.2.0.2 database Path B or Path C
11.5.10.2 with 10.2.0.3 database Path B, Path C, or Path D
11.5.10.2 with 10.2.0.4 database Path C or Path D
11.5.10.2 with 11.1.0.6 database Path C or Path E
11.5.10.2 with 11.1.0.7 database Path C or Path E
11.5.10.2 with 11.2.0.1 database Path E
Preparing for the Upgrade
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Overview
Step 1: Apply 11i.AD.I.6
Step 2: Run TUMS utility
Step 3: Database and System Administration Tasks
Step 4: Perform Product Specific Tasks
Step 5: Prepare for Upgrade
Step 6: Migrate or upgrade your database to at least Oracle 10g
Release 2
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 1: Apply 11i.AD.I.6
Apply latest AD patch level. p6502082_11i_LINUX_AD.I.6

SQL> select patch_level from fnd_product_installations where
patch_level like %AD%;

PATCH_LEVEL

11i.AD.I.6
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 2: Run TUMS utility
Examines current configuration
Creates a report detailing which of the tasks in these instructions
to complete and ignore.
Apply Patch 7705743, adtums.sql need to run to generate the
TUMS report tumsr12.html

$ cd $AD_TOP/patch/115/sql

$ sqlplus <APPS username> / <APPS password> @adtums.sql
<directory>

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 3: Database and System Administration Tasks
1 : Perform the Complete Backup for
Database
Applications
Customizations
2 : Upgrade Plan for Customizations
For custom Database Objects , rename objects name having Product
prefix.
Preserve the CUSTOM backup by take custom.pll file. Late it can be
used to migrate to new release.
Customized forms with 6i will need to upgrade to 10g.
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 4 : Perform Product Specific Tasks
Customer Relationship Management Tasks
Financials and Procurement Tasks
Leasing and Finance Management Tasks
Projects Tasks
Public Sector/University Tasks
Supply Chain Management Tasks
Database Upgrade

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 5 : Prepare for Upgrade
1 : Gather schema statistics for CBO
Submit a Concurrent Request Gather Schema Statistics by providing
schema name to All. It is a Required Step
2 : Take cold Backup of the Database
3: Run Rapid Install
Run Wizard to lay down the file system and install the new technology
stack for the upgraded version.
It may have errors because of the database has been yet upgraded.
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run Rapidwiz
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run rapidwiz: Select Upgrade Action
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run rapidwiz: Select the Port Pool
Cont..
On the Database Node Configuration screen, describe your existing
database.

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run Rapidwiz
Cont..
After completing all required details, click Next to continue.
Enter the Character set and NLS Details, Click Next
Enter Primary Node and other Node Details and click on Next
It performs the pre-install checks



iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run Rapidwiz
Cont..
Click on Next , Review the Installations list and Click Next to Start
The Installation
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Run Rapidwiz
Cont..

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Step 6: Migrate or upgrade your database to at least
Oracle 10g Release 2
Oracle Application 11.5.9
with CU 2
Oracle Application 11.5.10
With CU 2
Oracle Database 10gR2
Oracle Database 11g
Certified with
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Upgrade
Shut down Applications server processes and database listener
Prepare to upgrade
Run Database Upgrade Assistant ( Oracle Database Upgrade Guide
11g Release 1 (11.1) )
Upgrade Database instance
Perform the steps from the "Run the Pre-Upgrade Information Tool"
section to the "Upgrade the Database Using the Database Upgrade
Assistant
Set Auto Extend for SYSAUX Tablepsace and recommended size is
500MB of size.
Modify the Parameter as per the Metalink Note Id:216205.1
Perform 11.1.0.7 patch set post-installation tasks (Except 9.1,9.2 and
9.12 Sections)
Compile the PL/SQL Codes

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Upgrade
Cont..
Post Database Tasks
Start the New Database Listener
Run adgrants.sql from $APPL_TOP/admin
Grant create procedure privilege on CTXSYS
Copy $AD_TOP/patch/115/sql/adctxprv.sql to database server node and
run using following command:



Run Autoconfig at database node

$ sqlplus apps/<APPS password> @adctxprv.sql \
<SYSTEM password> CTXSYS
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Database Upgrade
Cont..
Gather Statistics for sys schema




Re-create Grants and Synonyms
1. run AD Administration
2. select the "Recreate grants and synonyms for APPS schema" task from
the Maintain Applications Database Objects menu.
$ sqlplus "/ as sysdba"
SQL> shutdown normal;
SQL> startup restrict;
SQL> @adstats.sql
SQL> shutdown normal;
SQL> startup; SQL> exit;
Upgrade Process
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Overview
Step 1 : Perform the Upgrade
Step 2 : Finishing Upgrade

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Perform the Upgrade
The following tasks are need to perform during the upgrade downtime. Under this
step.
Disable AOL Audit Trail
As a System Administrator Responsibility Navigate to Security=>Audit Trail
=> Group, set the Group, Set the field to Disable.
Run Audit Trail Update Tables report from the Submit Requests window
Shut down application tier listeners and concurrent managers
Update init.ora with upgrade parameters. (Refer steps in Planning for
Upgrade)
Disable custom triggers, constraints, and indexes
Can be enabled after the Upgrade.
Drop MRC schema
MRC_APPS schema is no longer needed, dropping it frees space and
reduces processing overhead during the upgrade.
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Perform the Upgrade
Cont..
Back up the database (recommended)
Perform a Cold Backup
Ensure that Maintenance Mode is enabled

Apply AD 12.1.1 upgrade driver (required)
Download and unzip the AD Upgrade Driver for 12.1.1 (patch 7461070).
Use AutoPatch to run it on all application tier server nodes on your
Release 12.1.1 APPL_TOP.
Run the American English upgrade patch driver (required)
Use AutoPatch to run the (American English) unified driver
(u6678700.drv). It is located in $AU_TOP/patch/115/driver.
Run the driver on the administration server node on updated Release
APPL_TOP using the following commands:
$ adpatch options=nocopyportion,nogenerateportion
select FND_PROFILE.VALUE('APPS_MAINTENANCE_MODE') from dual
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Perform the Upgrade
Cont..
Apply latest product patches (required)
Apply Latest Patches for Specific Products. It can be merged using
admrgpch and apply once.
Disable Maintenance Mode (required)
After upgrade Disable Maintenance Mode from adadmin.
Reset init.ora parameters (required)
Reset the init.ora parameter which was changed before upgrade
process.
Backup Oracle Applications
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Finishing Upgrade
Configure and start server processes (required)
1) Update the RDBMS ORACLE_HOME file system with AutoConfig files.
Login as applcrp2 on ERPTEST and source the environment file.
Run admkappsutil.pl:
perl $AD_TOP/bin/admkappsutil.pl
Script will generate appsutil.zip under $INST_TOP/admin/out
directory.
Copy appsutil.zip into and unzip RDBMS ORACLE_HOME.
Run AutoConfig on the database tier nodes.
$ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>/adautocfg.sh
2) Configure and start server processes
Start Rapid Install by typing rapidwiz on the command line
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Finishing Upgrade
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Finishing Upgrade
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
/oracle/erptest/appl/inst/apps//iware_erptest/appl/admin/iware_
Finishing Upgrade
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Finishing Upgrade
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Finishing Upgrade
Cont..
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Click Next and Complete the configurations.
Reapply the Customizations.
Re-integrate the custom application, make necessary changes in
devenv.env / adovars.env and restart the services effect the changes
made.
Integrate custom objects and schemas
Re-enable custom triggers, constraints, and indexes

Finishing Upgrade
Cont..
Post Upgrade Tasks
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Overview
Post Upgrade Tasks
Upgrade R12.x.x to R12.1.1
Upgrade to R12.1.2

iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Post Upgrade Tasks
Complete Workflow Notification Mailer configuration
Log with System Administrator Responsibility having access to Oracle
Applications Manager.
From the Applications Dashboard, select the Workflow Manager from the
"Navigate to" pull-down menu. Click Go.
In the Workflow System region, click the Notification Mailers status icon to
navigate to the Service Components page. The Notification Mailers status
icon should show a status of Down.
On the Service Components page, select the Workflow Notification Mailer
service component and click the Edit button to navigate to the notification
mailer configuration wizard.
Enter Outbound Email Account (SMTP) and inbound (IMAP) server details
Click Apply.
Return to the Service Components page, and verify that the status of the
Workflow Notification Mailer service component status is Running.
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Post Upgrade Tasks
Cont..
Complete setup for Oracle XML Gateway
Profile Option Description
ECX: XSLT File Path Path to the directory specified as the location for style
sheets to be used for XSLT transformations. It must be
one of the valid values specified in the UTL_FILE_DIR
database initialization parameter. Ensure that there is
no slash at the end of the directory name.
ECX: System
Administrator
Email Address
Address to which Oracle XML Gateway error notifications
should be sent.
ECX: Server Time
Zone
Time zone the database server is running in
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Verify completion of concurrent programs
Install online help (recommended)
Update/verify custom responsibilities
Migrate custom development to new technologies
Migrate the CUSTOM library


Post Upgrade Tasks
Cont..
Note : Post Upgrade tasks depends on the
Application implemented and Setup environment
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Upgrade R12.x.x to R12.1.1
R12.0.1 R12.0.6 R12.1.1
R12.1.X
11.5.7 11.5.10.2
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Upgrade to R12.1.2
For Upgrade R12.0.4 R12.1.1
Metalink Note : 752619.1
Release 12.1.1 maintenance pack Patch 7303030.

Metalink Note : 949406.1
For Upgrade R12.1.1 R12.1.2
E-Business Suite Release 12.1.delta.2 Release Update Pack (12.1 RUP2)

Help Upgrade for R12
12.1.1 Help (7303031)
12.1.2 Help (7303032)
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Metalink References
Details Doc Id
Estimate tablespace sizes for test upgrade 399362.1
E-Business Suite Release 12 Upgrade Sizing and Best Practices 399362.1
Initialization parameters 396009.1
Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade

761570.1
Oracle Applications Release 11i with Oracle 11g Release 1 (11.1.0) 452783.1
Oracle E-Business Suite Readme, Release 12.1.2 949406.1
Oracle 10gR2 Database Preparation Guidelines for an E-Business Suite Release 12.0.4 upgrade

403339.1
Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade 761570.1
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Summary
Planning for Upgrade
Best Practice for Upgrade
Oracle Application Upgrade Path
Select the path to upgrade
Preparing for the Upgrade
Apply 11i.AD.I.6 and Run TUMS utility
Prepare for Upgrade
Migrate or Upgrade your database to at least Oracle 10g Release 2
Upgrade Process
Perform the Upgrade
Finishing Upgrade
Post Upgrade Tasks
Post Upgrade Tasks
Upgrades to R12.1.2
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
iWare Logic's Oracle DBA and Apps DBA Services
iWare Logic, an Oracle Gold Partner, focuses on Oracle Enterprise Applications. We
provide expertise to our customers in the efforts to Implement and Support
Oracle's Enterprise Business Applications and Technologies.
iWare Logic's Oracle DBA and Apps DBA Services
iWare Logic has highly experienced Oracle DBA and Oracle Apps DBA team and.
We offer a range of Onsite and Remote Oracle DBA and Oracle Apps DBA support
and services,
Installations, Configurations
Migrations
Upgrades (releases 11.0, 11i, and R12)
Onsite Support
Remote Database Support
AMC (Annual Maintenance Contracts)
Database Audits and Recommendations
Clones and cloning automation
Patching
Capacity and maintenance planning
Training
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Questions and Answers
iWare Logic Technologies www.iwarelogic.com
Copyright 2005-2010 iWare Logic Technologies Pvt. Ltd.
Thank You
iWare Logic Technologies Pvt. Ltd.
Aditi Samruddhi,
Baner, Pune,
India - 411045

Email: oracleconnect@iwarelogic.com
Website: www.iwarelogic.com