58
Session ID: Prepared by: Demystifying the Secrets of R12.2 Upgrade Optimizing E-Business Suite R12.2 upgrade 40464 Preet Singh IT Convergence

COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Embed Size (px)

Citation preview

Page 1: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Session ID:

Prepared by:

Demystifying the Secrets of

R12.2 Upgrade

Optimizing E-Business Suite

R12.2 upgrade

40464

Preet Singh

IT Convergence

Page 2: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Presenter

• Preet Singh• Operations Director

• IT Convergence

• 15+ Years of Oracle Application Experience

• 10+ Years of rich experience with Fortune 50+ (Citi, TimeWarner (HBO) & Sherwin)

• Head of Database Services at IT Convergence since 2011

• DBA Project Manager for R12.2 Beta Program & Early Adapter Program at IT Convergence

• DBA Executive Leader for R12 upgrade services

• DBA Executive Leader for SOA/Middleware services

• Head of DBA Center of Excellence, SWAT & ATG Engineering at IT Convergence

2

Page 3: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

About IT Convergence

• Premier Global Oracle Services Company

• Consulting, Education, Development, Testing,

• Hosting & Managed Services

• International Staffing / Delivery Model

• Deep relationship with Oracle Development – 12.2 Beta

Partner

• Oracle Platinum Partner and OAUG Star Partner Level

Five

• Recognized by Gartner

• 80+ R12 Upgrades Plus Roll Outs and Training

Workshops

• Focus is Long-Term Business Relationships

• Full-Service Oracle Provider with 850+ FTE’s globally

3

Page 4: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Agenda

4

Page 5: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Taking our own Medicine

5

Page 6: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Overview & Key Reasons to Upgrade

6

Page 7: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

E-Business Suite Support Timeline

• Oracle Premier & Extended Support Expired for 11i

• Premier/Extended Support expiring soon for R12

• R12.2.5 - Latest Available Release & Stable

7

Page 8: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Why Upgrade to R12.2

• 11i & R12.1 reaching End of Life Cycle

8

Page 9: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

E-Business 12.2 Upgrade Path

• Direct upgrade path supported for 11.5.10.x & R12.x

• R12.2.5 - Latest Available Release & Stable

9

Page 10: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

E-Business Suite R12.2 Architecture

• Introduction of WebLogic Server vs 10gAS/9iAS

• Source : Oracle Support Doc # 1934915.1

10

Page 11: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Transitioning from 11i to R12.2

• You get to retain your existing Modules + Added Functionality & Feature

• Source : Oracle

11

Page 12: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

R12.2 Solution Landscape

• Explore the endless possibilities of R12.2 Features

• Source : Oracle

12

Page 13: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Key Advantage – Online Patching

• Online Patching Support – Reduce downtime

• Take Advantage of New Features

• Source : Oracle

13

Page 14: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Database Edition based online Patching

• E-Business suite available during Patching

• Downtime Window predictable and in minutes

• Patches are applied while Application remain Online

14

Page 15: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Online Patching – Things to keep in mind

• Since R12.AD.C.Delta.5 “downtime” mode can be used. No online patching compatibility and is quicker

• R12.2 patches are not normally tested in downtime mode. It is only supported where explicitly documented or when directed by Oracle Support or Development (e.g. 12.2.4 or 12.2.5 RUP)

• Be aware that all custom code need to be registered in preparation for an upgrade to R12.2, so that it is compliant with Online Patching standards

• This must be done prior to upgrading to R12.2 upgrade. The Online Patching Readiness Report, Manual Fix Readiness Report, Global Standards Compliance Checker script and Online Patching Database Compliance Checker can be used to support this process

15

Page 16: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Managing customizations

• Objects which need to be Editioned

• Custom and Third party schemas

• Enabling Editioning for EBS users

• Applying customizations

• Defining customizations with Custom

Synchronization Driver File

• Refer to Oracle Note : 1577661.1, "Developing and

Deploying Customizations in Oracle E-Business

Suite Release 12.2."

16

Page 17: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Questions to ask?

• Is your EBS out of support?

• Are you out of compliance for Hardware?

• Are you planning an upgrade to latest OS?

• Does your Database need to be upgraded?

• Does your infrastructure need Platform Migration?

• Are you planning to move to Virtualization?

• Are you planning an upgrade to Storage?

• If your answer is Yes to any of above questions then

you are thinking in right direction for R12.2 upgrade

17

Page 18: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Questions to ask?

• Does your business require New functionality?

• Is your organization planning to implement advanced Security Options?

• Is Downtime and High Availability becoming more critical for your business?

• Are your users demanding Mobile access and Tablet compatibility?

• Are you looking for Cloud based solutions?

• Are you planning Minor upgrade to Environment?

• If your answer is Yes to any of above questions then you are qualified for R12.2 upgrade

18

Page 19: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 Upgrade

19

Page 20: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

R12.2.5 Upgrade Phases

• High Level Overview of R12.2 Upgrade Process

• R12.2.5 - Latest Available Release & Stable

20

Page 21: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 Upgrade - Preparations

• Create Repeatable & Reliable Process

• This is key to a successful upgrade

• Define Scope

• Review Certification

• Project Plans

• Execution Plan

• Adopt best Practices

• Utilize Upgrade Advisors

• Repeatable Process

• Stick to the Plan

21

Page 22: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 Upgrade - Preparations

• Ensure Hardware and Software Stack is fully certified for R12.2 E-Business suite version

• Review Database and E-Business Suite Certification at Oracle My Support certification Tab

• Check E-Business Suite R12.2 Interoperability Notes to ensure all Products are certified to run with R12.2

• Check Hardware and Virtualization Certification to ensure you are deploying supported Architecture

• Verify and confirm Licensing obligation with your Oracle Rep – VIMP otherwise you will be charged for any product which was enabled during upgrade process

• Check certification of all Third Party Products with R12.2. Ex: In Oct 2014, R12.2 was not certified with KoFax, Markview. We had to work with KoFax development team to develop upgrade Path for KoFax and give us latest certified version compatible with R12.2

22

Page 23: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

R12.2 Readiness Report

• Report is key for starting R12.2 upgrade

• Online patching Readiness Report (MOS Doc ID

#1531121.1)

• Online patching Analysis Report (Patch #16236081)

• Available for all releases prior to 12.2

• Reports all violations of “Non-Editioned Objects

can’t reference Editioned Objects”

• Some EBR violations are automatically fixed by the

12.2 upgrade

• The report is key to determine the scope of effort on

custom code

23

Page 24: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Infrastructure Layer Tuning

• Scale up CPUs and Memory – As per Licensing

• Bump up Virtualization resources

• Move Database to high performance storage. Ex: ASM

• If Database is on NFS, implement Oracle dNFS as it would increase the upgrade speed by 3.5x. Utilize explicit NFS settings recommended by Oracle

• Implement “huge pages” to offload your CPUs

• Avoid running upgrades on RAC nodes as you may end up In locking situations or performance issues due to interconnect and parallel threads at application end (parallel adworkers)

• Rather shift CPUs from secondary RAC node or UAT to Production Database Tier

24

Page 25: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Infrastructure Layer Tuning

• Often overlooked – Vital for Performance

25

Page 26: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Turbocharge R12.2 Upgrade with

Hardware Migration

• Killing 2 birds in 2 stone

• Setup Standby

• Enable Flashback

• Enable DR site

• Perform Smoke test

• Preserve Standby and App File system – No

change allowed

• Perform R12.2 upgrade during Go-Live on new

Hardware

• This reduces Risk and maximizes Recovery options

26

Page 27: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Database Layer Tuning

• Tune Database for optimal upgrade Performance

• Perform major Database upgrade as Phase 1

27

Page 28: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Database Layer Tuning

• Tune Database for optimal upgrade Performance

28

Increase SGA

to 60% of

Memory

Set & Increase

_pga_max_size

Adjust DB Params

-

Job_queue_proc

Parallel_max_serv

2x of CPUs

Bump up

java_pool,

streams_pool

Shared_pool

Job_queue_proc

X

Apply Latest PSU

Turn Off

Recycle Bin

Recreate Redo

with 2GB+ &

No Mirroring

No Archive

Log Mode

-

Disable

Flashback

Disable

Transparent

Data

Encryption

Page 29: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Database Layer Tuning

• Database Preparation Guidelines for an Oracle E-

Business Suite Release 12.2 Upgrade (Document

1349240.1)

• Ensure that the large tables populated or modified

by the release 12.2 upgrade have a large extent

size (1-10MB). Small extents will seriously limit the

AD Parallel batch size used. They will also increase

the occurrence of high water mark waits

• Disable Auditing

• No Archive Log Mode

• Disable Flashback

• Disable Recycle Bin

29

Page 30: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Database Layer Tuning

• Drop Custom Indexes, Triggers

• Drop Custom Materialized Views

• Truncate Mlogs – This can significantly reduce

downtime

• Gather Schema Stats

• Gather Fixed Object and Dictionary Statistics

• SQL Monitor Report / Patch Timing Report

• Disable or drop any DBMS Scheduler, DBMS Jobs

& Autotask activities during the Upgrade

• Disable unwanted custom VPD policies

• Disable TDE from high volume Tables

30

Page 31: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 – Application Layer

• Global Standard Compliance Checker and

Readiness Report

• Purge all Data that is no longer needed

• Purge Attachments (LOBs)

• Purge Workflow

• Flush all the interfaces, such as Auto Invoice,

Journal Entry Import, Order Import etc.

• Drop MRC Schema if it still exists (Upgrade from 11i

only)

• Take care of all CEMLI & Customizations

• Migrate SLA Data

31

Page 32: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 – Application Layer

• Purge & Archive unwanted Data

• Source : Oracle

32

Page 33: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 – Application Layer

• Convert to the new Multiple Organizations (Multi-

Org) architecture (Upgrade from 11i only)

• Utilize Parallel AD & Parallel Autoconfig to speed up

Pre & Post Upgrade Steps

• Gather the schema statistics (with GATHER_AUTO

option for all schemas) close to the start of the

downtime. Use FND_STATS or Gather Statistics

concurrent programs

• Perform Dry Run before Go-Live

• Freeze any Code Migrations before Dry Run

33

Page 34: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 – Application Layer

• Apply latest available Online Patching Enablement

Patches

• Applying the Latest AD and TXK Release Update Packs

to Oracle E-Business Release 12.2 (Doc 1617461.1)

• Oracle E-Business Suite Release 12.2: Consolidated List

of Patches and Technology Bug Fixes (Doc 1594274.1)

• Include & apply latest available Module Patches

• Include & apply latest available CPU & Security Patches

• And of Course apply latest Oracle E-Business Suite

12.2.5 Release Update Pack (Patch 19676458)

• And Oracle E-Business Suite Online Help for 12.2.5

Release Update Pack (Patch 19676460)

34

Page 35: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Optimizing R12.2 – Application Layer

• Use The Upgrade Manual Script(TUMS) to avoid running tasks that are not relevant to R12.2 (Upgrade from 11i Only)

• Consider running Paralle AutoConfig and Distributed AD on a multi-node system

• Minimize Historical Data To Be Upgraded (Upgrade by Request) (Upgrade from 11i Only)

• Parallelize pre and post upgrade technical activities

• Define separate concurrent manager queue for post upgrade jobs. If using RAC then “Parallel Concurrent Processing (PCP)” could be used for post-upgrade concurrent jobs

• Review Resource Manager to ensure that upgrade sessions have access to all resources

35

Page 36: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Tech Stack considerations

• Perform R12.2 upgrade by utilizing single file

system. It is NOT recommended to add nodes to

12.2 Rapid Install upgrade file system until AFTER

the upgrade to the latest 12.2.x RUP is complete.

• Thus previous advice of using Distributed AD and

Shared APPL_TOP is not applicable. Though this

can be utilized for Post upgrade Steps.

• ‘‘Defer Upload of Patch Information’‘ option cannot

be used, as subsequent patches may rely on

information from previous patches. The Release

12.2 upgrade is a series of patches.

• Use maximum of 1 x # of CPU for AD workers

• Use 1 x # of CPU Job queue processes

36

Page 37: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Big Bang vs Phased Approach

• Phased Approach

Perform any RDBMS Upgrade, Platform Migration,

Conversion to OATM prior to R12.2 upgrade window, into

a separate downtime period

• Big Bang Approach

Plan and perform OATM, Database upgrades and

Platform Migration prior to R12.2 upgrade

• Both the approaches have it’s own Pros & Cons.

• Downtime requirement by business will dictate

which approach to chose from. Carefully evaluate

the pros and cons and chose an approach.

37

Page 38: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Testing Upgrade Process

• Performance test the entire upgrade process on a system that is identical or comparable to the production system with same Architecture (Similar CPU, IO, Memory and data volumes/ages)

• Recommendation is to procure Production Hardware ahead of time and perform multiple iteration on Production Hardware including Dry Runs to have predictable timeline and process. This eliminates any surprises during Production Go-Live

• Start performance testing immediately after First Upgrade Iteration or as early as possible

• Allow time for multiple iterations of performance testing so that performance issues can be resolved and upgrade timing is reduced to desired results

• Tune all Long running SQLs

38

Page 39: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Testing Upgrade Process

• Apply “Break your New Shoes” theory !

• It’s Painful, avoid these costly mistakes

39

Page 40: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Plan your Upgrade

• Most Important – Planning, Planning & Planning

• “By failing to prepare, you are preparing to fail” - Benjamin Franklin

40

Page 41: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Plan your Upgrade

• Sample Timeline using OUM Methodology

41

Page 42: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Plan your Upgrade

• Well defined Sample Resource Plan

42

Page 43: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Plan your Upgrade

• Resource Planning

• Assign separate Resources for Implementation vs

Day to Day support

• Often mistake is been made to assign

implementation DBAs to the project ignoring the

need for Day to Day support

• This often results in implementation team running

out of cycles for providing day to day Support

• Assign dedicated Implementation vs Support team

to the project

43

Page 44: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Plan your Upgrade

• Keep enough buffer for Go-Live window to account

for delays and give breathing room to team

• Have your Coffee or Tea. Your preference!

• Take Rest & Relax. Don’t stress!

• Above all, stick to the Plan. Do not deviate. This is

where blunders are made. Every time I see an urge

to make change during Go-Live you will run into

issues. Production Go-Live has to be exactly the

replicate of UAT and Dry Runs. I cannot stress this

enough. Regardless of business pressure, stick to

the plan.

• Enjoy your successful Upgrade !!!

44

Page 45: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References & Appendices

45

Page 46: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

12.2 Case Study: Oil and Gas Company

46

Page 47: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

12.2 Case Study: International Consumer

Goods Company

47

Page 48: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

12.2 Case Study: Coal Producing and

Exporting Company

48

Page 49: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

12.2 Case Study: International Oil and

Gas Company

49

Page 50: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Oracle References to Help with Upgrade

• Direct upgrade path supported for 11.5.10.x & R12.x

• Source : Oracle

50

Page 51: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• All of the content and references in this presentation are

based on Oracle Documentation and are available within

My Oracle Support Website.

• Best Practices for Minimizing Oracle E-Business Suite

Release 12 Upgrade Downtime (Doc ID 1581549.1)

• Oracle E-Business Suite Upgrade Guide Release 11i to

12.2. Especially Planning for an Upgrade (Chapter 1) and

appendices Reducing Downtime (F) and Upgrade By

request (H)

• Oracle E-Business Suite Upgrade Guide Release 12.0

and 12.1 to 12.2. Especially Planning for an Upgrade

(Chapter 1) and Preparing for the Upgrade (Chapter 2)

• Oracle E-Business Suite Setup Guide, Release 12.2

(OATM and AutoConfig)

51

Page 52: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• Oracle E-Business Suite Maintenance Guide Release

12.2

• Oracle E-Business Suite Developer's Guide, Release

12.2. Especially Sections 3. Preparing for Online

Patching, 4. Preparation of Customizations in a Release

12.2 Upgrade and 5. Handling Customizations in an

Online Patching-Enabled Environment

• Oracle E-Business Suite Concepts, Release 12.2

(AutoConfig)

• Oracle E-Business Suite Patching Procedures, Release

12.1 and Release 12.0

• Oracle Applications Maintenance Utilities, Release 11i

• Oracle E-Business Suite Multiple Organizations

Implementation Guide, Release 12.1

52

Page 53: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• Oracle E-Business Suite System Administrator's Guide –Configuration, Release 12.1 (OATM)

• Oracle Applications System Administrator’s Guide -Configuration, Release 11i (OATM)

• Oracle E-Business Suite Installation Guide: Using Rapid Install, Release 12.2 (Middle Tier Sizing)

• Oracle Database VLDB and Partitioning Guide - ‘‘How Parallel Execution Works’‘ and ‘‘Tuning General Parameters for Parallel Execution’‘ sections

• Oracle E-Business Suite Release Notes, Release 12.2 (Document 1320300.1)

• Oracle E-Business Suite Release 12.2: Suite-Wide Rollup and AD/TXK Delta Information (Document 1583092.1)

• Oracle E-Business Suite Release 12.2: Technical Planning, Getting Started, and Go-Live Checklist (Document 1585857.1)

53

Page 54: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• Applying the Latest AD and TXK Release Update Packs to Oracle E-Business Suite Release 12.2 (Document 1617461.1)

• Database Preparation Guidelines for an E-Business Suite Release 12.2 Upgrade (Document 1349240.1)

• Oracle E-Business Suite Release 12.2: Consolidated List of Patches and Technology Bug Fixes (Document 1594274.1)

• Best Practices for Gathering Statistics with Oracle E-Business Suite (Document 1586374.1)

• Fixed Objects Statistics (GATHER_FIXED_OBJECTS_STATS) Considerations (Document 798257.1)

• AD Command Line Options for Release R12 (Document 1078973.1)

• Oracle E-Business Suite Release 12.2: Upgrade Sizing and Best Practices (Document 1597531.1)

54

Page 55: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• R11i / R12: Oracle E-Business Suite Upgrades and Platform Migration (Document 1377213.1)

• Use of Multiple Organizations In Oracle Applications Release 11i (Document 210193.1)

• How to Send a File to Oracle Support Using FTPS (Document 464666.1)

• R12.1 and 12.2 Oracle E-Business Suite Pre-install Patches Report [Video] (Document 1448102.1)

• Reducing Your Oracle E-Business Suite Data Footprint using Archiving, Purging, and Information Lifecycle Management (Document 752322.1)

• Express Diagnosis of Oracle E-Business Suite Release 12 Upgrade Performance Issues (Document 1583752.1)

• Oracle E-Business Suite Performance Guide (Document 1672174.1)

55

Page 56: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

References to Help with Upgrade

• Database Initialization Parameters for Oracle E-Business Suite Release 12 (Document 396009.1)

• How to verify or create a Database Object using an odf(adodfcmp) or xdf (FndXdfCmp) file? (Document 551325.1)

• Oracle E-Business Suite SQL Trace and TKPROF Guide (Document 1674024.1)

• All About the SQLT Diagnostic Tool (Document 215187.1)

• How Does Adpatch Determine The Number Of Workers To Recommend? (Document 800024.1)

• Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 (Document 387859.1) – section ‘‘5.1. Running AutoConfig in Parallel Across Multiple Nodes’‘.

• Performance Diagnosis with Automatic Workload Repository (Document 1674086.1)

56

Page 57: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Question & Answers

57

• How to get in Touch !

Next Steps !

Page 58: COLLABORATE 16 Demystifying secrets of R12.2 upgrade_PPT

Demystify the Secrets of

optimizing E-Business Suite R12.2

upgrade

• Optimization

• Performance

• Turbo Charge your R12.2 Upgrade