The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.



Release 12.2 Online Patching introduction Carlo Beekman Senior Principal Support Engineer ATG Advanced Technologies

Agenda

• • • •

Reasons for implementing Online Patching in R12.2 Outline of Online Patching New Online Patching Cycle Preparing existing EBS environment for Online Patching

Reasons for implementing Online Patching in R12.2

EBS Downtime – A major Concern

• Production Outage – – – –

Major Release Maintenance Rollups (RUPs) Critical Patch Updates (CPUs) Legislative and Regulatory updates

• When outages interfere with core business activity – Reluctance to upgrade to take advantage of new feature – Barrier to staying current with recommended patches

• Global Single Instance – Compounds the problem – Patching any one module causes the entire system to be down

What if following is true during patching

• Critical business operations not interrupted by maintenance operations • Revenue generating activities were to stay online – Web Orders – Booking Orders – Service Requests

• Business users were to stay online – Pay Suppliers – Pay Employees – Uninterrupted manufacturing operations

• Downtime required by any patch was predictable – Measured in minutes not days or hours

• Global Single Instances remained operational 24*7 – Maintenance window easier to allocate as shorter time required

Outline of Online Patching

OnLine Patching (OLP)

• In 12.2 all patching operations are online – EBS will remain available to users during patching operations – HR Legislative updates can be applied during a payroll run – Users can enter expense reports while Payables is being patched

• Online patching is not… – A method that allows one to apply patches and then start services to test the patch before deciding if it should be made live

Patches applied to a copy of production Production

Copy of Production

E-Business Suite 12.2.0

Patches E-Business Suite - 12.2.2 12.2.0 -…

• Copy the production code • Apply patches to the copy

Copy the code, NOT the data

• EBS uses both the file system and the database to store the code and data that make up the application – Code • Stored both on the File system & In the Database • Any code object changed in a patch is copied

– Data • Stored both on the File system & in the Database • Application data is NOT copied by a patch

Downtime redefined as “Cutover”

• Cutover is the time taken to switch users from the production system to the newly patched copy • Cutover changes the unit of measure for downtime – Measured in minutes NOT hours or days

• Cutover time is very predictable – The time taken to bounce the Middle Tiers

Downtime limited to short Cutover Production

Patched Production E-Business Suite 12.2.0

E-Business Suite 12.2.0

Patches - 12.2.2 -…

• Users are logged off the production Instance • When users reconnect they are directed to the newly patched system

Changing the patching paradigm

• Downtime Patches

• Online Patches

– No online users

– Users remain online

– Wall clock time very important

– Wall clock time is no longer an overriding concern

– Consumes all resources – Upgrade designed to run as fast as possible

– Online users share resources – Data upgrades designed to not affect the running application

Patching occurs on a copy

• File system – All patches are applied to the secondary file system – Synchronization of the file systems is managed by the patching tools

• Database – A separate copy is maintained of all database code objects that are changed by a patch

• What is in place for this ?

Dual File System File System: 1

File System: 2

Oracle HTTP Server

Oracle HTTP Server

WebLogic Server

WebLogic Server

Developer 10.1.2 APPL_TOP

COMMON_TOP INST_TOP

Edition-Based Redefinition

Developer 10.1.2

Synchronization managed by patching tools

COMMON_TOP

File System: Non Editioned APPL_TOP_NE PATCH_TOP LOGS

APPL_TOP

INST_TOP

11gR2 Edition-Based Redefinition (EBR)

• The final piece in the high availability puzzle – Enables the online upgrade of the database tier – Allows an application to efficiently store multiple copies of its application definition in the same database

• Provides an isolation mechanism that allows pre-upgrade and post-upgrade schemas to co-exist – Changes to database objects are made in the isolation of an “Edition” – Changes to database objects do not affect the running application

• Commissioned by the Applications Division

Database Editions

• Client code chooses The Edition that it connects to – Run Edition • Used by online users • Never changed by a patch – Patch Edition • Used by the patching tools • Changes do not affect the running application

Editioned Database Objects • All code type objects support editioning • The Database automatically manages multiple copies of these objects during patching

Editioned Objects • PLSQL

• Views

Spec

• Editioning views

Body

•Triggers

Function

• Types

Procedure

• Synonyms

Non-Editioned Database Objects

• Storage objects do not support editioning • Online Patching uses advanced features of EBR to manage these objects during patching

Non-Editioned Objects • Tables

• Indexes • Materialized Views • Sequences

Managing Non-Editioned Objects

• What about the data in your environment ?

• Logical view of the data model – Isolates the running Application from changes to the data model – Editioning Views

• In place upgrade of transactional data – New transactions entered into the system are upgraded in place – Cross Edition Triggers

• Seed data – Data in seed data tables is replicated and the patch operates on a private copy – Editioned Data Storage

Logical view of the Application Data Model

• EBS data model now has a cover layer – A logical rather than physical representation is presented – Editioning views provide this cover layer – Editioning views project different views of a table to the Run and Patch Edition if the data model of a table is patched

• All code must access EBS data via this cover layer – Accessing the data model via the physical layer may result in obsolete data been returned

Logical view of the data model

Apps

APPLSYS

• E-Business Code

• Custom Code

• 3rd Party Code

WF_ITEMS (Synonym)

WF_ITEMS# (Editioning view)

WF_ITEMS (Table)

• All code must access the data model via the APPS synonym • APPS synonym points to the Editioning View (Logical Model) • Any code accessing the physical model risks accessing obsolete columns

Online Patching – Resource considerations • Database – SYSTEM tablespace requires double its current space allocation • 25GB increase to 50GB – SEED tablespace requires double its current space allocation • 5GB increases to 10GB

• File System – 2 file systems require double the space of 1 file system 

• System resources consumed by a patch can be throttled – Database Resource Groups • Allows configuration of resource allocation between online users and patching tools (between the Run and Patch edition) – Workers • Smart worker allocation designed to share resources with online users

New Online Patching Cycle

Online Patching Cycle • Patch application is now part of a patching cycle

Online Patching – The adop tool

• ADOP replaces ADPATCH as the 12.2 patching utility – ADOP ( AD Online Patching ) – Supports both Interactive and silent modes

• ADOP orchestrates the patching cycle, steps through each of the patching phases – Examples: • adop phase=prepare • adop phase=apply patches=16207672,16207673 merge=yes • adop –status

• ADOP logs – /EBSapps/log/adop/

• More information on adop utility in “Oracle E-Business Suite Maintenance Guide Release 12.2”

Online Patching Cycle • The Basics

Prepare

Apply

Finalize

Cutover

Cleanup

Ready the system for cutover

Restart application on patched copy

Remove obsolete objects

• The Basics Copy the production application code

Apply one or more patches to the copy

Users Online

Users Offline

• Application is only offline during the Cutover phase • Downtime is now redefined as Cutover

Users Online

Online Patching Cycle - Prepare

Prepare

Apply

Finalize

Cutover

Cleanup

Copy the production application code

Users Online

Users Offline

Users Online

• Synchronizes Patch Edition and Run Edition on the file system • Create a new Patch Edition in the database

Online Patching Cycle - Prepare • Preparing the File System

• Patch Edition & Run Edition of the file systems are synchronized • All files on the Patch Edition are an exact copy of the files on the Run Edition • Efficient synchronization – Incremental synchronization is the default – Only files changed in the last patch application are copied – Full synchronization available if necessary

Online Patching Cycle - Prepare • Preparing the Database • Patch Edition is created in the database • All code objects in the Patch Edition begin as pointers to code objects in the Run Edition • Efficient use of space – Objects are only “Actualized” into the Patch Edition when a new revision of the code is applied

• Storage objects such as tables are not copied – New patching standards are followed for upgrading storage objects

Online Patching Cycle - Apply

Prepare

Apply

Copy the production application code

Apply one or more patches to the copy

Users Online

Finalize

Cutover

Users Offline

Cleanup

Users Online

• Execute patch drivers to update Patch Edition • Multiple patches can be applied, including customizations

Online Patching Cycle - Apply • Applying Patches • Patches are applied to the copy (Patch Edition) • The production application is unaffected by the changes • Patch Driver – File Driver

– Users are connected to the Application and can perform their work unaffected by the patch

• Changes are made in the isolation of an Edition – Database driver

– The running application is unaffected by these changes

Online Patching Cycle - Finalize

Prepare Copy the production application code

Apply Apply one or more patches to the copy

Users Online

• Compile invalid objects • Generate derived objects

Finalize

Cutover

Cleanup

Ready the system for cutover

Users Offline

Users Online

Online Patching Cycle - Finalize

• Perform the final operations that can be executed while the Application is online – Compile invalid objects – Generate derived objects – Pre-compute DDL to be run at Cutover

• Patching cycle can pause at this stage for as long as required • Waiting for an appropriate downtime window • 2AM Sunday morning?

Online Patching Cycle - Cutover

Prepare Copy the production application code

Apply Apply one or more patches to the copy

Users Online

Finalize Ready the system for cutover

Cutover Restart application on patched copy

Users Offline

• Cutover to the Patch Edition of the file system

• Cutover to the Patch Edition of the database • Restart middle-tier service

Cleanup

Users Online

Online Patching Cycle - Cutover

• During cutover a brief downtime is taken – – – – – –

Users are logged off the system The Patch file system is promoted to be the Run file system The Patch database edition is promoted to be the Run database edition Perform final maintenance operations Users are brought back online on the patched system The database does NOT need to be bounced

Online Patching Cycle - Cutover • Cutover Requires a Brief Downtime • Middle-tier processes stopped – End Users are disconnected

• File system roles swapped – Patched (FS-2) promoted to Run – FS-1 available for next patching cycle

• Database Patch Edition promoted to Run Edition • Middle-tier processes restarted – Users reconnect

Online Patching Cycle - Cleanup

Prepare Copy the production application code

Apply Apply one or more patches to the copy

Finalize

Cutover

Ready the system for cutover

Restart application on patched copy

Users Online

• Cleanup old editions to recover space

Users Offline

Cleanup Remove obsolete objects

Users Online

Online Patching Cycle - Cleanup • Cleanup occurs after users have been brought back online to the newly patched Application • File system – The pre-patch file system is now ready for the next patching cycle – Re-synchronized

• Database – Code objects patched in the latest patching cycle are deleted from Old Editions – Once all objects are deleted from an Old Edition it is also deleted

Online Patching Cycle - Abort • Online Patching Cycle can be aborted at any time prior to Cutover – # adop phase=abort

File Systems Patching Cycle - Summary 1

Prepare

Cutover 2

1

Prepare 2

Cutover

• Two complete file systems are always present – Run Edition - Used by the running Application – Patch Edition – Either: • Currently being patched or • Waiting for the next patching cycle – The two files systems are rotated between Run and Patch during every patch cycle

Database Editioning Patching Cycle - Summary

• One or more database editions are always present – Run Edition • Used by the running application • Always exists – Patch Edition • Used by the patching tools • Only exists during a patching cycle – Old Editions • These editions are only used to store code objects that have not been patched in a later edition • Remove by cleanup when no longer needed

Preparing existing E-Business Suite environment for Online Patching

Preparing for Online Patching

• Don’t worry, the 12.2 upgrade handles the changes • Logical data model is installed by the 12.2 upgrade • Cross Edition Triggers needed by a patch are automatically installed by the patch • Seed data tables are automatically upgraded to support Editioned Data Storage

Relationship between Editioned and Non Editioned Objects

• Non-Editioned Objects can’t reference Editioned Objects • 12.2 upgrade removes all such dependencies

Non-Editioned Objects

Editioned Objects • PLSQL

• Views

• Tables

Spec

• Editioning Views

• Indexes

Body

•Triggers

• Materialized Views

Function

• Types

• Sequences

Procedure

• Synonyms

Online Patching: Readiness Reports • Helps prepare customization and extensions for Online Patching – Custom schemas that require registration for Online Patching enablement – Custom objects that require manual intervention in order to avoid invalidation post enablement

• All Customer should – Execute the Readiness Reports before enabling Online Patching – Understand and fix any exceptions reported before enabling Online Patching

• Standalone patches available for Readiness Reports – Available for 11i, 12.0, 12.1 and 12.2 as Patch 16236081 – Using the Online Patching Readiness Report in Oracle E-Business Suite Release 12.2 (Doc ID 1531121.1)

Online Patching: Readiness Reports

• Summary Readiness Report (ADZDPSUM.sql) – Reports schemas that will be automatically editioned • All schemas owned by EBS are automatically registered for editioning – Reports custom schemas with objects that will become invalid if schema is not registered for editioning • Recommended to register all schemas listed

• Manual Readiness Report ( ADZDPMAN.sql) – Reports custom objects that must be manually fixed before Online Patching is enabled – Any exception not fixed will cause object invalidation post enablement

Online Patching: Readiness Reports

1. Execute Summary Readiness Report (ADZDPSUM.sql)

Unregistered Custom Schemas?

Yes

2.Register Custom Schemas for Enablement

No 3.Execute Manual Fix Readiness Report (ADZDPMAN.sql)

Exceptions Reported?

No Ready for enablement

Yes 4.Fix Exceptions

12.2 Development Standards • Database Objects and code must follow a new set of standards – Standards must be followed to successfully patch objects Online

• Review your customizations for violations of Online Patching standards – Database check report ( ADZDDBCC.sql) • Scans the data dictionary for objects and code that violate the Online Patching standards – File System check report (gscc.pl) • Scans the file system for source files that violate the Online Patching standards

• Development Standards are documented in Chapter 7 of the “Oracle E-Business Suite Developer's Guide Release 12.2” [E22961-09]

12.2 Development Standards

1. Execute Database Standards Checker ( ADZDDBCC.sql)

Exceptions Reported

Yes 2. Fix Exceptions

No

3. Execute File System Standards Checker (gscc.pl)

Exceptions Reported

Yes 4. Fix Exceptions

No

Code Standards Compliant

Summary

Online Patching Summary

• 12.2 Upgrade is NOT an Online Patch • 12.2 Upgrade – Automatically fixes all compliances issues in EBS code – Can automatically fix compliance issues in customizations – Installs a logical view of the data model that all code must use to access the EBusiness Suite

• All patches delivered post 12.2 will be Online Patches – New patching tool (ADOP) used to apply patches

Benefits of Online Patching

• • • •

Removes barriers to uptake Much easier to negotiate downtime with lines of business Much easier to identify downtime windows as they are so brief Applications stays online during patch application

References

• Oracle E-Business Suite Release 12.2 Information Center (Doc ID 1581299.1) • Oracle E-Business Suite Release 12.2: Online Patching FAQ (Doc ID 1583902.1) • Deploying Customizations in Oracle E-Business Suite Release 12.2 (Doc ID 1577661.1) • Which Oracle E-Business Suite Release Should You Target: 12.1 or 12.2? (Doc ID 1592197.1) • Oracle E-Business Suite Release 12.2: Backup and Recovery Guidelines For Online Patching Cutover (Doc ID 1584097.1)

UKOUG Apps DBA - R12.2 Online Patching introduction.pdf ...

Page 4 of 58. UKOUG Apps DBA - R12.2 Online Patching introduction.pdf. UKOUG Apps DBA - R12.2 Online Patching introduction.pdf. Open. Extract. Open with.

2MB Sizes 3 Downloads 162 Views

Recommend Documents

UKOUG Apps DBA - R12.2 Online Patching introduction.pdf ...
... was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. UKOUG Apps DBA - R12.2 Online Patching introductio

Oracle Apps DBA Training Contents
Oracle Apps DBA Training Contents. 1) Oracle Applications Background. 2) Oracle Applications E-business Suite Current,Logical, physical and functional ...

oracle apps dba tutorial pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. oracle apps dba ...

Band-aid Patching
level of cross-system synchronization, adding considerable overhead. Problems arise with the use of encryption ... promising recent work in this space [6] uses virtual ma- chines combined with vulnerability-specific ..... Proceeding of the ACM Sympos

OOW13 - Online Patching with Oracle E-Business Suite 12.2.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. OOW13 - Online ...

Covert Java Techniques for Decompiling, Patching ... - Drive
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Main menu.

Covert Java Techniques for Decompiling, Patching ... - Drive
Covert Java Techniques for Decompiling, Patching,and Reverse Engineering.pdf. Covert Java Techniques for Decompiling, Patching,and Reverse Engineering.

Download Building Progressive Web Apps Read online
Building Progressive Web Apps Download at => https://pdfkulonline13e1.blogspot.com/1491961651 Building Progressive Web Apps pdf download, Building Progressive Web Apps audiobook download, Building Progressive Web Apps read online, Building Progre

2018 DBA Special Events Internship.pdf
Page 1 of 2. www.DowntownFortCollins.com. Downtown Business Association (970) 484-6500 19 Old Town Square #230 Fort Collins, CO 80524. 1. -. Special Events, Promotions and Operations Internship. The Downtown Fort Collins Business Association (DBA) is

Oracle RAC DBA Training Contents
8) Creating and Managing ASM Cluster Filesystems ... 70) Post–database Creation Tasks ... 78) Starting And Stopping RAC Databases And Instances.

cours dba oracle pdf
Loading… Page 1. Whoops! There was a problem loading more pages. cours dba oracle pdf. cours dba oracle pdf. Open. Extract. Open with. Sign In. Main menu.

oracle dba workshop 1 pdf
Page 1 of 1. File: Oracle dba workshop 1 pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. oracle dba workshop 1 pdf.

Matt Bailey DBA Video FORM.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Matt Bailey DBA ...

Matt Bailey DBA Video FORM.pdf
Download. Connect more apps... Try one of the apps below to open or edit this item. Matt Bailey DBA Video FORM.pdf. Matt Bailey DBA Video FORM.pdf. Open.

oracle dba fundamental 1 pdf
Download. Connect more apps... Try one of the apps below to open or edit this item. oracle dba fundamental 1 pdf. oracle dba fundamental 1 pdf. Open. Extract.

DBA 2016 Lenguaje -16ene2017.pdf
Download. Connect more apps... Try one of the apps below to open or edit this item. DBA 2016 Lenguaje -16ene2017.pdf. DBA 2016 Lenguaje -16ene2017.pdf.

oracle dba daily activities pdf
oracle dba daily activities pdf. oracle dba daily activities pdf. Open. Extract. Open with. Sign In. Main menu. Displaying oracle dba daily activities pdf.

oracle dba commands pdf reference
Download now. Click here if your download doesn't start automatically. Page 1 of 1. oracle dba commands pdf reference. oracle dba commands pdf reference.

oracle dba syllabus 10g pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. oracle dba syllabus 10g pdf. oracle dba syllabus 10g pdf. Open.

Nicole G Eschler dba GeneSystems.pdf
Nicole G Eschler dba GeneSystems.pdf. Nicole G Eschler dba GeneSystems.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Nicole G Eschler dba ...

Learnings from Early Native Apps Improve HTML5 and Hybrid Apps
Apple Branded Client Engineer, Intel IT ..... Because some of the devices were not owned by Intel, we had no control over the OS revision, software installed,.

Learnings from Early Native Apps Improve HTML5 and Hybrid Apps
Over the past two years, Intel IT has validated and improved its mobile application ... applications from laptops to mobile devices ... Figure 1. From 2011 to 2013, mobile device usage at Intel has nearly doubled in our mixed OS ..... EXCEPT AS PROVI