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

How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14Bobby Curtis
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionMark Broadbent
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsMydbops
 
Large Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingLarge Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingDatabricks
 
Learning how AWS implement AWS VPC CNI
Learning how AWS implement AWS VPC CNILearning how AWS implement AWS VPC CNI
Learning how AWS implement AWS VPC CNIHungWei Chiu
 
How to find what is making your Oracle database slow
How to find what is making your Oracle database slowHow to find what is making your Oracle database slow
How to find what is making your Oracle database slowSolarWinds
 
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
 
Zookeeper Introduce
Zookeeper IntroduceZookeeper Introduce
Zookeeper Introducejhao niu
 
APEX Connect 2019 - SQL Tuning 101
APEX Connect 2019 - SQL Tuning 101APEX Connect 2019 - SQL Tuning 101
APEX Connect 2019 - SQL Tuning 101Connor McDonald
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialColin Charles
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...Simplilearn
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14Bobby Curtis
 
Scalability, Availability & Stability Patterns
Scalability, Availability & Stability PatternsScalability, Availability & Stability Patterns
Scalability, Availability & Stability PatternsJonas Bonér
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
RedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ TwitterRedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ TwitterRedis Labs
 
Building Open Source Identity Management with FreeIPA
Building Open Source Identity Management with FreeIPABuilding Open Source Identity Management with FreeIPA
Building Open Source Identity Management with FreeIPALDAPCon
 

What's hot (20)

How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14How many ways to monitor oracle golden gate-Collaborate 14
How many ways to monitor oracle golden gate-Collaborate 14
 
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 EditionSQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
 
Rapid Home Provisioning
Rapid Home ProvisioningRapid Home Provisioning
Rapid Home Provisioning
 
PostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability MethodsPostgreSQL Replication High Availability Methods
PostgreSQL Replication High Availability Methods
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
 
Large Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured StreamingLarge Scale Lakehouse Implementation Using Structured Streaming
Large Scale Lakehouse Implementation Using Structured Streaming
 
Learning how AWS implement AWS VPC CNI
Learning how AWS implement AWS VPC CNILearning how AWS implement AWS VPC CNI
Learning how AWS implement AWS VPC CNI
 
Oracle 資料庫建立
Oracle 資料庫建立Oracle 資料庫建立
Oracle 資料庫建立
 
How to find what is making your Oracle database slow
How to find what is making your Oracle database slowHow to find what is making your Oracle database slow
How to find what is making your Oracle database slow
 
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
 
Zookeeper Introduce
Zookeeper IntroduceZookeeper Introduce
Zookeeper Introduce
 
APEX Connect 2019 - SQL Tuning 101
APEX Connect 2019 - SQL Tuning 101APEX Connect 2019 - SQL Tuning 101
APEX Connect 2019 - SQL Tuning 101
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14
 
Scalability, Availability & Stability Patterns
Scalability, Availability & Stability PatternsScalability, Availability & Stability Patterns
Scalability, Availability & Stability Patterns
 
美团技术团队 - KVM性能优化
美团技术团队 - KVM性能优化美团技术团队 - KVM性能优化
美团技术团队 - KVM性能优化
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
RedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ TwitterRedisConf17- Using Redis at scale @ Twitter
RedisConf17- Using Redis at scale @ Twitter
 
Building Open Source Identity Management with FreeIPA
Building Open Source Identity Management with FreeIPABuilding Open Source Identity Management with FreeIPA
Building Open Source Identity Management with FreeIPA
 

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

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
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
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
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
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

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