You are on page 1of 121

Creating a Maintenance Strategy for

Oracle E
E-Business
Business Suite
NCOAUG August 2014
p
Elke Phelps
Senior Principal Product Manager
Oracle E-Business Suite Applications Technology
1

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Safe Harbor Statement


The following is intended to outline our general product
direction It is intended for information purposes only
direction.
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 decision.
The development, release, and timing of any features or
functionality described for Oracles
Oracle s products remains at the
sole discretion of Oracle.

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Problem Statement

What is Your Oracle E


E-Business
Business Suite
Maintenance Strategy?

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Step 1.
1 Define a Preventive
Maintenance Strategy

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Define Your Preventive Maintenance Strategy

Keeping Your EBS Environment Healthy

Keeping Your EBS Environment Up-To-Date

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Define Your Preventive Maintenance Strategy

Keeping Your Environment Healthy

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Define Your Preventive Maintenance Strategy


Database and Filesystem Health

Generate
G
t Statistics
St ti ti
Recompile Invalids
Rebuild Indexes
Reorganize Tables

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Fil
t
Cleanup
Cl
Filesystem
- Log file cleanup
- Patching cleanup
- Pre-upgrade binaries

Define Your Preventive Maintenance Strategy


Archive and Purge

Define retention requirements


Deploy archive/purge routines
System
S t
Data
D t
Examples: Concurrent Manager Requests, Workflow
Transactional
T
ti
lD
Data
t

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Define Your Preventive Maintenance Strategy

Keeping
p g All E-Business Suite
Components Up-To-Date

10

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Keeping All E-Business Suite Components Up-To-Date

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

E-Business Suite Support Timelines


Understand Where You Are with Regards to Support
2008

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

2016 2017 2018 2019

Sustaining
Sep 2021

Extended

Sustaining

Support updates as of Sep 2013


1.
1 11.5.10 Sustaining Support Exception through Dec 2015 (from Dec 2014; additional 12 months)
2.
2
12 1 Premier Support through Dec 2016 (from May 2014; additional 31 months)
2 12.1
3. 12.1 Extended Support through Dec 2019 (from Dec 2018; additional 12 months)
3

12

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

For more info, see Oracle Lifetime Support Policy: Oracle Applications

Premier Support Policies - Technology Products


Understand Where You Are with Regards to Support
New Database, Fusion Middleware patches released for:
Current
C
t patchset
t h t
Previous patchset for 12 months after current patchsets release
Previous p
patchset for 24 months after second p
patchset release
Database Error Correction Support Dates Note 742060.1

New
New patches
patches include:
Quarterly Critical Update Patches

Patch bundles

Quarterly Patch Set Updates

Interim patches

13

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can You Find Authoritative Dates?


Understand Where You Are with Regards to Support

www oracle com/us/support/lifetime support


www.oracle.com/us/support/lifetime-support

14

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can You Find More Information?


Oracle E
E-Business
Business Suite Technology Blog: Upgrade Recommendations

http://blogs.oracle.com/stevenChan
15

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can You Find More Information?


Oracle E
E-Business
Business Suite Technology Blog: Upgrade Recommendations

http://blogs.oracle.com/stevenChan
16

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Step 2.
2 Find the Updates
You Need

17

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need

Where
s My Update?
Wheres

18

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need


1

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need


1

E-Business
E
Business Suite
Release Upgrade
Release Update Pack
Family Pack
Recommended Patch Collections (12.1.3)
Recommended Patches
Recommended Performance Patches

20

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need

Technology Stack
Desktop Client
Application Tier
Database Tier

24

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Release 12.1 Technology Stack


Client

Application

Database

10g
10gR2 | 11g

JSP
BC4J
UIX
BI Publisher
Forms

25

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

JDBC/SQL Ne
et

HTTP/S

Web
b Listene
er

OC4J

Global Single
Data Model

RAC & ASM

EBS Release 12.2 Technology Stack


Client

Application

Database

R2

WebLogic
g JSP

BC4J
UIX 11g
BI Publisher
Forms

26

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Global Single
Data Model
JDBC/SQL Net

HTTP/S

Web Listenerr
W

WebLogic Server

RAC & ASM

Edition-Based
Redefinition

Find the Updates You Need

Security Patches
aka Critical Patch Updates (CPUs)
E-Business
E Business Suite
Technology Stack
Desktop Client

31

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need

Interim Patches
As needed
needed, per test results

35

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Find the Updates You Need

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can I Find EBS Updates?


My Oracle Support: Patches & Updates Patching Quick Links

37

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can I Find Updates?

Roadmap

My Oracle Support: Patches & Updates Patching Quick Links

How to Find E-Business Suite & E-Business Suite Technology Stack Patches
(Doc ID 1633974.2)

Note 1633974.2
38

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can I Find Updates?


My Oracle Support: Patches & Updates Patching Quick Links

Note 1633974.2
39

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


My Oracle Support: Patches & Updates Patching Quick Links
Navigation
Tabs

Note 1633974.2
40

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?

New

My Oracle Support: Patches & Updates Patching Quick Links

Recording

Note 1633974.2
41

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can I Find Updates?


EBS Patches Tab

Note 1633974.2
42

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Patches Tab Latest Releases

Note 1633974.2
43

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Patches Tab Recommended Patch Collection

Note 1633974.2
44

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Patches Tab Recommended Patches

Note 1633974.2, 1400757.1


45

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find EBS Updates?


Oracle Applications Manager: Patch Wizard

Note 1400757.1
46

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Where Can I Find Updates?


EBS Patches Tab Patchsets and Family Packs

Note 1633974.2
47

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Patches Tab Patchsets and Family Packs

Note 1633974.2
48

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Technology Stack Patches Tab

Note 1633974.2
49

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Technology Stack Patches Tab Option 1

Note 1633974.2
50

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Technology Stack Patches Tab Option 2

Note 1633974.2
51

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


EBS Technology Stack Patches Tab Option 3

Note 1633974.2
52

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


Critical Patch Updates Tab

Note 1633974.2
53

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Where Can I Find Updates?


Support Policy & Minimum Patch Levels Tabs

Note 1633974.2
54

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

New

Tools, Features and Tips


Tools
for Optimizing Maintenance

55

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

R12.2 Online Patching Cycle


Online Patching Cycle - Overview
Apply

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

Online Patching cycle includes 5 phases


Application is only offline during the Cutover phase
Online Patching is used to apply all patches in 12.2

56

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Cleanup
Remove
obsolete
objects

Users
O li
Online

Tools, Features and Tips for


Optimizing Maintenance

TIP #1:
Use Patching Tools
Like a Master Apps DBA

57

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with Non-Interactive Mode


What to Know
User interaction is not
required
i dd
during
i patch
t h
application
AutoPatch information is
provided in a default file
Delays between successive
tasks are reduced

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

Execute AD Patch using

noninteractive and
defaultsfile options
Note 1078973.1

58

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with Non-Interactive Mode


What to Know
User interaction is not
required
i dd
during
i patch
t h
application
AutoPatch information is
provided in a default file
Delays between successive
tasks are reduced

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with Input File


What to Know
Potential errors entered
d i AD O
during
Online
li P
Patching
t hi
input reduced
No need to remember
patching options entered
with command line
File is unique to each
patching cycle

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches Using Additional Options


What to Know
Options can be used with
A t P t h to
AutoPatch
t optimize
ti i
deployment
Many
y system
y
tasks can be
deferred to the end of
patching cycle

R12.1: What to Do
Example:
$ adpatch \
options=nocompiledb, \
nogenerate
nogenerate,
nocompilejsp

Note 1078973.1
61

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches Using Additional Options


What to Know
Options can be used with
A t P t h to
AutoPatch
t optimize
ti i
deployment
Many
y deferred system
y
tasks
are executed in the AD
Online Patching FINALIZE
or CUTOVER phase

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #2:
Apply Multiple EBS Patches at a Time

63

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Merge E-Business Suite Patches


What to Know
Multiple patches can be
merged
d iinto
t a single
i l patch
t h
AutoPatch overhead is
eliminated

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Merge E-Business Suite Patches


What to Know
Multiple patches can be
merged
d iinto
t a single
i l patch
t h
AutoPatch overhead is
eliminated

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Multiple E-Business Suite Patches


What to Know
Multiple patches can be
applied
li d iin a single
i l execution
ti
of AD Online Patching
Input
p file may
y be used with
each patching cycle

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #3:
Dont Apply MLS Updates If You Dont Need To

67

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Dont Apply MLS Updates If You Dont Need To


R12 1 3 R12
R12.1.3,
R12.2+:
2+: Use Lightweight MLS
A language enabled as Lightweight

MLS eliminates required


q
NLS p
patch
Disk space used for translations is

reduced
Base language must be English

Mixing Lightweight MLS and Full

MLS is not supported


pp
A hybrid of Lightweight MLS and

Full MLS for multiple languages is


supported
Converting to Lightweight MLS from

User Interface is English


Data entered in relevant language

full translation mode is available


with Release 12.2.2
12 2 2 and higher
higher.

Reports can be generated with the

language data entered


Note 1077709.1
68

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #4:
Use Oracle Applications Manager (OAM)
for Patch Research

69

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Use Oracle Applications Manager (OAM) to


Review Patch Requirements and Log Files
Verify whether a
patch has already
been applied
g
Review AD Logs
of recent patch
deployments

Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
70

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #5:
Streamline Technology Stack Updates

71

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Streamline Technology Stack Updates


What to Know

R12.1: What to Do

Application
pp
tier technology
gy

Execute technology stack updates. For

stack updates can be applied


while EBS patches are being
applied
Parallel execution of

technology stack patches and


EBS p
patches can reduce
overall maintenance window

72

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

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

Streamline Technology Stack Updates


What to Know

R12.2: What to Do

Application
pp
tier technology
gy

Prepare the PATCH filesystem.

stack updates should be


applied to the PATCH
filesystem while EBS is online
Sequential execution of

technology stack patches and


EBS p
patches is p
performed

Apply technology stack patches to PATCH

filesystem.
Apply
A l EBS patches
t h ((optional).
ti
l)
Coordinate time for CUTOVER and

complete the online patching cycle.


Synchronize the technology stack patches

between the RUN and PATCH filesystems.


Note 1355068.1
73

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Streamline Technology Stack Updates


What to Know

R12.2: What to Do

Application
pp
tier technology
gy

For example:
On RUN filesystem:
Step 1. $adop phase=fs_clone

stack updates should be


applied to the PATCH
filesystem while EBS is online
Sequential execution of

technology stack patches and


EBS p
patches is p
performed

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Streamline Technology Stack Updates


What to Know

R12.2: What to Do

Application
pp
tier technology
gy

For example (continued):


On PATCH Fileystem
Step 4. $adop finalize
$adop phase=cutover
On RUN Filesystem
$adop phase=cleanup
On RUN Filesystem
Step 5. $adop phase=fs_clone

stack updates should be


applied to the PATCH
filesystem while EBS is online
Sequential execution of

technology stack patches and


EBS p
patches is p
performed

Note 1355068.1
75

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Streamline Technology Stack Updates


Oracle Database
What to Know

R12.1, R12.2: What to Do

Database binaries can be

Install Oracle Database software prior to

staged in production prior to


executing upgrade while EBS
is online

76

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

performing upgrade
$RunInstaller

Tools, Features and Tips for


Optimizing Maintenance

TIP #6:
Expedite Multi-Node Maintenance

77

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


R12 1 R12
R12.1,
R12.2:
2: Use a Shared Application Tier Filesystem
Expands concept of Shared APPL_TOP
Eliminates patch synchronization requirements
Reduces disk space
p
requirements
q
Enables the use of Distributed AD

Note 236469.1, 1375769.1


78

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


R12 1: Distributed Filesystem
R12.1:
AS10.1.3
Developer 10 1 2
Developer10.1.2
APPL_TOP
COMMON_TOP
INST_TOP

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Application Tier
Node 2

Expedite Multi-Node Maintenance


R12 1: Shared Application Tier Filesystem
R12.1:

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


R12 2: Distributed Filesystem
R12.2:
RUN
WebLogic Server (WLS)
Oracle HTTP Server (OHS)

WebLogic Server (WLS)


Oracle HTTP Server (OHS)

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

WebLogic Server (WLS)


Oracle HTTP Server (OHS)

WebLogic Server (WLS)


Oracle HTTP Server (OHS)

Developer 10.1.2
APPL_TOP
COMMON_TOP
INST_TOP

Developer 10.1.2
APPL_TOP
COMMON_TOP
INST_TOP

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Application Tier
Node 1

Application
pp
Tier
Node 2

Expedite Multi-Node Maintenance


R12 2: Shared Application Tier Filesystem
R12.2:

INST_TOP

RUN

PATCH

WebLogic Server (WLS)


Oracle HTTP Server (OHS)

WebLogic Server (WLS)


Oracle HTTP Server (OHS)

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


Use Distributed AD
What to Know

R12.1: What to Do

Available with Shared Application


pp

On Primary
y Node: Execute the

Tier Filesystem
Autopatch workers run in parallel on

primary and secondary nodes


Time to complete AD tasks reduced
Better utilization of system

resources

AutoPatch with distributed option.


Example:
$adpatch
$
p
workers=8 \
localworkers=3
On remote nodes: Start AdController
$adctrl distributed=y

Note 236469.1
83

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


Use Distributed AD
What to Know

R12.2: What to Do

Available with Shared Application


pp

On Primary
y Node: Execute the

Tier Filesystem
Autopatch workers run in parallel on

primary and secondary nodes


Time to complete AD tasks reduced
Better utilization of system

resources

AutoPatch with distributed option.


Example:
$adop
$
p p
phase=apply
pp y workers=8 \
localworkers=3
On Secondary Node: Execute AD
Control. For example:
p
$adctrl distributed=yes

Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
84

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


Use AutoConfig Parallel Execution
What to Know

R12.1: What to Do

AutoConfig
gp
parallel execution

Execute AutoConfig on each node with

parallel option. Example:

supported for all Release 12


versions

$adconfig.pl -parallel

Maintenance downtime is

reduced

adconfig.pl parallel

45% reduction in time to run

Autoconfig

adconfig.pl parallel

adconfig.pl parallel

Note 387859.1
85

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expedite Multi-Node Maintenance


Use AutoConfig Parallel Execution
What to Know

R12.2: What to Do

Can be executed on the RUN

Execute AutoConfig on each node with

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

parallel option. Example:


$adconfig.pl -parallel
adconfig.pl parallel

adconfig.pl parallel

adconfig.pl parallel

86

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #7:
Apply Patches Before
Taking Production Down

87

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches to a Copy of Production


R12 1: Staged Applications System (APPL
R12.1:
(APPL_TOP)
TOP)
What to Know

R12.1: What to Do
Clone production (staged area)

Patches are applied to a copy of

production (staged environment)


Patches are applied while

production
d ti iis online
li
Database updates applied to

production requires downtime

Apply patches to staged area


Take production offline, then update the
production database
$adpatch options=nocopyportion,\
no generateportion

Update production APPL_TOP


Synchronize patch history
Note 734025.1
88

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Online Patches to Production


R12 2 Online Patching
R12.2
What to Know
Patches are applied to production
Users remain online during

application of EBS patches


Brief downtime during cutover

phase

R12.2: What to Do
Use AD Online Patching to apply
patches to production as follows:
$adop inputfile=myinputfile.txt

After PREPARE, APPLY and FINALZE


phases, patches can be promoted to run
filesystem and run edition with the
CUTOVER over phase.
h

Oracle E-Business Suite Maintenance Guide Release 12.2 Part No. E22954-13
89

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #8:
Apply Patches with the
Application Change Management Pack for EBS

90

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with the Application Management Suite


R12 1: Patch Manager
R12.1:
Deploy EBS
patches
Deploy
custom
patches
Check
prerequisites
Order/Merge
patches

91

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with the Application Management Suite


R12 2: Patch Manager for Online Patching
R12.2:
Deploy EBS
and custom
patches
Add/remove
patches
Check
prerequisites
Order/Merge
patches

92

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with the Application Management Suite


R12 2: Patch Manager for Online Patching
R12.2:

Define
options for
phases
Define
notifications

93

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with the Application Management Suite


R12 2: Patch Manager for Online Patching
R12.2:

94

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Apply Patches with the Application Management Suite


R12 2 R12
R12.2,
R12.2:
2: Customization Manager
Create AD compliant
customization packages
- Over 200 file types supported
- Compiles Java and PLD files

Custom patches can be applied


using Patch Manager
Validate the custom files based
on a set of standards
Interface with Version Control
systems
95

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #9:
Use the Best Tools and Configuration to
Optimize Maintenance

96

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Execute AutoConfig Performance Profiler


What to Know
An HTML report that includes
ti i requirements
timing
i
t ffor
AutoConfig execution
The output may be reviewed

and long running steps may


be tuned

R12.1, R12.2: What to Do


Execute the Performance

P fil as ffollows:
Profiler
ll
$adconfig.pl \
contextfile=$CONTEXT
contextfile
$CONTEXT_FILE
FILE \
-profile

Review the HTML output


p
cfgcheck.html

97

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Use OAM Timing Reports to Analyze Workers


Review patch
timing
g
information
Review job
j
usage and
performance
Review detailed
run information

98

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Review AD_TASK_TIMING to Isolate Long Running Tasks


What to Know
Analyze long running tasks in
AD TASK TIMING
AD_TASK_TIMING
Use MOS to check for known

issues and workarounds for


long running jobs

99

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

R12.1, R12.2: What to Do


Example:
SQL*Plus> select product,
job_name, start_time,
end_time,
_
elapsed_time*24
p
_
as hours, arguments from
ad_task_timing where
(elapsed time*24)
time 24) > 1
order by hours desc;

Review Performance with Database Diagnostic


Tools
Automatic Workload Repository (AWR)
Create snapshots during patching
Create report
Analyze
A l
results
lt

Active Session History (ASH)


Samples current state of all active sessions
Can be used to analyze specific worker
Oracle Database Performance Tuning Guide 11gRelease 2, Part Number E16638-06
100

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Modify Resources during Maintenance Windows


Servers
Increase capacity (existing hardware)
Lease hardware
Add virtual servers

Database

101

Modify SGA
Turn off archive logging
I
Increase
fil
filesystem
t
space
Increase tablespace allocation

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tools, Features and Tips for


Optimizing Maintenance

TIP #10:
Ensure That Maintenance Doesnt Break Anything

102

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Execute Patching Tools Using Test Mode


What to Know
Review the effects of a
patch
t h prior
i tto application
li ti
Provides a list of each file
that will be copied,
p , relinked,,
executed or generated

R12.1: What to Do
Example:
$ adpatch apply=n

Oracle E-Business Suite Patching Procedures, Part No. E12148-04


103

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Execute Patching Tools Using Test Mode


What to Know
Review the effects of a
patch
t h prior
i tto application
li ti
Provides a list of each file
that will be copied,
p , relinked,,
executed or generated

R12.2: What to Do
Example:
$ adop phase=apply \
apply=n \
inputfile=myinputfile

Oracle E-Business Suite Patching Procedures, Part No. E12148-04


104

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Execute AutoConfig Check Utility


What to Know
Review the affects of
executing
ti AutoConfig
A t C fi

R12.1, R12.2: What to Do


Example:

HTML file is generated by the

Review the HTML output

$AD_TOP/bin/adchkcfg.sh

Check Config Utility

cfgcheck html
cfgcheck.html

Note 387859.1
105

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Use the Patch Wizard to Review Patch Impact


Impact Analysis on
recommended
patch &
prerequisites

Analyze impact to
customizations

106

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Use Oracle Applications Manager (OAM) to


Register Customizations
Register
customized Oracle
EBS application
files
Determine impact
to customizations
with patch impact
analysis

107

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Application Testing Suite (OATS)


Oracless Solution for Testing Oracle Applications
Oracle

Oracle Functional Testing Suite


for Oracle Applications

F
Functional
ti
l and
dR
Regression
i T
Testing
ti
Web and Oracle Application Testing Accelerators
Oracle Flow Builder

Oracle Load Testing Suite


for Oracle Applications

Load and Performance Style Testing


Web and Oracle Application Testing Accelerators
Smart Integration with EM Diagnostics

Oracle Test Manager

108

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Test Planning, Requirements and Test Cases


Defects Tracking
Reporting

Oracle Functional Testing Suite for Oracle Applications


Optimized Solution for Automating EBS Testing

OpenScript: Traditional Record/Playback

Flow Builder: Test Script


S
Generation
G
Data Independent
Easy Maintenance
Customization Support
For Non-Technical People

109

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s

With Accelerators for Oracle Applications

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

Oracle Functional Testing Suite for Oracle Applications


Reduce Testing Effort with Flow Builder & EBS Pre-Built
Pre Built Test Content
Your
Flows

Use Flow Builder to Generate Test Scripts

Your
Data

2000+ Components and 200+ Flows

Create and Maintain Your Test Scripts


Add Your Flows & Data
Extend with More Components

EBS Quality Assurance Team


Reduced Automation Time by 60%

110

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s

Start with EBS Pre-Built Test Content


EBS Pre-Built
Test Content
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

Oracle Functional Testing Suite for Oracle Applications


Reduce Testing Effort with Flow Builder & EBS Pre-Built
Pre Built Test Content
Your
Flows

Use Flow Builder to Generate Test Scripts

Your
Data

2000+ Components and 200+ Flows

Create and Maintain Your Test Scripts


Add Your Flows & Data
Extend with More Components

For more information, search


Oracle Flow Builder on YouTube

111

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Functio
O
onal Testing S
Suite
for Oracle
e Applications
s

Start with EBS Pre-Built Test Content


EBS Pre-Built
Test Content
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

Step 3.
3 Develop Your
Deployment Strategy

112

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Develop Your Deployment Strategy

When, How and Where


to Apply Maintenance

113

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How Do You Document the Steps?


1

Define Deployment Schedule


Document Service Level Agreement (SLA)
Unplanned Downtime, Planned Downtime

(maintenance)
Define SLA for Production and Non-Production
Publish Schedule
Daily, Weekly, Monthly, Yearly

114

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How Do You Document the Steps?


2

Create Maintenance Plan Template


Document Standards
Oracle Patches and Updates
Customizations
C t i ti
Incorporate Best Practices
Tips,
p , Features,, Tools

115

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How Do You Document the Steps?


2

Create Maintenance Plan Template


Document Processes
Customization Redeployment
Test
T t Plan
Pl
Stress Test Plan
Incorporate
p
Best Practices
Tips, Features, Tools

116

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How Do You Document the Steps?


3

Create Deployment Plan from Template


Document all steps, issue, issue resolution
Script manual steps
Capture timing for each step
Optimize the plan
Practice,
P ti
P
Practice,
ti
P
Practice
ti

117

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How Do You Document the Steps?


4

Define Deployment Lifecycle


Define number of iterations and flow
Example:
Dev
D QA Prod
P d
Dev Test QA Prod
Execute Test Plan
Test, Test, Test

118

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Summary

119

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

What Do You Need to Remember?


Step 1. Create a Preventive Maintenance Strategy
Perform necessary
y actions to keep
p yyour system
y
healthy
y
Apply updates on a regular basis
Understand support polices Where Are You?

Step 2. Find the Updates You Need


My
y Oracle Support
pp - Note 1400757.1,, 1633974.2 (roadmap)
(
p)
Patch Wizard
Oracle E-Business Suite Technology Blog
- Upgrades,
Upgrades certifications

120

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

What Do You Need to Remember?


Use the Right Tools
Tools, Tips and Features
Tip #1: Use Patching Tools Like a
Master Apps DBA
Tip #2: Apply Multiple EBS Patches at
a Time
Tip #3
Ti
#3: D
Dontt A
Apply
l MLS P
Patches
t h if Y
You
Dont Have To
p #4: Use Oracle Applications
pp
Tip
Manager (OAM) for Patch Research
Tip #5: Streamline Technology Stack
Updates
121

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Tip #6: Expedite Multi-Node Maintenance


Tip
p #7: Apply
pp y Patches Before Taking
g
Down Production
Tip #8: Apply Patches with the Application
Change Management Pack
Tip #9: Use the Best Tools and
Configuration
g
to Optimize
p
Maintenance
Tip #10: Ensure that Maintenance
Doesnt Break Anything

What Do You Need to Remember?


Step 3. Create a Deployment Strategy
Define y
your SLA
- Unplanned and planned downtime
Define a plan template
Create a master plan
- Practice, practice, practice
- Optimize the plan
D
Define
fi th
the d
deployment
l
t lif
lifecycle
l
- Test

122

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Case Study

123

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Case Study
World Leader in Pharmaceutical Development

124

Merged Patches
Included latest AD/FND and
CPUs with application patches

Incremental effort to test techstack


patches along with application
patches
t h

Disabled archivelog mode in


production
d ti d
during
i major
j patching
t hi

Reviewed patch timing reports

Adjusted DB SGA in production


during major patching

Tune the jobs in the patch

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Used multiple servers for patching


efforts (Distributed AD)
-

Use CPU capacity on multiple servers

Case Study
World Leader in Pharmaceutical Development

125

Merged Patches
Included latest AD/FND and
CPUs with application patches

Reviewed patch timing reports

Used multiple servers for patching


efforts (Distributed AD)
-

Use CPU capacity on multiple servers

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

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Adjusted DB SGA in production


during major patching

References

126

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

E-Business Suite Technology Blog


blogs.oracle.com/stevenChan

127

Direct from EBS Development


Latest news
Certification announcements
Primers, FAQs, tips
Desupport reminders
Latest upgrade recommendations
St t
Statements
t off Direction
Di ti
Subscribe via email or RSS

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

E-Business Suite: System Management


facebook.com/groups/EBS.SysAdmin

Join us on
Facebook

128

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

129

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

130

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

131

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

You might also like