SlideShare a Scribd company logo
Session ID:
Prepared by:
ADOP Patching Gotchas!
What can and will go wrong when patching EBS
12.2.X and how to fix it!
10175
Oti Ometie – Oracle Applications DBA
@OhOmetie
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Agenda
• Introduction
• Overview of ADOP
• Patching Multiple Nodes
• Patching a single node in a multi-node configuration
• Troubleshoot and recover from a failure.
• Perform cleanup operations after a failed patching cycle
• Dropping Old Editions
• Impact of DR
• Extra stuff
• Summary
• Q&A
2
April 2-6, 2017 in Las Vegas, NV USA #C17LV
About me
• 17+ years of experience with Oracle products
• 15 years experience as an Oracle DBA
• Oracle Certified Expert, OCP 9i,10G,11G, EBS R12
• Worked as a DBA on 3 continents in a variety of
industries (Banking, Consulting, Construction,
Manufacturing)
• Martial artist and crazy about Obstacle Course Races –
Tough Mudder, Mud hero, Spartan…
3
April 2-6, 2017 in Las Vegas, NV USA #C17LV
About New Flyer Industries
• The largest transit bus and motor coach
manufacturer and parts distributor in North America
• Fabrication, manufacturing, distribution and service
centers across Canada and the United States
• Employs approximately 5,000 team members
• Multi Billion dollar revenue
• Completed a 9 month upgrade from 11i to 12.2.4 in
September 2015
4
Overview of ADOP
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Overview of ADOP
• AD Online Patching is the ONLY way to apply patches in
EBS from Version 12.2
• Patching is carried out while users are online and the
application is in use.
• ADOP phases: prepare, apply, finalize, cutover, cleanup.
• Small downtime required for when the flip of the run and
patch file systems to occur
6
April 2-6, 2017 in Las Vegas, NV USA #C17LV
ADOP Patching Cycle
7
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Simple Commands
adop phase=prepare
adop phase=apply patches=123456
adop phase=finalize
adop phase=cutover
adop phase=cleanup
8
April 2-6, 2017 in Las Vegas, NV USA #C17LV
More commands
adop phase=prepare
adop phase=apply workers=24 patches=123456, 98765
adop phase=finalize
adop phase=cutover cm_wait=2
adop phase=cleanup
9
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Still more …
adop phase=prepare
adop phase=apply workers=24 patches=123456, 98765
adop phase=finalize,cutover cm_wait=1
adop phase=cleanup
10
Patching Multiple Nodes
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Patching Multiple Nodes
• Ensure that the patch(es) is/are available on the
$PATCH_TOP of all nodes.
• Run the commands you would run if you were patching a
single node. The commands will be run sequentially on
all nodes
• Patches are applied on the primary node before being
applied on other nodes.
12
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Patching Multiple Nodes
• Patching is non interactive i.e. you need to specify the
patch(es)
Which of the following is right?
• adop phase=apply patches=123456
• adop phase=apply
13
Patching a single node in a
multi-node configuration
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Patching a single node in a multi-node
configuration
• Run adop phase=prepare on the primary node
• Apply the patch to the node using:
• PRIMARY NODE- adop phase=apply patch=1234 allnodes=no
action=db
• SECONDARY NODES- adop phase=apply patch=1234
allnodes=no action=nodb
• Continue as usual – finalize, cutover
15
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Patching a single node in a multi-node
configuration
• Commands I’ve tried out and work for different
situations
adop phase=prepare allnodes=no action=db
adop phase=cutover allnodes=no action=db cm_wait=1
16
April 2-6, 2017 in Las Vegas, NV USA #C17LV
• You cannot run a prepare phase on a non-admin node.
adop phase=prepare allnodes=no action=nodb
The above command will fail with the error below:
Patching a single node in a multi-node
configuration
17
Troubleshoot and recover from
a failure
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Troubleshooting the error
adop –status –detail
adop phase=apply patches=xyz analytics=yes
19
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Recover from a failure
• Examples
adop phase=apply patches=123456 abandon=no restart=yes
flags=autoskip
adop phase=apply patches=21473943 allnodes=no action=nodb
abandon=no restart=yes flags=autoskip
20
April 2-6, 2017 in Las Vegas, NV USA #C17LV
If all else fails…
• ABORT
• An abort is always my last resort, it means pulling the
plug on all the patches that have been applied.
• Command:
• adop phase=abort
21
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Aborting a patch cycle
22
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Aborting a patch cycle
• The abort command terminates the patching cycle.
• All actions being performed are discarded.
• After an abort is performed a cleanup is required and will
be performed during the next adop prepare phase if not
initiated by the DBA.
• Command:
• adop phase=abort, cleanup
• adop phase=abort,cleanup cleanup_mode=full
• adop phase=fs_clone
23
Perform cleanup operations
after a failed patching cycle
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Perform cleanup operations after a failed
patching cycle
• A cleanup is required after every failed patching session.
• Failure to explicitly run the cleanup command means
that your next patching cycle will be delayed while the
prepare phase kicks off a cleanup
• Commands:
• adop phase=cleanup
• adop phase=cleanup cleanup_mode=full
25
Dropping Old Editions
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Dropping Old editions
• After each online patching cycle completes, the database
stores the previous edition.
• After a certain point this begins to impact performance
• Oracle recommends that when the number of editions
reaches 25 it’s time to purge/drop old editions
27
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Steps to Drop Old Editions
• Commands:
adop phase=prepare
adop phase=actualize_all
adop phase=finalize finalize_mode=full
adop phase=cutover
adop phase=cleanup cleanup_mode=full
28
Impact of DR – Dataguard
Standby Databases
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Impact of DR – Dataguard Standby Databases
[WARNING] adop has detected a configured disaster recovery site.
[WARNING] Follow the instructions in the section "Oracle E-Business Suite
[WARNING] Maintenance with Standby Database" of Business Continuity for
[WARNING] Oracle E-Business Suite Release 12.2 depending on the database version
used.
Do you want to continue with the prepare phase [Y/N] ?
Note: The error above has been fixed see Doc ID 2131833.1
30
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Impact of DR – Dataguard Standby Databases
• If the standby database is available while a patch is being
applied, the changes on the primary will be automatically
propagated to the standby.
31
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Impact of DR – Dataguard Standby Databases
• Doc ID 1491855.1: Section 7 goes into details
• If the standby is running during a patch application, changes
will be automatically replicated on the standby.
• Oracle recommends that before cutover:
1. Stop recovery on the standby database
2. Stopping the shipping of redo on the Primary Database
SQL>alter database recover managed standby database cancel;
SQL>alter system set log_archive_dest_state_<n>=defer;
32
Extra stuff
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Patch Wizard
34
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Abandoning a node
• When a node in a multi-node architecture is inaccessible
during an online patching cycle, it will be abandoned.
• If an adop patch fails on a secondary node. if you choose
to proceed with the cutover, node will be marked as
abandoned.
Do you want adop to continue with other completed nodes [y/n]
• Select “n”, resolve the issue and run something similar
to:
adop phase=apply patches=123456 abandon=no restart=yes
flags=autoskip allnodes=no action=nodb
35
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Examples
• If you need help and are unable to access online
resources use examples.
adop -examples
36
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Summary
• AD Online Patching is the ONLY way to apply patches in
EBS from Version 12.2
• Patching is carried out while users are online and the
application is in use.
• When patching multiple nodes ensure that the patch is
copied to the $PATCH_TOP of all nodes.
• Patching multiple nodes is non-interactive
• You indicate you want to patch a single node using the
“allnodes=no” argument and specify if it’s the primary or
secondary node using action=db/nodb
37
April 2-6, 2017 in Las Vegas, NV USA #C17LV
Summary cont.
• You can troubleshoot by using the analytics=yes
argument and –status –details argument
• Use the autoskip argument to recover from pesky errors
and continue with the session on the node with the error
using the allnodes=no argument.
• If all else fails – ABORT
• Running a cleanup before your next patch cycle saves
time
• Drop old editions to improve performance – 25 is a good
number
• Shutdown/defer Dataguard standby before cutover
38
April 2-6, 2017 in Las Vegas, NV USA #C17LV
References
• Oracle E-Business Suite Maintenance Guide Release 12.2
– Patching procedures
• Business Continuity for Oracle E-Business Suite Release
12.2 Using Oracle 11g (11gR2) Physical Standby Database
(Doc ID 1491855.1)
• Steven Chan’s blog:
https://blogs.oracle.com/stevenChan/entry/op_faq2
39
Please Complete Your
Session Evaluation
Evaluate this session in your COLLABORATE app.
Pull up this session and tap "Session Evaluation"
to complete the survey.
Session ID:
Oti Ometie
LinkedIn: linkedin.com/in/otiometie
Email: ometie@gmail.com
10175

More Related Content

What's hot

Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
Mozammel Hoque
 
Introduction to redis - version 2
Introduction to redis - version 2Introduction to redis - version 2
Introduction to redis - version 2
Dvir Volk
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
Osama Mustafa
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
vasuballa
 
Optimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise ManagerOptimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise Manager
Datavail
 
Db2 and storage management (mullins)
Db2 and storage management (mullins)Db2 and storage management (mullins)
Db2 and storage management (mullins)
Craig Mullins
 
Citrix group policy troubleshooting for xen app and xendesktop
Citrix group policy troubleshooting for xen app and xendesktopCitrix group policy troubleshooting for xen app and xendesktop
Citrix group policy troubleshooting for xen app and xendesktop
solarisyougood
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
vasuballa
 
HCL Notes and Nomad Troubleshooting for Dummies
HCL Notes and Nomad Troubleshooting for DummiesHCL Notes and Nomad Troubleshooting for Dummies
HCL Notes and Nomad Troubleshooting for Dummies
panagenda
 
Database-Migration and -Upgrade with Transportable Tablespaces
Database-Migration and -Upgrade with Transportable TablespacesDatabase-Migration and -Upgrade with Transportable Tablespaces
Database-Migration and -Upgrade with Transportable Tablespaces
Markus Flechtner
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Andrejs Karpovs
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
Dhani Ahmad
 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Andrejs Karpovs
 
Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015
andreas kuncoro
 
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Andrejs Prokopjevs
 
Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007
John Beresniewicz
 
Cronjob
CronjobCronjob
Cronjob
Niraj Kumar
 
Project Proposal of an Employee Management System
Project Proposal of an Employee Management SystemProject Proposal of an Employee Management System
Project Proposal of an Employee Management System
NurFathihaTahiatSeeu
 

What's hot (20)

Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
 
Introduction to redis - version 2
Introduction to redis - version 2Introduction to redis - version 2
Introduction to redis - version 2
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
Optimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise ManagerOptimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise Manager
 
Db2 and storage management (mullins)
Db2 and storage management (mullins)Db2 and storage management (mullins)
Db2 and storage management (mullins)
 
Citrix group policy troubleshooting for xen app and xendesktop
Citrix group policy troubleshooting for xen app and xendesktopCitrix group policy troubleshooting for xen app and xendesktop
Citrix group policy troubleshooting for xen app and xendesktop
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
 
HCL Notes and Nomad Troubleshooting for Dummies
HCL Notes and Nomad Troubleshooting for DummiesHCL Notes and Nomad Troubleshooting for Dummies
HCL Notes and Nomad Troubleshooting for Dummies
 
Database-Migration and -Upgrade with Transportable Tablespaces
Database-Migration and -Upgrade with Transportable TablespacesDatabase-Migration and -Upgrade with Transportable Tablespaces
Database-Migration and -Upgrade with Transportable Tablespaces
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
 
Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015Adop and maintenance task presentation 151015
Adop and maintenance task presentation 151015
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
 
Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Cronjob
CronjobCronjob
Cronjob
 
Project Proposal of an Employee Management System
Project Proposal of an Employee Management SystemProject Proposal of an Employee Management System
Project Proposal of an Employee Management System
 

Similar to Adop patching gotchas ppt

Hadoop databases for oracle DBAs
Hadoop databases for oracle DBAsHadoop databases for oracle DBAs
Hadoop databases for oracle DBAs
Maxym Kharchenko
 
Oracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12cOracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12c
vasuballa
 
Oracle and Java together for simplicity and performance
Oracle and Java together for simplicity and performanceOracle and Java together for simplicity and performance
Oracle and Java together for simplicity and performance
Salim Sayed
 
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAsAn Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
Jim Czuprynski
 
Uponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case StudyUponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case Study
Simo Vilmunen
 
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c AdministrationWhere did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
Alfredo Krieg
 
Collaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
Collaborate PeopleSoft keynote session: Cloudy Skies Today and TomorrowCollaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
Collaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
Smart ERP Solutions, Inc.
 
1225 case study
1225 case study1225 case study
1225 case study
Michael Brown
 
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
Jim Czuprynski
 
ASCP production schedule.pdf
ASCP production schedule.pdfASCP production schedule.pdf
ASCP production schedule.pdf
Muthusankaranarayana1
 
Rails Conf Europe 2007 Notes
Rails Conf  Europe 2007  NotesRails Conf  Europe 2007  Notes
Rails Conf Europe 2007 NotesRoss Lawley
 
Experiences building a multi region cassandra operations orchestrator on aws
Experiences building a multi region cassandra operations orchestrator on awsExperiences building a multi region cassandra operations orchestrator on aws
Experiences building a multi region cassandra operations orchestrator on aws
Diego Pacheco
 
E1 Pages Contest Hosted by Terillium
E1 Pages Contest Hosted by TerilliumE1 Pages Contest Hosted by Terillium
E1 Pages Contest Hosted by Terillium
Terillium
 
EBS on Oracle Cloud
EBS on Oracle CloudEBS on Oracle Cloud
EBS on Oracle Cloud
vasuballa
 
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
Project Control | PROJ CTRL
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & ExpressionsRich Price
 
Sap basis-notes-keylabs-training
Sap basis-notes-keylabs-trainingSap basis-notes-keylabs-training
Sap basis-notes-keylabs-training
nanda nanda
 
20150312 NOBS for Noobs
20150312 NOBS for Noobs20150312 NOBS for Noobs
20150312 NOBS for Noobs
David Horvath
 
Automatically Grading Brazilian Student Essays.pdf
Automatically Grading Brazilian Student Essays.pdfAutomatically Grading Brazilian Student Essays.pdf
Automatically Grading Brazilian Student Essays.pdf
Sandra Valenzuela
 
202110 SESUG 46 NOBS for Noobs
202110 SESUG 46 NOBS for Noobs 202110 SESUG 46 NOBS for Noobs
202110 SESUG 46 NOBS for Noobs
dhorvath
 

Similar to Adop patching gotchas ppt (20)

Hadoop databases for oracle DBAs
Hadoop databases for oracle DBAsHadoop databases for oracle DBAs
Hadoop databases for oracle DBAs
 
Oracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12cOracle EBS database upgrade to 12c
Oracle EBS database upgrade to 12c
 
Oracle and Java together for simplicity and performance
Oracle and Java together for simplicity and performanceOracle and Java together for simplicity and performance
Oracle and Java together for simplicity and performance
 
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAsAn Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
An Autonomous Singularity Approaches: Force Multipliers For Overwhelmed DBAs
 
Uponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case StudyUponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case Study
 
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c AdministrationWhere did my day go?: Oracle Enterprise Manager 12c/13c Administration
Where did my day go?: Oracle Enterprise Manager 12c/13c Administration
 
Collaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
Collaborate PeopleSoft keynote session: Cloudy Skies Today and TomorrowCollaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
Collaborate PeopleSoft keynote session: Cloudy Skies Today and Tomorrow
 
1225 case study
1225 case study1225 case study
1225 case study
 
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
Vote Early, Vote Often: From Napkin to Canvassing Application in a Single Wee...
 
ASCP production schedule.pdf
ASCP production schedule.pdfASCP production schedule.pdf
ASCP production schedule.pdf
 
Rails Conf Europe 2007 Notes
Rails Conf  Europe 2007  NotesRails Conf  Europe 2007  Notes
Rails Conf Europe 2007 Notes
 
Experiences building a multi region cassandra operations orchestrator on aws
Experiences building a multi region cassandra operations orchestrator on awsExperiences building a multi region cassandra operations orchestrator on aws
Experiences building a multi region cassandra operations orchestrator on aws
 
E1 Pages Contest Hosted by Terillium
E1 Pages Contest Hosted by TerilliumE1 Pages Contest Hosted by Terillium
E1 Pages Contest Hosted by Terillium
 
EBS on Oracle Cloud
EBS on Oracle CloudEBS on Oracle Cloud
EBS on Oracle Cloud
 
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
Implementinga projectportfoliomanagementprocessatthecityofarvadausingapex pre...
 
Variables & Expressions
Variables & ExpressionsVariables & Expressions
Variables & Expressions
 
Sap basis-notes-keylabs-training
Sap basis-notes-keylabs-trainingSap basis-notes-keylabs-training
Sap basis-notes-keylabs-training
 
20150312 NOBS for Noobs
20150312 NOBS for Noobs20150312 NOBS for Noobs
20150312 NOBS for Noobs
 
Automatically Grading Brazilian Student Essays.pdf
Automatically Grading Brazilian Student Essays.pdfAutomatically Grading Brazilian Student Essays.pdf
Automatically Grading Brazilian Student Essays.pdf
 
202110 SESUG 46 NOBS for Noobs
202110 SESUG 46 NOBS for Noobs 202110 SESUG 46 NOBS for Noobs
202110 SESUG 46 NOBS for Noobs
 

Recently uploaded

RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
Jen Stirrup
 

Recently uploaded (20)

RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
 

Adop patching gotchas ppt

  • 1. Session ID: Prepared by: ADOP Patching Gotchas! What can and will go wrong when patching EBS 12.2.X and how to fix it! 10175 Oti Ometie – Oracle Applications DBA @OhOmetie
  • 2. April 2-6, 2017 in Las Vegas, NV USA #C17LV Agenda • Introduction • Overview of ADOP • Patching Multiple Nodes • Patching a single node in a multi-node configuration • Troubleshoot and recover from a failure. • Perform cleanup operations after a failed patching cycle • Dropping Old Editions • Impact of DR • Extra stuff • Summary • Q&A 2
  • 3. April 2-6, 2017 in Las Vegas, NV USA #C17LV About me • 17+ years of experience with Oracle products • 15 years experience as an Oracle DBA • Oracle Certified Expert, OCP 9i,10G,11G, EBS R12 • Worked as a DBA on 3 continents in a variety of industries (Banking, Consulting, Construction, Manufacturing) • Martial artist and crazy about Obstacle Course Races – Tough Mudder, Mud hero, Spartan… 3
  • 4. April 2-6, 2017 in Las Vegas, NV USA #C17LV About New Flyer Industries • The largest transit bus and motor coach manufacturer and parts distributor in North America • Fabrication, manufacturing, distribution and service centers across Canada and the United States • Employs approximately 5,000 team members • Multi Billion dollar revenue • Completed a 9 month upgrade from 11i to 12.2.4 in September 2015 4
  • 6. April 2-6, 2017 in Las Vegas, NV USA #C17LV Overview of ADOP • AD Online Patching is the ONLY way to apply patches in EBS from Version 12.2 • Patching is carried out while users are online and the application is in use. • ADOP phases: prepare, apply, finalize, cutover, cleanup. • Small downtime required for when the flip of the run and patch file systems to occur 6
  • 7. April 2-6, 2017 in Las Vegas, NV USA #C17LV ADOP Patching Cycle 7
  • 8. April 2-6, 2017 in Las Vegas, NV USA #C17LV Simple Commands adop phase=prepare adop phase=apply patches=123456 adop phase=finalize adop phase=cutover adop phase=cleanup 8
  • 9. April 2-6, 2017 in Las Vegas, NV USA #C17LV More commands adop phase=prepare adop phase=apply workers=24 patches=123456, 98765 adop phase=finalize adop phase=cutover cm_wait=2 adop phase=cleanup 9
  • 10. April 2-6, 2017 in Las Vegas, NV USA #C17LV Still more … adop phase=prepare adop phase=apply workers=24 patches=123456, 98765 adop phase=finalize,cutover cm_wait=1 adop phase=cleanup 10
  • 12. April 2-6, 2017 in Las Vegas, NV USA #C17LV Patching Multiple Nodes • Ensure that the patch(es) is/are available on the $PATCH_TOP of all nodes. • Run the commands you would run if you were patching a single node. The commands will be run sequentially on all nodes • Patches are applied on the primary node before being applied on other nodes. 12
  • 13. April 2-6, 2017 in Las Vegas, NV USA #C17LV Patching Multiple Nodes • Patching is non interactive i.e. you need to specify the patch(es) Which of the following is right? • adop phase=apply patches=123456 • adop phase=apply 13
  • 14. Patching a single node in a multi-node configuration
  • 15. April 2-6, 2017 in Las Vegas, NV USA #C17LV Patching a single node in a multi-node configuration • Run adop phase=prepare on the primary node • Apply the patch to the node using: • PRIMARY NODE- adop phase=apply patch=1234 allnodes=no action=db • SECONDARY NODES- adop phase=apply patch=1234 allnodes=no action=nodb • Continue as usual – finalize, cutover 15
  • 16. April 2-6, 2017 in Las Vegas, NV USA #C17LV Patching a single node in a multi-node configuration • Commands I’ve tried out and work for different situations adop phase=prepare allnodes=no action=db adop phase=cutover allnodes=no action=db cm_wait=1 16
  • 17. April 2-6, 2017 in Las Vegas, NV USA #C17LV • You cannot run a prepare phase on a non-admin node. adop phase=prepare allnodes=no action=nodb The above command will fail with the error below: Patching a single node in a multi-node configuration 17
  • 18. Troubleshoot and recover from a failure
  • 19. April 2-6, 2017 in Las Vegas, NV USA #C17LV Troubleshooting the error adop –status –detail adop phase=apply patches=xyz analytics=yes 19
  • 20. April 2-6, 2017 in Las Vegas, NV USA #C17LV Recover from a failure • Examples adop phase=apply patches=123456 abandon=no restart=yes flags=autoskip adop phase=apply patches=21473943 allnodes=no action=nodb abandon=no restart=yes flags=autoskip 20
  • 21. April 2-6, 2017 in Las Vegas, NV USA #C17LV If all else fails… • ABORT • An abort is always my last resort, it means pulling the plug on all the patches that have been applied. • Command: • adop phase=abort 21
  • 22. April 2-6, 2017 in Las Vegas, NV USA #C17LV Aborting a patch cycle 22
  • 23. April 2-6, 2017 in Las Vegas, NV USA #C17LV Aborting a patch cycle • The abort command terminates the patching cycle. • All actions being performed are discarded. • After an abort is performed a cleanup is required and will be performed during the next adop prepare phase if not initiated by the DBA. • Command: • adop phase=abort, cleanup • adop phase=abort,cleanup cleanup_mode=full • adop phase=fs_clone 23
  • 24. Perform cleanup operations after a failed patching cycle
  • 25. April 2-6, 2017 in Las Vegas, NV USA #C17LV Perform cleanup operations after a failed patching cycle • A cleanup is required after every failed patching session. • Failure to explicitly run the cleanup command means that your next patching cycle will be delayed while the prepare phase kicks off a cleanup • Commands: • adop phase=cleanup • adop phase=cleanup cleanup_mode=full 25
  • 27. April 2-6, 2017 in Las Vegas, NV USA #C17LV Dropping Old editions • After each online patching cycle completes, the database stores the previous edition. • After a certain point this begins to impact performance • Oracle recommends that when the number of editions reaches 25 it’s time to purge/drop old editions 27
  • 28. April 2-6, 2017 in Las Vegas, NV USA #C17LV Steps to Drop Old Editions • Commands: adop phase=prepare adop phase=actualize_all adop phase=finalize finalize_mode=full adop phase=cutover adop phase=cleanup cleanup_mode=full 28
  • 29. Impact of DR – Dataguard Standby Databases
  • 30. April 2-6, 2017 in Las Vegas, NV USA #C17LV Impact of DR – Dataguard Standby Databases [WARNING] adop has detected a configured disaster recovery site. [WARNING] Follow the instructions in the section "Oracle E-Business Suite [WARNING] Maintenance with Standby Database" of Business Continuity for [WARNING] Oracle E-Business Suite Release 12.2 depending on the database version used. Do you want to continue with the prepare phase [Y/N] ? Note: The error above has been fixed see Doc ID 2131833.1 30
  • 31. April 2-6, 2017 in Las Vegas, NV USA #C17LV Impact of DR – Dataguard Standby Databases • If the standby database is available while a patch is being applied, the changes on the primary will be automatically propagated to the standby. 31
  • 32. April 2-6, 2017 in Las Vegas, NV USA #C17LV Impact of DR – Dataguard Standby Databases • Doc ID 1491855.1: Section 7 goes into details • If the standby is running during a patch application, changes will be automatically replicated on the standby. • Oracle recommends that before cutover: 1. Stop recovery on the standby database 2. Stopping the shipping of redo on the Primary Database SQL>alter database recover managed standby database cancel; SQL>alter system set log_archive_dest_state_<n>=defer; 32
  • 34. April 2-6, 2017 in Las Vegas, NV USA #C17LV Patch Wizard 34
  • 35. April 2-6, 2017 in Las Vegas, NV USA #C17LV Abandoning a node • When a node in a multi-node architecture is inaccessible during an online patching cycle, it will be abandoned. • If an adop patch fails on a secondary node. if you choose to proceed with the cutover, node will be marked as abandoned. Do you want adop to continue with other completed nodes [y/n] • Select “n”, resolve the issue and run something similar to: adop phase=apply patches=123456 abandon=no restart=yes flags=autoskip allnodes=no action=nodb 35
  • 36. April 2-6, 2017 in Las Vegas, NV USA #C17LV Examples • If you need help and are unable to access online resources use examples. adop -examples 36
  • 37. April 2-6, 2017 in Las Vegas, NV USA #C17LV Summary • AD Online Patching is the ONLY way to apply patches in EBS from Version 12.2 • Patching is carried out while users are online and the application is in use. • When patching multiple nodes ensure that the patch is copied to the $PATCH_TOP of all nodes. • Patching multiple nodes is non-interactive • You indicate you want to patch a single node using the “allnodes=no” argument and specify if it’s the primary or secondary node using action=db/nodb 37
  • 38. April 2-6, 2017 in Las Vegas, NV USA #C17LV Summary cont. • You can troubleshoot by using the analytics=yes argument and –status –details argument • Use the autoskip argument to recover from pesky errors and continue with the session on the node with the error using the allnodes=no argument. • If all else fails – ABORT • Running a cleanup before your next patch cycle saves time • Drop old editions to improve performance – 25 is a good number • Shutdown/defer Dataguard standby before cutover 38
  • 39. April 2-6, 2017 in Las Vegas, NV USA #C17LV References • Oracle E-Business Suite Maintenance Guide Release 12.2 – Patching procedures • Business Continuity for Oracle E-Business Suite Release 12.2 Using Oracle 11g (11gR2) Physical Standby Database (Doc ID 1491855.1) • Steven Chan’s blog: https://blogs.oracle.com/stevenChan/entry/op_faq2 39
  • 40.
  • 41. Please Complete Your Session Evaluation Evaluate this session in your COLLABORATE app. Pull up this session and tap "Session Evaluation" to complete the survey. Session ID: Oti Ometie LinkedIn: linkedin.com/in/otiometie Email: ometie@gmail.com 10175