Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Solution Approach
2
Overview of 12.2 Patching Architecture
3
Patching EBS 12.2 with Online Patching
4
Online Patching Cycle Special Operations
5
Patching Applications Tier with Online Patching
Web Listener
JDBC/SQL Net
BC4J
RAC & ASM
UIX 11g
Edition-Based
BI Publisher
Redefinition
Forms
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
APPL_TOP APPL_TOP
Synchronization Managed
COMMON_TOP Automatically COMMON_TOP
PATCH_TOP
LOGS
Install base
ad ar gl ad ar gl
Examples
Concurrent report output
Log files
Data import/export files
SSL certificates
File-based system integration
Patch downloads
Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
12.2 E-Business Suite File System Layout
Non-Editioned File System
Install base
adop
EBSapps inst
adop
Patch
Patch Application
dition
Cutover
2 Patch Edition - Either:
File
Edition
Edition
1 Currently being patched
Cutover
or
tch
Waiting for the next patching cycle
The two files systems are rotated between
Patch
Run
System Run and Patch during every patch cycle
ition
Prepare 2
Edition
Edition Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
Database Edition-Based Redefinition
of the database
Run Edition
OldOld Edition RunPatch
Edition
Old
Edition Edition
Edition
Used by online users
Never changed by a patch
Patch Edition
Used by patching tools
Changes do not affect the running application
Patch Edition becomes the
Run Edition at Cutover
Copyright 2014, Oracle and/or its affiliates. All rights reserved. | 26
12.2 Online Patching Cycle
The Basics
Prepare Apply Finalize Cutover Cleanup
The Basics
Prepare
Prepare Apply Finalize Cutover Cleanup
Copy the
production
application
code
Create a new
Patch Edition
in the
database
Users Online Users Offline Users
Online
Synchronizes Patch Edition and Run Edition on the
file system
Create a new Patch Edition in the database
Patch
dition
Edition
Efficient synchronization
Incremental synchronization is the
Edition
default
Only files changed in the last patch
un Prepare
All code objects in the Patch Edition
begin as pointers to code objects in
the Run Edition
What Preparing
ADOP controls to Know the What to Do
system for patching Execute prepare on the primary
Validates system configuration to node
ensure that the system is ready to $ adop phase=prepare
start an Online Patching cycle.
Prepare is run on all nodes in a
muti-node configuration
Synchronizes the Run and Patch
File System
Creates the Database Patch
Edition Copyright 2014, Oracle and/or its affiliates. All rights reserved. | 34
Online Patching Cycle - Apply
Patch
tion
Patch Driver
File Driver
Users are connected to the
Application and can perform
their work unaffected by the
File
Edition patch
n Prepare
Database Changes are made in the
System
isolation of an Edition
Patch
Driver
The running application is
Edition
Database changes
Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
Online Patching Cycle Apply Phase
Old
Middle-tier processes
Old
Old
Run
stopped
Manages all nodes in the configuration
Patch
FS - Editions
via remote execution
Edition
Edition
End Users are disconnected
1
Run
Edition
Edition
Running
File system roles swapped
Patched (FS-2) promoted to Run
Databas
Application FS-1 available for next patching cycle
FS -
Database Patch Edition
promoted to Run Edition
e Middle-tier processes
Patch
2
restarted
Manages all nodes in the configuration
via remote execution
Users reconnect
Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
Online Patching Cycle - Cutover
What to
Cutover represents Know
the official downtime for
What to do
an EBS patch Execute adop cutover on the primary node
Application tier services are automatically shut $ adop phase=cutover
down and restarted on all nodes
Apply Finalize
Cleanu
Prepare Cutover
p
Copy the Apply one or Compile Restart Remove
production more patches invalid application on obsolete
application to the Patch Objects Patch Edition objects
code Edition Wait for a
Create a new good
Patch Edition downtime
in the window
Database
Users Users Users
Online Offline Online
atch Application
Patch
Run
File system
dition
The pre-patch file system is now ready for the
next patching cycle
File
Edition
Edition
Re-synchronized
Old
Database
Code objects patched in the latest patching
System
Run cycle are deleted from Old Editions
Edition Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
Online Patching Cycle - Cleanup
Users are online during the cleanup What to do
What to Know
process
Execute adop cutover on the primary
Removes obsolete objects from the
node
system to recover space
$ adop phase=cleanup
If you fail to run the cleanup phase $ adop phase=cleanup cleanup_mode=quick
explicitly, it will be run automatically on $ adop phase=cleanup cleanup_mode=full
the next prepare cycle
This will cause a delay in starting your next online
patching cycle
The Basics
Prepare Apply Finalize Cutover Cleanup
Database
Tier Database
Tier
$ adop -status
Current Patching Session ID: 75
ebsape01d Secondary PREPARE COMPLETED 14-NOV-14 09:59:45 -05:00 14-NOV-14 10:13:18 -05:00 0:13:33
APPLY NOT STARTED
FINALIZE NOT STARTED
CUTOVER NOT STARTED
CLEANUP NOT STARTED
ebsape02d Secondary PREPARE COMPLETED 14-NOV-14 09:59:38 -05:00 14-NOV-14 10:16:32 -05:00 0:16:54
APPLY NOT STARTED
FINALIZE NOT STARTED
CUTOVER NOT STARTED
CLEANUP NOT STARTED
rt
o
Ab
Patches
Run Filemust be applied in
System Edition-Based Patch File System
downtime mode
Oracle HTTP Server Redefinition
Patch Edition Oracle HTTP Server
(OHS)
adop phase=apply (OHS)
WebLogic Server WebLogic Server
apply_mode=downtime
(WLS) (WLS)
patches=12345,9876
Developer 10.1.2 Developer 10.1.2
Patches are applied to:
APPL_TOP Synchronization is managed APPL_TOP
Run file system
by patching tools
RunCOMMON_TOP
Edition of the database COMMON_TOP
PATCH_TOP
LOGS
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
ADOP Workers
Smart worker allocation designed to share resources with online users
Copyright 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle EBS 12.2 AD/TXK Delta 7 Now Available
Stay Current with the Latest Updates
Description MOS Doc
AD/TXK are the infrastructure ID
components that provide the Applying the Latest AD and TXK 1617461.
12.2 Release Update Packs to Oracle 1
E-Business Suite Release 12.2
Online Patching technology
Oracle E-Business Suite 2033780.
Strongly recommend that you Applications DBA and Technology 1
Stack Release Notes for
apply the latest patch collections R12.AD.C.Delta.7 and
at yourearliest convenience R12.TXK.C.Delta.7
adop -validate