SlideShare a Scribd company logo
1 of 32
Exadata Patching Demystified
                      Presented by: Andy Colvin
                              August 14, 2012
About Me
            Working around Oracle since 1999

            Background in systems, network,
             database

            6 years at Enkitec

            Working on Exadata for 2+ years
Exadata Patching Survey
            How many people patch themselves?
              How many have had problems patching?

            How many never patch?
A Quick Disclaimer
 Patching was very rough in the beginning

 It’s much better now!
 Do I have to patch every
  month?

 Oracle will patch my Exadata
  for me*

 If I don’t patch my Exadata,
  Oracle won’t support me

 Exadata patches are scary
Why Patch?
 Bug fixes

 New features

 Security updates
Where to Start?
            MOS Note #888828.1
             Latest patch updates
             New patching methods
             Links to patch notes for other
              products
Oracle-Provided Patches
    Compute Nodes
                        Exadata Storage
     Oracle Stack
                        Servers
     Linux/Solaris
                           Intelligent storage
                           Always run Linux
                           Proprietary
Infiniband Switches         application - cellsrv
    Custom CentOS
Exadata Storage Server Patches
     Exadata Storage Server
        Single patch
          Operating system
•         Firmware
    Single patch download
     • SameDriversapplies to all hardware
          patch
    • Exadata software, OS, ILOM, firmware
       Updates storage and compute nodes
    • README and Support Note
        Released quarterly (usually)
      # imageinfo
      Active image version: 11.2.2.3.2.110520
Exadata Storage Server Versions
                        11.2.3.1.1
DB Major Release                         Maintenance Release

     DB Minor Release                   Feature Release

                          DB Patchset
Exadata Storage Server Versions
 What version am I running?

[root@enkcel03 ~]# imageinfo

Kernel version: 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 x86_64
Cell version: OSS_11.2.3.1.1_LINUX.X64_120607
Cell rpm version: cell-11.2.3.1.1_LINUX.X64_120607-1

Active image version: 11.2.3.1.1.120607
Active image activated: 2012-06-28 21:45:30 -0500
Active image status: success
Active system partition on device: /dev/md6
Active software partition on device: /dev/md8
Exadata Storage Server Patches
 Apply with patchmgr – included with the patch release

 Run from compute node

 Uses dcli and SSH keys to deploy patch across storage
  grid
What Happens During Patching?
 New OS image pushed to inactive partitions on each cell

 Filesystem labels are switched to newly patched partitions

 The cell reboots and firmware is patched – multiple reboots
  are common

 Post-install validation checks are run

 USB recovery media is updated to match the new software
  version
Rolling Storage Server Patching
                                       offline
                                        disks
 No outage required                   online
                                                  cel01
                                        disks

 Single command                                 ASM resync




                       Patch Staging
  end-to-end                           offline
                                        disks
                                       online
                                                  cel02
 Consider your                         disks

  workload                                       ASM resync

   6 hours – ¼ rack                   offline
                                        disks
                                       online
                                                  celNN
                                        disks

                                                 ASM resync
Non-Rolling Storage Server Patching
 Full outage                             cel01

   1.5 – 3 hours




                          Patch Staging
 All cells in parallel
                                          cel02
 Shorter
  maintenance
  window
                                          celNN
Patching Database Servers
 Database servers updated with storage servers

 Utilize yum for updates

 Each version has a yum channel
   exadata_dbserver_11.2_x86_64_latest
   exadata_dbserver_11.2.3.1.0_x86_64_base
   exadata_dbserver_11.2.3.1.0_x86_64_patch
Patching Database Servers
 Database servers updated along with storage servers

 Utilize yum for updates
   Replaces old “minimal pack”

 Each version has a yum channel
   exadata_dbserver_11.2_x86_64_latest
   exadata_dbserver_11.2.3.1.0_x86_64_base
   exadata_dbserver_11.2.3.1.0_x86_64_patch
Patching Database Servers
 Compute nodes must be running OEL 5.5
   V2 Exadata owners – see MOS note #1284070.1

 Several options for installation
   Update directly from ULN
   Configure local yum repository
   Mount ISO file containing RPMs
Quarterly Database Patch for Exadata
   Patches for RDBMS & Grid Infrastructure
   Applied using OPatch
   Each BP/QDPE contains 3 patches, applied together
     RDBMS
     CRS
     Diskmon

   Patches are cumulative
Quarterly Database Patch for Exadata
   Originally called bundle patches

   Release frequency
     Current patchset (11.2.0.3) – quarterly recommended
      patches, with monthly bundles
     Previous patchset (11.2.0.2) - quarterly

   Oracle recommends quarterly patching according to
    CPU/PSU cycle
QDPE / BP Versions
    Check patch version with “opatch lsinventory”
[oracle@enkdb01 ~]$ opatch lsinventory

Interim patches (3) :

Patch 13688022 : applied on Fri Apr 27 14:52:31 CDT 2012
Unique Patch ID: 14639565
Patch description: "Diskmon Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13688022)”

Patch 13696251 : applied on Fri Apr 27 14:51:36 CDT 2012
Unique Patch ID: 14639565
Patch description: "CRS Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13696251)”

Patch 13734832 : applied on Fri Apr 27 14:49:34 CDT 2012
Unique Patch ID: 14639565
Patch description: "Database Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13734832)”
QDPE / BP Application
 Always rolling patches

 Applied one node at a time

 Use opatch auto to apply

 Requires root privileges
   sudo is acceptable

 Post-install database scripts
Patchset Upgrades
 Check MOS #888828.1 for certification

 Read upgrade-specific notes before
  upgrading
   11.2.0.2 – MOS #1315926.1
   11.2.0.3 – MOS #1373255.1

 GI upgrade always rolling

 Database upgrade requires an outage*
Patchset Upgrades
 Minimum cell version requirements
   11.2.0.2 – cell version 11.2.2.1.1+
   11.2.0.3 – cell version 11.2.2.4.0+

 Install latest BP on current release
  before upgrading GI/RDBMS
 Apply BP/QDPE after installing
  software, before running upgrade
  scripts
Infiniband Patches
 Released yearly

 Infiniband switches run CentOS Linux

 Patch method depends on version

 Rolling patches – no outage required
   Spine switch first, followed by leaf switches
What’s a QFSDP?
 Quarterly Full Stack Download Patch

 Released January, April, July, October

 Contains latest patches for all stacks
   Infrastructure
   Database
   OEM

 Patches still installed individually

 You may not need to apply all patches (Infiniband, PDU, etc)
Minimizing Patching Risk
             Create a concise patching plan

             Read all of the notes before
              starting

             Patch a non-production system
              first

             Patch the same way on all systems
Standby First Patch Apply
 Apply patches to standby system

 Perform testing with snapshot
  standby or active data guard

 Dataguard switchover

 Patch previous production system

 Switch back to production or leave as
  is for next patch cycle
OPlan
 Used with BP/QDPE deployment
 Creates patch deployment report customized to your
  environment
 Includes steps for in place, out of place patch and rollback
 MOS Note #1306814.1
   Patch #11846294
   Available for 11.2.0.2 and 11.2.0.3 bundle patches or QDPEs
A Quick Note on Platinum Services
 Read the T’s and C’s before you
  trust sales

 Oracle will patch for free (to a
  certain extent)

 Monitoring is great
Useful MOS Notes
 Supported versions (11.2) - #888828.1

 e-Business Suite patch compatibility - #1392527.1

 OPlan – #1306814.1

 Exachk – #1070954.1

 11.2.0.2 upgrade – #1315926.1

 11.2.0.3 upgrade – #1373255.1
Questions?
Contact Information: Andy Colvin
email - andy.colvin@enkitec.com
web - http://www.enkitec.com
blog – http://blog.oracle-ninja.com
twitter - @acolvin

More Related Content

What's hot

Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performancePostgreSQL-Consulting
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksMarkus Michalewicz
 
Exadata db node update
Exadata db node updateExadata db node update
Exadata db node updatepat2001
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Active dataguard
Active dataguardActive dataguard
Active dataguardManoj Kumar
 
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 hostOsama Mustafa
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsCarlos Sierra
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateMarkus Michalewicz
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Carlos Sierra
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by exampleMauro Pagano
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 

What's hot (20)

Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performance
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Exadata db node update
Exadata db node updateExadata db node update
Exadata db node update
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
AWR and ASH Deep Dive
AWR and ASH Deep DiveAWR and ASH Deep Dive
AWR and ASH Deep Dive
 
Active dataguard
Active dataguardActive dataguard
Active dataguard
 
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
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 

Similar to Exadata Patching Demystified

Spectre meltdown performance_tests - v0.3
Spectre meltdown performance_tests - v0.3Spectre meltdown performance_tests - v0.3
Spectre meltdown performance_tests - v0.3David Pasek
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』Insight Technology, Inc.
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
 
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Nuno Alves
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningScott Jenner
 
Nexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on LabNexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on LabNexenta Systems
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACSecure-24
 
Erez Alsheich - GridControl
Erez Alsheich - GridControlErez Alsheich - GridControl
Erez Alsheich - GridControlgridcontrol
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenEDB
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlLeighton Nelson
 
Interview questions
Interview questionsInterview questions
Interview questionsxavier john
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software ReleaseIsabella789
 

Similar to Exadata Patching Demystified (20)

Spectre meltdown performance_tests - v0.3
Spectre meltdown performance_tests - v0.3Spectre meltdown performance_tests - v0.3
Spectre meltdown performance_tests - v0.3
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
 
Refining Linux
Refining LinuxRefining Linux
Refining Linux
 
Deep Dive on Amazon EC2
Deep Dive on Amazon EC2Deep Dive on Amazon EC2
Deep Dive on Amazon EC2
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
Wp intelli cache_reduction_iops_xd5.6_fp1_xs6.1
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance Tuning
 
Nexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on LabNexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on Lab
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
Erez Alsheich - GridControl
Erez Alsheich - GridControlErez Alsheich - GridControl
Erez Alsheich - GridControl
 
RAC - Test
RAC - TestRAC - Test
RAC - Test
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
 
2337610
23376102337610
2337610
 
Interview questions
Interview questionsInterview questions
Interview questions
 
VMware Performance
VMware Performance VMware Performance
VMware Performance
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
 
Exch2007 sp1 win2008
Exch2007 sp1 win2008Exch2007 sp1 win2008
Exch2007 sp1 win2008
 

More from Enkitec

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEXEnkitec
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014Enkitec
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEnkitec
 
Think Exa!
Think Exa!Think Exa!
Think Exa!Enkitec
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneEnkitec
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1Enkitec
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingEnkitec
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDBEnkitec
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeEnkitec
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
SQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeSQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeEnkitec
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityEnkitec
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceEnkitec
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture PerformanceEnkitec
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security PrimerEnkitec
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?Enkitec
 
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Enkitec
 
Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Enkitec
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writerEnkitec
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014Enkitec
 

More from Enkitec (20)

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEX
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service Demonstration
 
Think Exa!
Think Exa!Think Exa!
Think Exa!
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for Profiling
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDB
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
SQL Tuning Tools of the Trade
SQL Tuning Tools of the TradeSQL Tuning Tools of the Trade
SQL Tuning Tools of the Trade
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security Primer
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?
 
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
 
Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)Sql tuning made easier with sqltxplain (sqlt)
Sql tuning made easier with sqltxplain (sqlt)
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writer
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014
 

Recently uploaded

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Exadata Patching Demystified

  • 1. Exadata Patching Demystified Presented by: Andy Colvin August 14, 2012
  • 2. About Me  Working around Oracle since 1999  Background in systems, network, database  6 years at Enkitec  Working on Exadata for 2+ years
  • 3. Exadata Patching Survey  How many people patch themselves?  How many have had problems patching?  How many never patch?
  • 4. A Quick Disclaimer  Patching was very rough in the beginning  It’s much better now!
  • 5.  Do I have to patch every month?  Oracle will patch my Exadata for me*  If I don’t patch my Exadata, Oracle won’t support me  Exadata patches are scary
  • 6. Why Patch?  Bug fixes  New features  Security updates
  • 7. Where to Start?  MOS Note #888828.1  Latest patch updates  New patching methods  Links to patch notes for other products
  • 8. Oracle-Provided Patches Compute Nodes Exadata Storage  Oracle Stack Servers  Linux/Solaris  Intelligent storage  Always run Linux  Proprietary Infiniband Switches application - cellsrv  Custom CentOS
  • 9. Exadata Storage Server Patches Exadata Storage Server  Single patch  Operating system •  Firmware Single patch download • SameDriversapplies to all hardware  patch • Exadata software, OS, ILOM, firmware  Updates storage and compute nodes • README and Support Note  Released quarterly (usually) # imageinfo Active image version: 11.2.2.3.2.110520
  • 10. Exadata Storage Server Versions 11.2.3.1.1 DB Major Release Maintenance Release DB Minor Release Feature Release DB Patchset
  • 11. Exadata Storage Server Versions  What version am I running? [root@enkcel03 ~]# imageinfo Kernel version: 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 x86_64 Cell version: OSS_11.2.3.1.1_LINUX.X64_120607 Cell rpm version: cell-11.2.3.1.1_LINUX.X64_120607-1 Active image version: 11.2.3.1.1.120607 Active image activated: 2012-06-28 21:45:30 -0500 Active image status: success Active system partition on device: /dev/md6 Active software partition on device: /dev/md8
  • 12. Exadata Storage Server Patches  Apply with patchmgr – included with the patch release  Run from compute node  Uses dcli and SSH keys to deploy patch across storage grid
  • 13. What Happens During Patching?  New OS image pushed to inactive partitions on each cell  Filesystem labels are switched to newly patched partitions  The cell reboots and firmware is patched – multiple reboots are common  Post-install validation checks are run  USB recovery media is updated to match the new software version
  • 14. Rolling Storage Server Patching offline disks  No outage required online cel01 disks  Single command ASM resync Patch Staging end-to-end offline disks online cel02  Consider your disks workload ASM resync  6 hours – ¼ rack offline disks online celNN disks ASM resync
  • 15. Non-Rolling Storage Server Patching  Full outage cel01  1.5 – 3 hours Patch Staging  All cells in parallel cel02  Shorter maintenance window celNN
  • 16. Patching Database Servers  Database servers updated with storage servers  Utilize yum for updates  Each version has a yum channel  exadata_dbserver_11.2_x86_64_latest  exadata_dbserver_11.2.3.1.0_x86_64_base  exadata_dbserver_11.2.3.1.0_x86_64_patch
  • 17. Patching Database Servers  Database servers updated along with storage servers  Utilize yum for updates  Replaces old “minimal pack”  Each version has a yum channel  exadata_dbserver_11.2_x86_64_latest  exadata_dbserver_11.2.3.1.0_x86_64_base  exadata_dbserver_11.2.3.1.0_x86_64_patch
  • 18. Patching Database Servers  Compute nodes must be running OEL 5.5  V2 Exadata owners – see MOS note #1284070.1  Several options for installation  Update directly from ULN  Configure local yum repository  Mount ISO file containing RPMs
  • 19. Quarterly Database Patch for Exadata  Patches for RDBMS & Grid Infrastructure  Applied using OPatch  Each BP/QDPE contains 3 patches, applied together  RDBMS  CRS  Diskmon  Patches are cumulative
  • 20. Quarterly Database Patch for Exadata  Originally called bundle patches  Release frequency  Current patchset (11.2.0.3) – quarterly recommended patches, with monthly bundles  Previous patchset (11.2.0.2) - quarterly  Oracle recommends quarterly patching according to CPU/PSU cycle
  • 21. QDPE / BP Versions  Check patch version with “opatch lsinventory” [oracle@enkdb01 ~]$ opatch lsinventory Interim patches (3) : Patch 13688022 : applied on Fri Apr 27 14:52:31 CDT 2012 Unique Patch ID: 14639565 Patch description: "Diskmon Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13688022)” Patch 13696251 : applied on Fri Apr 27 14:51:36 CDT 2012 Unique Patch ID: 14639565 Patch description: "CRS Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13696251)” Patch 13734832 : applied on Fri Apr 27 14:49:34 CDT 2012 Unique Patch ID: 14639565 Patch description: "Database Patch for Exadata (APR 2012 - 11.2.0.3.5) : (13734832)”
  • 22. QDPE / BP Application  Always rolling patches  Applied one node at a time  Use opatch auto to apply  Requires root privileges  sudo is acceptable  Post-install database scripts
  • 23. Patchset Upgrades  Check MOS #888828.1 for certification  Read upgrade-specific notes before upgrading  11.2.0.2 – MOS #1315926.1  11.2.0.3 – MOS #1373255.1  GI upgrade always rolling  Database upgrade requires an outage*
  • 24. Patchset Upgrades  Minimum cell version requirements  11.2.0.2 – cell version 11.2.2.1.1+  11.2.0.3 – cell version 11.2.2.4.0+  Install latest BP on current release before upgrading GI/RDBMS  Apply BP/QDPE after installing software, before running upgrade scripts
  • 25. Infiniband Patches  Released yearly  Infiniband switches run CentOS Linux  Patch method depends on version  Rolling patches – no outage required  Spine switch first, followed by leaf switches
  • 26. What’s a QFSDP?  Quarterly Full Stack Download Patch  Released January, April, July, October  Contains latest patches for all stacks  Infrastructure  Database  OEM  Patches still installed individually  You may not need to apply all patches (Infiniband, PDU, etc)
  • 27. Minimizing Patching Risk  Create a concise patching plan  Read all of the notes before starting  Patch a non-production system first  Patch the same way on all systems
  • 28. Standby First Patch Apply  Apply patches to standby system  Perform testing with snapshot standby or active data guard  Dataguard switchover  Patch previous production system  Switch back to production or leave as is for next patch cycle
  • 29. OPlan  Used with BP/QDPE deployment  Creates patch deployment report customized to your environment  Includes steps for in place, out of place patch and rollback  MOS Note #1306814.1  Patch #11846294  Available for 11.2.0.2 and 11.2.0.3 bundle patches or QDPEs
  • 30. A Quick Note on Platinum Services  Read the T’s and C’s before you trust sales  Oracle will patch for free (to a certain extent)  Monitoring is great
  • 31. Useful MOS Notes  Supported versions (11.2) - #888828.1  e-Business Suite patch compatibility - #1392527.1  OPlan – #1306814.1  Exachk – #1070954.1  11.2.0.2 upgrade – #1315926.1  11.2.0.3 upgrade – #1373255.1
  • 32. Questions? Contact Information: Andy Colvin email - andy.colvin@enkitec.com web - http://www.enkitec.com blog – http://blog.oracle-ninja.com twitter - @acolvin