<Insert Picture Here> Exadata MAA Best Practices Series Session 12: Exadata Patching & Upgrades

Similar documents
<Insert Picture Here> Exadata MAA Best Practices Series Session 6: Migrating to Exadata

<Insert Picture Here> Exadata MAA Best Practices Series Session 1: E-Business Suite on Exadata

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

<Insert Picture Here> Exadata MAA Best Practices Series Session #4: Exadata and OLTP Applications

Private Cloud Database Consolidation Name, Title

Accenture Enkitec Group PATCHING ORACLE MARTIN BACH #DOAGDB17

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

Patching Exadata Database Machine - the DBA gets it all!

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

Database Consolidation onto Private Cloud. Piotr Kołodziej, Oracle Polska

Oracle Database 11g: RAC Administration Release 2 NEW

<Insert Picture Here> Managing Oracle Exadata Database Machine with Oracle Enterprise Manager 11g

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. reserved. Insert Information Protection Policy Classification from Slide 8

Maximum Availability Architecture. Oracle Best Practices For High Availability

Oracle Database 12c R2: RAC Administration Ed 2

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Maximum Availability Architecture (MAA): Oracle E-Business Suite Release 12

ORACLE RAC DBA COURSE CONTENT

1 BRIEF / Oracle Solaris Cluster Features and Benefits

Oracle 10g on Solaris to Oracle RAC 11gR2 on Linux Upgrade

Oracle Exadata and OVM Best Practice Overview

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Exadata Database Machine: 12c Administration Workshop Ed 2

Exadata Database Machine: 12c Administration Workshop Ed 2 Duration: 5 Days

Solaris Engineered Systems

Oracle Exadata High Availability Secrets Explained: Direct from Development Technical Presentation

Maximum Availability Architecture. Oracle Best Practices for High Availability

Oracle Exadata X7. Uwe Kirchhoff Oracle ACS - Delivery Senior Principal Service Delivery Engineer

Oracle Database 12c: RAC Administration Ed 1

Oracle Real Application Clusters One Node

Quest. Quest. Toad Shareplex Foglight. Quest. Toad - Spotlight - SQL. Shareplex - Foglight - Space Manager with LiveReorg - Oracle

Exadata Database Machine Security Tina Rose Platform Integration MAA Team, Exadata Development

Database Machine Administration v/s Database Administration: Similarities and Differences

Exadata Database Machine: 12c Administration Workshop Ed 2

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Exdata Database Machine: 12c Administration Workshop Ed 2

1Z Oracle. Oracle Exadata Database Machine 2014 Certified Implementation Specialist

Hitchhiker's Guide. to upgrade to Oracle Database 12c. Mike Dietrich Senior Principal Technologist Database Upgrades Oracle Corporation

<Insert Picture Here> Introducing Oracle WebLogic Server on Oracle Database Appliance

Large-Scale Patch Automation for the Cloud-Generation DBAs

Database Tables to Storage Bits: Data Protection Best Practices for Oracle Database

Oracle Solaris 10 Recommended Patching Strategy

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Exadata Patching Demystified. Kshitij Joy (12c OCM)

SAP Bundle Patches - Patch Management with Oracle 12c Subtitle

Oracle Database 12c: RAC Administration Ed 1 LVC

Exadata Database Machine Administration Workshop

ORACLE START-UP PACK SERVICES EXHIBIT

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

Exadata Database Machine: 12c Administration Workshop Ed 1

Exadata Database Machine Administration Workshop NEW

<Insert Picture Here> Oracle MAA und RAC Best Practices und Engineered Systems

Eliminate Idle Redundancy with Oracle Active Data Guard

Oracle Real Application Clusters (RAC) Your way to the Cloud

Virtualizing Oracle on VMware

Data Sheet: Storage Management Veritas Storage Foundation for Oracle RAC from Symantec Manageability and availability for Oracle RAC databases

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

Storage Optimization with Oracle Database 11g

Maximize Availability on Private Clouds

SAP Bundle Patches - Patch Management with Oracle 12c

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

Exadata Database Machine Administration Workshop

An Oracle White Paper June Configuration Management and Provisioning of Sun Oracle Exadata Database Machine Using Enterprise Manager

Database Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved.

<Insert Picture Here> Maximum Availability Architecture (MAA) Best Practices: Online Patching and Rolling Upgrades with Oracle Database

12.1 Multitenancy in real life

Oracle Database and Application Solutions

Oracle RAC Course Content

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

Running E-Business Suite on Exadata: Technical Details. April 25, 2017

<Insert Picture Here> Consolidate Oracle Applications on Oracle Exadata

Database Consolidation with Oracle Exadata

Oracle ASM Considerations for Exadata Deployments: On-premises and Cloud ORACLE WHITE PAPER MARCH 2018

An Oracle White Paper July Garmin International Inc. Oracle Exadata Database Machine Technical Case Study

Oracle Database 18c and Autonomous Database

Oracle EXAM - 1Z Oracle Exadata Database Machine Administration, Software Release 11.x Exam. Buy Full Product

Oracle Maximum Availability Architecture for Oracle Cloud

Exadata Implementation Strategy

Oracle - Exadata Database Machine: 12c

Rapid database cloning using SMU and ZFS Storage Appliance How Exalogic tooling can help

FlexPod. The Journey to the Cloud. Technical Presentation. Presented Jointly by NetApp and Cisco

Arup Nanda Longtime Oracle DBA (and now DMA)

Exadata for Oracle DBAs. Arup Nanda Longtime Oracle DBA (and now DMA)

Configuration changes such as conversion from a single instance to RAC, ASM, etc.

An Oracle White Paper November A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

Actifio Sky DB. Actifio s Solution for Oracle, Oracle EBS with standalone, RAC, ASM, EXADATA configurations

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

Advanced Architectures for Oracle Database on Amazon EC2

Software Error Correction Support Policy

Session: Oracle RAC vs DB2 LUW purescale. Udo Brede Quest Software. 22 nd November :30 Platform: DB2 LUW

Focus On: Oracle Database 11g Release 2

Oracle Database Appliance

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

The Fastest and Most Cost-Effective Backup for Oracle Database: What s New in Oracle Secure Backup 10.2

Top Oracle Database 11g High Availability Best Practices

High Availability- Disaster Recovery 101

OEM Provisioning An Introduction

An Oracle White Paper June Managing Oracle Exadata with Oracle Enterprise Manager 12c

Oracle ASM Considerations for Exadata Deployments: On-premises and Cloud ORACLE WHITE PAPER MARCH 2017

<Insert Picture Here> Linux: The Journey, Milestones, and What s Ahead Edward Screven, Chief Corporate Architect, Oracle

Transcription:

<Insert Picture Here> Exadata MAA Best Practices Series Session 12: Exadata Patching & Upgrades

<Insert Picture Here> Exadata MAA Best Practices Series Session 12: Exadata Patching & Upgrades Doug Utzig Doug Utzig Exadata and MAA Best Practices

Exadata MAA Best Practices Series 1. E-Business Suite on Exadata 2. Siebel on Exadata 3. PeopleSoft on Exadata 4. Exadata and OLTP Applications 5. Using Resource Manager on Exadata 6. Migrating to Exadata 7. Using DBFS on Exadata 8. Exadata Monitoring 9. Exadata Backup & Recovery 10. Exadata MAA 11. Troubleshooting Exadata 12. Exadata Patching & Upgrades 13. Exadata Health Check <Insert Picture Here> 3

Assumptions and Terminology MAA Oracle Maximum Availability Architecture GI Grid Infrastructure RAC Oracle Real Application Clusters ASM Oracle Automatic Storage Management PSU Patch set update CPU Critical patch update BP Bundle Patch MOS My Oracle Support ULN Unbreakable Linux Network OEL Oracle Enterprise Linux IB InfiniBand OFED OpenFabrics Enterprise Distribution 4

Key Points <Insert Picture Here> Key Points 5

Exadata Patching & Upgrades 1. Exadata has three layers that require software maintenance 2. Develop plan to patch routinely 3. Evaluate patches in a proper test environment 6

Key Point #1 Key Point #1 Exadata has three layers that require software maintenance Business value All necessary software to patch Exadata comes from Oracle 7

Exadata Architecture Review Database Grid Storage Grid Database Servers Firmware / OS Oracle GI / RDBMS Exadata Storage Servers InfiniBand Network Switches Other Components Ethernet switch Power distribution KVM 8

Exadata Storage Server Patching Single patch download Install nothing but this patch README and Support Note Convenience Pack for database servers patchmgr installed Rolling Non-rolling 9

Exadata Database Server Patching Oracle Database Server (RDBMS) and Grid Infrastructure Bundle patch (e.g. 11.2.0.1 DB_BP8, GI_BP4) Installs on top of base release + patch set using OPatch Cumulative Includes recent PSU / CPU OPatch installed Other patches Recommended patches in 888828.1 (EBS R12 bundle patch) One-offs allowed 10

Exadata Database Server Patching Operating System (OEL) and Firmware Customer maintained to allow flexibility Any software from any source, however DB software requirements must be met (888828.1) Only shipped images/versions tested Convenience Pack (CP) OFED, Firmware, OSW, configuration Requires original kernel version for some updates (OFED) 11

Exadata Database Server Patching Operating System (OEL) and Firmware Recommendation Keep in step with CP Match InfiniBand OFED and HCA Do not automatically update database server OS kernel Will break OFED compatibility OFED 1.4.2-14 example kernel-2.6.18-128.7.1.0.1.el5.x86_64 requires ofa-2.6.18-128.7.1.0.1.el5-1.4.2-14.x86_64 12

InfiniBand Switch Patching Supplied via My Oracle Support Only update via this patch Currently no dependency d on other components 888828.1 and patch READMEs will indicate dependencies 13

Key Point #2 Key Point #2 Develop a plan to patch routinely Business value You receive the benefit of fixes provided to all Exadata customers 14

Deciding to Patch Current version Note 888828.1 (11.2), Note 835032.1 (11.1) Patch release frequency (subject to change without notice) Storage every 3 months Database BP 11.2.0.2 monthly 11.2.0.1 every 2 months InfiniBand switch yearly 15

Deciding to Patch Planning READMEs document fixed issues Support Note 888828.1 Exadata Critical Issues Stage General Recommendation Production and late pre-production Every patch not mandatory Wait for field experience to grow Early pre-production or evaluation Keep current with latest release 16

Key Point #3 Key Point #3 Evaluate patches in a proper p test environment Business value Proper patch testing ensures predictable installation and stability 17

Patch Installation and Testing Guidelines 1. Review patch documentation README and referenced Support Notes 2. Validate in test environment Verify patch installation ti (HealthCheck Note 1070954.1) 1) Verify functionality and performance Automate Define and test fallback plans 3. Apply in production environment Data Guard Standby-First Patch Apply Monitor for regressions Support Note 1262380.1 18

README Gems This patch is RAC Rolling Installable This patch is Data Guard Standby-First Installable This will replace the dostep.sh file with a new file containing work around for the two bugs 9654983 DATABASE PSU 11.2.0.1.2 (INCLUDES CPUJUL2010) Do not edit any log file or open them in writable mode. This will cause the patch application to fail and corrupt the Cell. 19

Test Environment Ideal characteristics Equivalent to production environment Primary database Standby database Middle tier Full data set w/ identical schema stats Workload framework to mimic production 20

Test Environment Not ideal, but still useful Test Env Comments Shared DBM Shared test t resource for multiple l production Smaller DBM No production scale performance test Older DBM Non-DBM No production scale performance test No firmware patching test Allows only database server patch installation test No Exadata Storage Server patch test 21

Patch Installation Methods Exadata Storage Server software Rolling patch apply Non-rolling patch apply Database Server Oracle software RAC Rolling Installable OPatch Automation Enterprise Manager Installable Data Guard Standby-First Installable 22

Cell Patch Installation patchmgr installed (up to 2 hours per cell) Method Downtime Patching time Rolling None Up to 2 hours per cell Non-Rolling Up to 2 hours total Up to 2 hours total 23

Non-Rolling Patch Apply pa atchmgr Patch cell1 Benefits rpatch cell2 Consider Patch cell3 Least total patching time No risk to single disk failure Database outage Failed patch install on multiple cells Patch celln 24

Rolling Patch Apply pa atchmgr ASM offline Patch ASM online ASM offline Patch ASM online ASM offline Patch ASM online ASM offline Patch ASM online cell1 cell2 cell3 celln Benefits No database downtime No extra free space required Consider ASM high redundancy to reduce risk of disk failure Up to 2 hours per cell Requires 11.2.0.2 or 11.2.0.1 DB_BP6 + GI_BP4 25

Database Bundle Patch Installation OPatch installed Reduce downtime and risk RAC Rolling OPatch automation Enterprise Manager Data Guard Standby-First Automatic Workload Management Configure services and connection failover 26

RAC Rolling Installable Stop CRS OPatch GI OPatch DB Start CRS Stop CRS OPatch GI OPatch DB Start CRS Stop CRS OPatch GI OPatch DB Start CRS node1 node2 noden Benefits No database-wide downtime Consider All11202BP 11.2.0.2 BPs 11.2.0.1 Starting with DB_BP7, on top of DB_BP5 or later 27

OPatch Automation O Patch OPatch Stop CRS Patch all OH Start CRS Stop CRS Patch all OH Start CRS node1 node2 Benefits No database-wide downtime Single command per node Consider 11.2.0.2 BP2 or later OPa atch Stop CRS Patch all OH noden Start CRS 28

Enterprise Manager Installable rise Man nager Stop CRS OPatch GI OPatch DB Start CRS Stop CRS OPatch GI OPatch DB Start CRS node1 node2 Benefits No database-wide downtime EM managed using Provisioning Pack Consider Support Note 1265998.1 Enterp Stop CRS OPatch GI OPatch DB Start CRS noden 29

Data Guard Standby-First Installable Data Guard Standby-First Installable Apply BP to standby and test before applying to primary Support Note 1265700.1 Snapshot standby and Real Application Testing Evaluate patch on read write database and simulate production workload 30

Patch Installation Recommendations Run Exadata Healthcheck after patching. Patch during low workload. Use ASM high redundancy. Configure Automatic Workload Management 31

Key Points and Business Takeaways 32

Exadata Patching & Upgrades Key Points 1. Exadata has three layers that require software maintenance 2. Develop plan to patch routinely 3. Evaluate patches in a proper test environment 33

Exadata Patching & Upgrades Business Takeaways #1: All necessary software to patch Exadata comes from Oracle #2: You receive the benefit of fixes provided d to all Exadata customers #3: Proper patch testing ensures predictable installation and stability 34

Exadata Patching & Upgrades Resources and References Latest Exadata software (Note 888828.1) Exadata Testing and Patching Practices (Note 1262380.1) Exadata Healthcheck (Note 1070954.1) Data Guard Standby-First Patch Apply (Note 1265700.1) Enterprise Manager Patch Apply (Note 1265998.1) Patch READMEs 35

Best Practices Additional Resources sponsored by MAA and X-Team MAA and Exadata OTN website contains best practices and different architectural solutions MAA OTN website: http://www.oracle.com/technetwork/database/features/availability/maa-090890.html Sun Oracle Database Machine and Exadata OTN website http://www.oracle.com/technetwork/database/exadata/index-089737.html Openworld presentations http://openworld.vportal.net p p 36

Sponsors Exadata MAA Team and X Team Operational and Configuration best practices Optimized and integrated for Exadata Generic practices for other platforms Examples: Migration, Backup/Recovery, Monitoring, Troubleshooting, Patching, MAA, Consolidation, Active Data Guard, Cloning/Reporting, Application Failover Applications MAA and Scalability Optimized and integrated for Exadata and Exalogic Examples: E-Business Suite, Siebel, Peoplesoft, Fusion Middleware Exadata Strategic Reference Program 37

Thank you 38