Professional Documents
Culture Documents
Oracle E
E-Business
Business Suite
NCOAUG August 2014
p
Elke Phelps
Senior Principal Product Manager
Oracle E-Business Suite Applications Technology
1
Problem Statement
Program Agenda
Define a Preventive Maintenance Strategy
Find the Updates You Need
Use the Right
g Tools and Features
Create a Deployment Strategy
Summarize Key Concepts
Review a Case Study
Step 1.
1 Define a Preventive
Maintenance Strategy
Generate
G
t Statistics
St ti ti
Recompile Invalids
Rebuild Indexes
Reorganize Tables
Fil
t
Cleanup
Cl
Filesystem
- Log file cleanup
- Patching cleanup
- Pre-upgrade binaries
Keeping
p g All E-Business Suite
Components Up-To-Date
10
EBS Updates
p
T h l
Technology
S k
Stack
Minimum
i
E
Extended
t d d
5 R11i Mi
Interim Patches
Support Baseline
R12 Minimum Prerequisites
11
Security Patches
2009 2010
2011 2012
GA Nov 2004
Premier
2014 2015
Nov 2013
Nov 2010
11.5.10
2013
Extended
12.0
GA Jan 2007
Premier
Sustaining
Extended
Sustaining
Dec 2019
Dec 2016
Premier
GA May 2009
Extended
Premier
GA Sep 2013
Sep 2018
Sep 2013
12.2
2022 2023
Jan 2015
May 2009
12.1
2020 2021
Dec 2015
Exception
Jan 2012
Sustaining
Sep 2021
Extended
Sustaining
12
For more info, see Oracle Lifetime Support Policy: Oracle Applications
New
New patches
patches include:
Quarterly Critical Update Patches
Patch bundles
Interim patches
13
14
http://blogs.oracle.com/stevenChan
15
http://blogs.oracle.com/stevenChan
16
Step 2.
2 Find the Updates
You Need
17
Where
s My Update?
Wheres
18
EBS Updates
p
T h l
Technology
S k
Stack
Minimum
i
E
Extended
t d d
5 R11i Mi
Interim Patches
Support Baseline
R12 Minimum Prerequisites
19
Security Patches
E-Business
E
Business Suite
Release Upgrade
Release Update Pack
Family Pack
Recommended Patch Collections (12.1.3)
Recommended Patches
Recommended Performance Patches
20
Technology Stack
Desktop Client
Application Tier
Database Tier
24
Application
Database
10g
10gR2 | 11g
JSP
BC4J
UIX
BI Publisher
Forms
25
JDBC/SQL Ne
et
HTTP/S
Web
b Listene
er
OC4J
Global Single
Data Model
Application
Database
R2
WebLogic
g JSP
BC4J
UIX 11g
BI Publisher
Forms
26
Global Single
Data Model
JDBC/SQL Net
HTTP/S
Web Listenerr
W
WebLogic Server
Edition-Based
Redefinition
Security Patches
aka Critical Patch Updates (CPUs)
E-Business
E Business Suite
Technology Stack
Desktop Client
31
Interim Patches
As needed
needed, per test results
35
R11i Mi
Minimum
i
E
Extended
t d dS
Supportt B
Baseline
li
Note 883202.1
Patch
P t h 10123716
10123716, EBS P
Patch
t h Wi
Wizard
d
Report
R12 Minim
Minimum
m Prereq
Prerequisite
isite Req
Requirements
irements
Note 1195034.1
36
37
Roadmap
How to Find E-Business Suite & E-Business Suite Technology Stack Patches
(Doc ID 1633974.2)
Note 1633974.2
38
Note 1633974.2
39
New
Note 1633974.2
40
New
New
Recording
Note 1633974.2
41
Note 1633974.2
42
New
Note 1633974.2
43
New
Note 1633974.2
44
New
New
Note 1400757.1
46
Note 1633974.2
47
New
Note 1633974.2
48
New
Note 1633974.2
49
New
Note 1633974.2
50
New
Note 1633974.2
51
New
Note 1633974.2
52
New
Note 1633974.2
53
New
Note 1633974.2
54
New
55
Prepare
Finalize
The Basics
Copy the
production
application
code
Create a new
Patch Edition in
the database
Apply one or
more patches to
the Patch Edition
Users
O li
Online
Compile invalid
Objects
Wait for a good
downtime
window
Cutover
Restart
application on
Patch Edition
Users
Offli
Offline
56
Cleanup
Remove
obsolete
objects
Users
O li
Online
TIP #1:
Use Patching Tools
Like a Master Apps DBA
57
R12.1: What to Do
Create the defaultsfile
E
Execute
t AutoPatch
A t P t h using
i
defaultsfile option
Type abort when prompted for patch
directory
Verify defaultsfile exists
noninteractive and
defaultsfile options
Note 1078973.1
58
R12.1: What to Do
After defaultsfile created,
t AutoPatch
A t P t h as follows:
f ll
execute
$adpatch interactive=n \
defaultsfile= \
$APPL_TOP/admin/prod_def.txt
Note 1078973.1
59
R12.2: What to Do
Create the inputfile and
execute as follows:
$adop \
inputfile=[path\filename]
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
60
R12.1: What to Do
Example:
$ adpatch \
options=nocompiledb, \
nogenerate
nogenerate,
nocompilejsp
Note 1078973.1
61
R12.2 What to Do
Example:
$ adop phase=apply \
options=nocompiledb,
noautoconfig
$adop phase=finalize
$adop phase=cutover
Full list of options for all phases:
$ adop examples
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
62
TIP #2:
Apply Multiple EBS Patches at a Time
63
R12.1: What to Do
Create merged patch
1. Review patch readmes
2. Create directories
3 Unzip patches
3.
4. Run AD Merge Patch
$admrgpch source_dir
t
target_dir
t di
5. Check log files
Note 228779.1
64
R12.1: What to Do
After patches are merged,
t AutoPatch
A t P t h to
t apply
l the
th
execute
merged patch as follows:
$adpatch
When prompted, enter the merged
patch name
Note 228779.1
65
R12.2: What to Do
Nothing! This is how AD Online
P t hi works
Patching
k b
by d
default.
f lt F
For
example:
$adop \
phase=prepare,apply,finalize \
patches=1234, 5678
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
66
TIP #3:
Dont Apply MLS Updates If You Dont Need To
67
reduced
Base language must be English
TIP #4:
Use Oracle Applications Manager (OAM)
for Patch Research
69
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
70
TIP #5:
Streamline Technology Stack Updates
71
R12.1: What to Do
Application
pp
tier technology
gy
72
example:
$opatch apply
Execute AutoPatch to apply EBS patches in
parallel For example:
parallel.
$adpatch
AS10.1.3
D l
Developer10.1.2
10 1 2
APPL_TOP
COMMON_TOP
INST TOP
INST_TOP
$opatch apply
$adpatch
R12.2: What to Do
Application
pp
tier technology
gy
filesystem.
Apply
A l EBS patches
t h ((optional).
ti
l)
Coordinate time for CUTOVER and
R12.2: What to Do
Application
pp
tier technology
gy
For example:
On RUN filesystem:
Step 1. $adop phase=fs_clone
On PATCH filesystem:
St 2.
Step
2 S
Sett ORACLE_HOME for
f WLS/OHS
$bsu.sh
and/or
$opatch
p
apply
pp y
Step 3. $adop phase=apply \
inputfile=myinputfile
Note 1355068.1
74
R12.2: What to Do
Application
pp
tier technology
gy
Note 1355068.1
75
76
performing upgrade
$RunInstaller
TIP #6:
Expedite Multi-Node Maintenance
77
Application
A li ti Tier
Ti
Node 1
AS10.1.3
Developer 10.1.2
Developer10.1.2
APPL_TOP
COMMON_TOP
INST_TOP
79
Application Tier
Node 2
INST_TOP
AS10.1.3
AS
10 1 3
Developer10.1.2
Application
A li ti Tier
Ti
Node 1
APPL_TOP
COMMON_TOP
INST_TOP
Application Tier
Node 2
80
Developer
D
l
10 1 2
10.1.2
APPL_TOP
COMMON_TOP
INST_TOP
Developer
D
l
10
10.1.2
12
APPL_TOP
COMMON_TOP
INST_TOP
RUN
81
PATCH
PATCH
Developer 10.1.2
APPL_TOP
COMMON_TOP
INST_TOP
Developer 10.1.2
APPL_TOP
COMMON_TOP
INST_TOP
Application Tier
Node 1
Application
pp
Tier
Node 2
INST_TOP
RUN
PATCH
Developer 10.1.2
APPL_TOP
COMMON_TOP
Developer 10.1.2
APPL_TOP
COMMON_TOP
Application Tier
Node 1
INST_TOP
Application Tier
Node 2
82
R12.1: What to Do
On Primary
y Node: Execute the
Tier Filesystem
Autopatch workers run in parallel on
resources
Note 236469.1
83
R12.2: What to Do
On Primary
y Node: Execute the
Tier Filesystem
Autopatch workers run in parallel on
resources
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
84
R12.1: What to Do
AutoConfig
gp
parallel execution
$adconfig.pl -parallel
Maintenance downtime is
reduced
adconfig.pl parallel
Autoconfig
adconfig.pl parallel
adconfig.pl parallel
Note 387859.1
85
R12.2: What to Do
filesystem.
Note: Changes will not be
propagated to the PATCH
fil
filesystem
t
if there
th
iis an active
ti
online patching cycle
Can be executed on the
PATCH filesystem ONLY
during an active online
patching cycle
adconfig.pl parallel
adconfig.pl parallel
86
TIP #7:
Apply Patches Before
Taking Production Down
87
R12.1: What to Do
Clone production (staged area)
production
d ti iis online
li
Database updates applied to
phase
R12.2: What to Do
Use AD Online Patching to apply
patches to production as follows:
$adop inputfile=myinputfile.txt
Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
89
TIP #8:
Apply Patches with the
Application Change Management Pack for EBS
90
91
92
Define
options for
phases
Define
notifications
93
94
TIP #9:
Use the Best Tools and Configuration to
Optimize Maintenance
96
P fil as ffollows:
Profiler
ll
$adconfig.pl \
contextfile=$CONTEXT
contextfile
$CONTEXT_FILE
FILE \
-profile
97
98
99
Database
101
Modify SGA
Turn off archive logging
I
Increase
fil
filesystem
t
space
Increase tablespace allocation
TIP #10:
Ensure That Maintenance Doesnt Break Anything
102
R12.1: What to Do
Example:
$ adpatch apply=n
R12.2: What to Do
Example:
$ adop phase=apply \
apply=n \
inputfile=myinputfile
$AD_TOP/bin/adchkcfg.sh
cfgcheck html
cfgcheck.html
Note 387859.1
105
Analyze impact to
customizations
106
107
F
Functional
ti
l and
dR
Regression
i T
Testing
ti
Web and Oracle Application Testing Accelerators
Oracle Flow Builder
108
109
Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s
Flow Builder
Generate
Framework to combine
flows and data to
generate test scripts
OpenScript
Record & Playback
+ Advanced
Ad
d Scripting
S i ti
Record
Manually
Test
Automation
Scripts
Your
Data
110
Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s
Generate
Framework to combine
flows and data to
generate test scripts
OpenScript
Record & Playback
+ Advanced
Ad
d Scripting
S i ti
Record
Manually
Test
Automation
Scripts
Your
Data
111
Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s
Generate
Framework to combine
flows and data to
generate test scripts
OpenScript
Record & Playback
+ Advanced
Ad
d Scripting
S i ti
Record
Manually
Test
Automation
Scripts
Step 3.
3 Develop Your
Deployment Strategy
112
113
(maintenance)
Define SLA for Production and Non-Production
Publish Schedule
Daily, Weekly, Monthly, Yearly
114
115
116
117
118
Summary
119
120
122
Case Study
123
Case Study
World Leader in Pharmaceutical Development
124
Merged Patches
Included latest AD/FND and
CPUs with application patches
Case Study
World Leader in Pharmaceutical Development
125
Merged Patches
Included latest AD/FND and
CPUs with application patches
Result:
Reduced Upgrade
Incremental effort to
test techstack
archivelog mode in
patches along withfrom
application
82 hours to Disabled
24 hours!
d ti d
i major
j patching
t hi
production
during
patches
t h
Tune the jobs in the patch
References
126
127
Join us on
Facebook
128
129
130
131