Power point 707 tips on successfully upgrading apps 11i for the non apps dba

22
707- Tips on 707- Tips on Successfully Upgrading Successfully Upgrading Applications 11i for Applications 11i for the Non-Apps DBA the Non-Apps DBA Christina Zanoni ALAS, Inc.

description

Presentation given at the 2002 IOUG Conference in San Diego, CA

Transcript of Power point 707 tips on successfully upgrading apps 11i for the non apps dba

Page 1: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

707- Tips on Successfully 707- Tips on Successfully Upgrading Applications 11i for Upgrading Applications 11i for the Non-Apps DBAthe Non-Apps DBA

Christina ZanoniALAS, Inc.

Page 2: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Introduction Introduction

Upgrade of Non-customized Oracle Applications version 10.7NCA to 11.5.3 on Windows NT

Useful Experience– Oracle Applications– Oracle 9i Application Server (9iAs)

Page 3: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

AgendaAgendaWhat is Oracle Applications?Understanding the Upgrade ProcessPreparing for the UpgradeServer Configuration for Apps 11iPerforming the UpgradeTips on Solving Upgrade IssuesThe Importance of Documentation

Page 4: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

What is Oracle Applications?What is Oracle Applications?

Set of financial management and accounting applications

Provides over 150 modulesUses stored procedures and functions “Concurrent managers” - execution queues

that process reports and complex tasks

Page 5: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Oracle Applications ModulesOracle Applications Modules

Data and code stored in individual schemasDependent on other more general schemasUsers access data in modules through

granted “Responsibilities” (e.g. System Administrator, Receivables Manager)

Page 6: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Oracle Applications Modules - Oracle Applications Modules - DependenciesDependencies

APPS

GL

AP AR

CE

Note: This diagram does not include all dependencies!

Page 7: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Understanding the Upgrade Understanding the Upgrade ProcessProcess

Pre-upgrade Steps (Categories 1-3) AutoUpgrade

– Acts as a manager that coordinates WORKERS

– Assigns workers jobs to convert, compile, translate, or upgrade objects

– Workers need to be monitored with the AD Controller utility (ADCTRL) and fixed if necessary

Post-upgrade Steps (Categories 4-6) Finishing Steps (After Post-upgrade steps)

Page 8: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Preparing for the Upgrade – Preparing for the Upgrade – Required ReadingRequired ReadingOracle Applications Concepts ManualOracle Applications Upgrade ManualMaintaining Oracle Applications ManualOracle Applications Release 11i Notes –

download most recent version from MetalinkOracle Applications Installation Manual Oracle Applications Installation Update

NotesApplications Issues Document on Metalink

Page 9: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Preparing for the Upgrade – Preparing for the Upgrade – Upgrade ResourcesUpgrade Resources

11i Upgrade Section of Oracle Appsnet http://www.oracle.com/appsnet/technology/upgrade

Attend local Oracle Applications User Group meetings http://www.oaug.org/geo/geoweb.html

Join listserv - http://www.oaug.org/public/oaugnet/oaugnet.html

Page 10: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Applications 11i Server Applications 11i Server Configuration – 3 TierConfiguration – 3 Tier

Database Tier

Middle Tier

Desktop Tier

Database Server (Oracle8i Enterprise Edition)

Applications Technology Stack (8.0.6 Oracle Home)

(Includes the Admin, Concurrent Processing, Forms, Reports, and Apache Web Servers)

JInitiator within a Standard Web Browser

Page 11: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

ALAS’ Server Configuration – ALAS’ Server Configuration – Single Node InstallSingle Node Install

Advantages– Simple Maintenance

Disadvantages– Complex Application Tuning– Fail Over Server does not exist

JInitiator within a Standard Web Browser (IE 5.5 & 256 MB RAM for desktops)

Database Server & Applications Technology Stack (dual 500Mhz CPU,

1 GB RAM, 54 GB of hard disk space)

Page 12: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Applications Release Applications Release MaintenanceMaintenance Required tools for Release Maintenance on Windows

NT/2000– Microsoft Visual C++– MKS Toolkit – emulates the Unix environment– gnu make 3.79.1

Applications Patching Steps– Back up Oracle Applications and database servers– Shut down all forms services, web listener services, and concurrent

manager services– Verify that the database and database listeners are running – Execute command file under APPL_TOP to set Applications

Environment – run ADPATCH

Page 13: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Servers Used during UpgradeServers Used during Upgrade

Applications 10.7NCA/Oracle 7.3.4 database server (dual 350Mhz CPU, 1 GB RAM, ~30 GB of hard disk space)

Applications 10.7NCA/Oracle8i database server (dual 500Mhz CPU server, 500 MB RAM, ~30 GB of hard disk space)

Applications 11i server (dual 500Mhz CPU server, 1 GB RAM, 54 GB of hard disk space – added an additional 18 GB after upgrade)

Page 14: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Performing the UpgradePerforming the Upgrade

5. Create full export of Oracle 7.3.4 database

6. Copy export to 8.1.6 server

1. Install Release Maintenance Tools

2. Run Rapid Install3. Apply most current AD

and family consolidated patches in pre-install mode

7. Import Oracle 7.3.4 database export into Oracle 8.1.6 database

8. Run adprepdb & apply Interop Patches

9. Categories 1-3 steps10. Copy dbf files to Apps

11i server

Apps 10.7NCA/7.3.4 Apps 10.7NCA/8.1.6 Apps 11i

11. Autoupgrade12. 11.5.0 to 11.5.3 database

driver13. Categories 4-6 steps14. Final upgrade steps15. Production!

4. Install Oracle 8.1.6

Page 15: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Summary of UpgradeSummary of Upgrade

Started at 6:00pm on Friday and completed at Noon on Wednesday

Data file sizes– ~7 GB prior to upgrade– ~ 14 GB after upgrade

8 weeks of acceptance testing prior to Upgrade found most issues

6 weeks of parallel testing after Upgrade found very few issues

Page 16: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Upgrade Timing by CategoryUpgrade Timing by Category(Production Upgrade)(Production Upgrade)

Oracle 8.1.6 database upgrade – 8 hrs Categories 1 and 2 steps – 4 hrs Category 3 steps – 8 hrs AutoUpgrade – 13 hrs Database driver for 11.5.3 upgrade– 15 hrs Post Category and Finishing Your Upgrade Steps – 3 hrs Fix Acceptance testing issues – 5 hrs Run Gather Schema Statistics for All Schemas – 4 hrs Address new issues during production upgrade – 36 hrs Total Time : 96 hours

Page 17: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Solving Upgrade IssuesSolving Upgrade Issues

Search Metalink notes and bugs for solutions

Example of solving an upgrade issue– Received an oracle error: ORA-25150 that

caused all the workers to fail during AutoUpgrade

– Logged on to Metalink and searched on “ORA-25150”

Page 18: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Solving Upgrade IssuesSolving Upgrade Issues(continued)(continued)Creating an iTar

– Information to submitCategory Step Log files, including adpatch.log & adwork0x.logScript name and header information that caused

error List of patches applied

Updating an iTar– 3 updates = immediate call back status

Page 19: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

The Importance of DocumentationThe Importance of Documentation

Document each pre-category, category, and post-category step of the upgrade in detail

Document the amount of time that each step took to complete

Document every issue and solutionFollow the exact steps in your

documentation during the production upgrade

Page 20: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

SummarySummaryPrepare before starting the upgradeHave a solid understanding of the

components and configuration for Apps 11i server

Document each upgrade step and timing in detail

Allow enough time to address any issues that arise during the upgrade

Practice, Practice, Practice

Page 21: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Lessons LearnedLessons Learned Gather schema statistics on a frequent basis for

Cost Based Optimizer (CBO)– Beginning with 11i, all query optimization uses

CBO – Tables must be analyzed for CBO to effectively

determine the best execution plan for SQL statements

Upgrade database to Oracle 8.1.7 to avoid Ora-3113 errors when gathering schema statistics

Allow enough disk space for growth of data files and Applications maintenance packs

Monitor growth of Locally-managed Tablespaces

Page 22: Power point 707 tips on successfully upgrading apps 11i for the non apps dba

ALAS, Inc.

Questions?

[email protected]