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

The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
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
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by exampleMauro Pagano
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssAnil Nair
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityMarkus Michalewicz
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overviewaguswahyudi09
 
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesKenny Gryp
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesBobby Curtis
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesMarkus Flechtner
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”Ruggero Citton
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
New lessons in connection management
New lessons in connection managementNew lessons in connection management
New lessons in connection managementToon Koppelaars
 
Active dataguard
Active dataguardActive dataguard
Active dataguardManoj Kumar
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingTanel Poder
 

What's hot (20)

The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
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
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High Availability
 
Oracle dataguard overview
Oracle dataguard overviewOracle dataguard overview
Oracle dataguard overview
 
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best PracticesMySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
MySQL InnoDB Cluster - New Features in 8.0 Releases - Best Practices
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
New lessons in connection management
New lessons in connection managementNew lessons in connection management
New lessons in connection management
 
Active dataguard
Active dataguardActive dataguard
Active dataguard
 
Oracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention TroubleshootingOracle Latch and Mutex Contention Troubleshooting
Oracle Latch and Mutex Contention Troubleshooting
 
Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
 

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

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Recently uploaded (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

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