Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oracle Database Patching Best Practices II

Similar presentations


Presentation on theme: "Oracle Database Patching Best Practices II"— Presentation transcript:

1

2 Oracle Database Patching Best Practices II
This is a Title Slide with Picture slide ideal for including a picture with a brief title, subtitle and presenter information. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery. Eleanor Meritt, David Price Vice Presidents Oracle Product Development, Sustaining Engineering September 30, 2014 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |

3 This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.

4 Program Agenda 1 Preparing for Patching Best Practices for Testing Patches Applying Patches Patching in the Cloud Other Patching Related News 2 3 4 5

5 Preparing for Patching
This is a Section Header with Picture slide ideal for including a picture with a brief title and optional subtitle. This slide can also be used as a Q and A slide. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery.

6 Assessing Risk This slide can also be used as a Q and A slide

7 One Off / Interim Patch Risk Assessment Fixes a single bug: easy to verify if problem has been fixed, quickly available Released with full component level regression testing at Oracle Accessible by everyone with a support license Low risk of introducing breakages Vast majority can be installed with zero or minimal downtime Drawback: Easy availability leads to tendency to customize environments by combining interim patches with other patches, causing supportability & maintainability problems

8 Security Patch Update (SPU or CPU)
Risk Assessment Quarterly Patch to fix security vulnerabilities Extensively tested at Oracle Some fixes can be quite involved and may require post installation steps or configuration changes Fix verification is by nature is very difficult Historically has been very low risk Drawbacks: Business wide coordination effort may need to be in place to manage fast roll-out. Because the SPU does not contain fixes for high impact non-security bugs encountered by customers, a mission critical system will almost certainly need to combine the SPU with one-offs, increasing overall risk.

9 Patch Set Update (PSU) Risk Assessment Quarterly Patch to fix most recent high impact bugs Contains Security Content Extensively tested at Oracle Strict content inclusion criteria: No optimizer changes, must be RAC rolling installable, DG Standby First Installable, fixes already tested by customers Low level volume of content Low risk Drawback: Strict content inclusion restrictions can sometimes lead to need to customize environments with one-off patches as well.

10 Bundle Patch (BP) Risk Assessment Quarterly Patch to fix high impact bugs for a given configuration (e.g. Exadata) Contains PSU Content Extensively tested at Oracle Content inclusion criteria to address stabilization needs of majority of customers running this configuration: Also optimizer changes, must be RAC rolling installable, DG Standby First Installable. A little higher risk than other patches Drawbacks: Less restriction on content leads to higher volumes of fixes. Some fixes are getting released for the first time within the BP.

11 Risk Assessment Summary Recommendations Try to avoid combining patches. These increase risk due to untested combinations. Apply BP’s if you are running with engineered systems, Database In- Memory, or on Windows PSU’s for everyone else Apply the latest PSU or BP on Upgrading to a new release Ideally Patch Proactively every six months. We know about patch problems usually within 4 weeks of release. Check PAD on MOS for details on regressions & remedies

12 And Finally on Risk All patches can be rolled back
Scripts are provided to undo SQL patch changes within patches. datapatch accomplishes this with 12c Binary patches can be undone by executing opatch(n)rollback or restoring the ORACLE_HOME from backup

13 Accessing Patches This slide can also be used as a Q and A slide

14 Downloading patches with My Oracle Support (MOS)
Find the patch(es) by performing one of the following a Simple search for a patch or a group of patches a Saved search a Recent search an Advanced search a search using the Recommended Patch Advisor Oracle Confidential – Internal/Restricted/Highly Restricted

15 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

16 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

17 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

18 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

19 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

20 MOS Patch Search Screen
Oracle Confidential – Internal/Restricted/Highly Restricted

21 MOS Conflict Checker A new conflict resolution tool is available from the patch Search screen Self Service tool that doesn’t require an SR to be logged Upload your OPatch inventory to resolve conflicts Resolution patches that are available are provided immediately Resolution requests are automatically filed if they do not exist Document "How to use the My Oracle Support Conflict Checker Tool" Oracle Confidential – Internal/Restricted/Highly Restricted

22 MOS Conflict Checker Oracle Confidential – Internal/Restricted/Highly Restricted

23 MOS Conflict Checker Oracle Confidential – Internal/Restricted/Highly Restricted

24 MOS Conflict Checker Oracle Confidential – Internal/Restricted/Highly Restricted

25 Patch Download Oracle Confidential – Internal/Restricted/Highly Restricted

26 Patch Download Oracle Confidential – Internal/Restricted/Highly Restricted

27 Testing Patches This is a Section Header with Picture slide ideal for including a picture with a brief title and optional subtitle. This slide can also be used as a Q and A slide. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery.

28 A “How To” Guide for Testing Patches
This slide can also be used as a Q and A slide

29 Categorize Your Tests Functional Regression Tests The Major Categories
Purpose is to check if application flows and administrator activities behave as expected. These tests should be repeatable Catalog all activities to test for and create tests to represent these. Save expected results. Run tests against the newly patched version. Compare new results against expected results. Divide tests into groups based on functional area so you can target runs depending on patch.

30 Categorize Your Tests Load Tests Performance Tests
The Major Categories Load Tests Check how the system or application behaves under production load. You may also want to simulate load beyond limits of normal operation for mission critical systems. Key outcome is that availability should not be affected. Performance Tests Define key performance indicators to measure against for application flows. Examples are responsiveness and throughput. Measuring against these, no material negative differences should be seen.

31 Testing Patches A plug for Real Applications Testing Real Application Testing (RAT) Capture / Replay functionality offers the ability to easily create load tests by capturing production system workloads and replaying them. RAT SQL Performance Analyzer (SPA) automates the process of assessing the effect of a patch on every SQL statement in your workload. It produces a report which you can analyze in order to remedy any potentially negative effect.

32 Test Patches According to Risk
Risk Level Functional Testing Load Testing Performance Testing Single One-off Patch Lowest Targeted Not Required SPU Very Low Full PSU Low Optional Bundle Patch Slightly higher Recommended Any Combination of the Above Low to Medium This is a sample Table slide, ideal for comparing data by year, product, revenues, etc. To Edit this Table, follow the steps below (this applies to all slides in this template that contain tables): To Change Text in Table: Select text in table. Begin typing desired text. To move from one cell to another, press Tab. To Change Font Color/Size: Select text, right-click and adjust the font setting on the Mini toolbar. Select desired attributes to change: font, size, boldness, color, etc. Note: many of the same commands can also be accessed from the Font group of the Home tab. To Insert or Delete Rows in Table: To delete a row place cursor in a cell of the row, right-click for a pop up menu, select Delete Row. To Insert a row, place cursor in the row you want to place a row before, right-click for a pop up menu, select Insert and make a selection from the submenu. You can also use the Insert and Delete Rows and Columns tools on the Table Tools Layout tab to perform these actions. To Insert or Delete Columns in Table: To delete a column, place cursor above the column (you will see a solid downward pointing arrow) click to select the column, right-click on the selected column, chose Delete Column from the pop up menu. To insert a column, place cursor above the column you wish to insert the new column before (you will see a solid downward pointing arrow) click to select the column, right-click for a pop up menu, select Insert and make a selection from the submenu. You can also use the Insert and Delete Rows and Columns tools on the Table Tools Layout tab to perform these actions. To Highlight a Cell, Column or Row (for emphasis): Click to select an individual cell or click and drag through the desired column(s) or row(s). From the Table Tools Design tab, select the Shading button and select a desired fill color. (Note: It is best to use white text over dark backgrounds and black or dark gray text over light backgrounds.) While a table is selected, other formatting options are available on the Table Tools Design and Layout tabs.

33 Applying Patches This is a Section Header with Picture slide ideal for including a picture with a brief title and optional subtitle. This slide can also be used as a Q and A slide. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery.

34 Best Practices for Applying Patches
Aim for end to end automation of the patch application process. Write scripts to do this if necessary. Ensure you have all prerequisites in place for patch application to complete without error If you have multiple patches to apply at a time, apply them in one downtime The vast majority of patches (>98%) can be installed in a highly available manner. Check the patch README for what is possible RAC Rolling Dataguard Standby First Online patches: patch a running Database All patches can be applied Out of Place : patch a Cloned ORACLE_HOME. Afterwards check that patch has installed correctly

35 Prerequisite Checking
opatch prereq CheckConflictAgainstOHWithDetail Check if the patch will conflict with already installed patches opatch prereq CheckConflictAmongPatches Check if multiple patches will conflict with each other opatch prereq CheckSystemSpace Check if there is enough system space to install the patch opatch prereq CheckMinimumOPatchVersion Check the OPatch version against the required version for the patch. OPatch/ocm/bin/emocmrsp Create a response file for OCM You may also want to run cvu and exachk where applicable

36 Optimizing patch application
Apply several patches during the same downtime Unzip the patches in the same patch location Execute opatch napply <patch_location> -skip_subset -skip_duplicate Don’t mix bundle patches and overlays (ordering issue). Should apply BP first, then overlays. Will be fixed in a later OPatch release. napply applies multiple patches in the same session skip_duplicates won’t apply patch if the patch is already on the system skip_subset won’t apply patch if the patch in the system already contains all the fixes In 12.1 datapatch takes care of applying the post SQL

37 Patch Installation based on Patch Packaging
System Patches ‘opatchauto’ automatically installs “System Patches” Install with Command : opatchauto apply Used for Exadata and GI bundles in RAC rolling Install mode Other options : opatchauto apply -nonrolling Singleton Patches Used for singleton / interim patches Install with Command : opatch apply -silent : parameters are passed via the response file ‘-ocmrf’ -local : Apply the patch on the local node of a RAC cluster

38 Running ‘datapatch’ with Database 12c
Ensures data/sql related changes are patched Takes care of installing/rolling back data changes Steps After ‘OPatch apply’, Connect to the DB SQL> Connect / as sysdba SQL> startup SQL> alter pluggable database all open; [only for Multitenant DB] SQL> quit > $ORACLE_HOME/OPatch/datapatch [-verbose] Other options -apply / -rollback <patch_id> -force : runs apply/rollback as provided even if it was already done. Log location <oracle base>/cfgtoollogs/sqlpatch/<patch id>/<patch upi>.  And the file name is <patch id>_[apply/rollback]_<dbname>[_<pdb name>].log.

39 What’s new in datapatch in 12.1.0.2
No need to call catbundle.sql any more with PSU, BP installs Datapatch is now ‘bundle-aware’ and takes care of installing specific bundles as needed, using the dbms_sqlpatch package Both bundle and non bundle patches are now only queryable via dba_registry_sqlpatch dba_registry_history is no longer used for patch information datapatch -rollbackall option is available to rollback all SQL patches currently installed Oracle Confidential – Internal/Restricted/Highly Restricted

40 Checking Installed Patches via OPatch
OPatch Commands opatch lsinventory or opatch lsinv List the patches installed in the oracle home Other Options -all_nodes: Report the patches installed on given Oracle Home in all nodes of RAC system -detail(s): Display the components and the list of patches with their associated files -xml : Generate xml formatted output opatch lspatches List the installed patches and their description Other options: -bugs : Lists bug fixed by each patch -verify : Verifies if specified patch is installed in the oracle home

41 Checking Installed Patches via PL/SQL Database 12c Queryable Patch Inventory
dbms_qopatch provides access to the OPatch inventory information from within the database PLSQL/SQL interface to view list of patches applied check if a particular patch is applied patch inventory across RAC nodes SQL patch status Check datapatch entry in registry table : ‘select * from dba_registry_sqlpatch;’ DBMS_QOPATCH subprograms GET_OPATCH_LIST GET_SQLPATCH_STATUS IS_PATCH_INSTALLED GET_OPATCH_LSINVENTORY

42 Patching in the Cloud This is a Section Header with Picture slide ideal for including a picture with a brief title and optional subtitle. This slide can also be used as a Q and A slide. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery.

43 Patching in the Cloud Basic Principles Cloud patching is all about scaling. Every part of the patching process must be considered in terms of scaling. Automation is crucial. Zero manual steps can be permitted when patching Cloud environments. Customization is the enemy of automation. All systems should be at uniform patch levels. Administrators must have complete confidence that a patching exercise has been successful. Logging & diagnostics are very important. Scale adds to overall risk, so testing strategy has to aim for comprehensive testing coverage, automating as much of the testing as possible.

44 Patching in the Cloud Best Practices Start with ensuring you can automate patching a single system end to end. Push out the patching related changes from the base patched system to the entire Cloud. There are various alternatives including IT automation software like Puppet or Chef. Oracle Enterprise Manager has some capabilities. Oracle Rapid Home Provisioning is newly available. Best practices for Cloud patching can be easily applied to single systems. Not necessarily so the other way round! The goals of Cloud patching can be met with all supported versions of the Oracle Database. However, 12c does have some extra features to make Cloud patching easy.

45 Database 12c Features to Ease Cloud Patching
This slide can also be used as a Q and A slide

46 Multitenant for Simplified Patching
Patching the Container Database Results in Patching all of its Pluggable Databases 12.X 12.X 12.1 ERP CRM Multitenant Container Database 12.X 12.1 ERP CRM Multitenant Container Database 12.X 12.1 ERP CRM Multitenant Container Database Startup 12.1 Simplifies and speeds up patching process by eliminating the need to apply patches to each individual database Patching one Multitenant container database results in patching all of its many pluggable databases Another example of managing many as one with Oracle Multitenant is upgrading or patching. Patches and upgrades are applied at the multitenant container database level. [click] All PDBs in that CDB are automatically patched in one fell swoop. Apply patches to Container database, all pluggable databases are patched Shutdown Patch Container Database

47 Patching Using the Multi-Tenancy Feature - Best Practices
When plugging into a new container a PDB may have violations due to Database version ( vs ) SQL patch mismatches Database parameter mismatches such as character sets or block size The dbms_pdb.describe and dbms_pdb.check_plug_compatibility APIs can be used to determine if a given PDB can be plugged in successfully to a target container ) Oracle Confidential

48 Patching Using the Multi-Tenancy Feature - Best Practices
Preparation: 1) Create PDB description XML file for PDB(PDB1) in question: exec dbms_pdb.describe (‘PDB1_Unplug.xml’, ‘PDB1’); 2) In the target container environment, check plug compatibility begin if dbms_pdb.check_plug_compatibility('PDB1_Unplug.xml', ‘PDB1') then dbms_output.put_line(‘no violations found'); else dbms_output.put_line(‘violations found'); end if; end; Plugin compatibility issues, if any, will be reported in pdb_plug_in_violations view ) Oracle Confidential

49 Patching Using the Multi-Tenancy Feature - Best Practices
Scenario 1 – No plug in violations SQL> BEGIN 2 IF dbms_pdb.check_plug_compatibility('/tmp/PDBORCL.xml') THEN 3 dbms_output.put_line('no violations found'); 4 ELSE 5 dbms_output.put_line('violations found'); 6 END IF; 7 END; 8 / no violations found PL/SQL procedure successfully completed. SQL> SELECT type, message, action 2 FROM pdb_plug_in_violations 3 WHERE name = 'PDBORCL'; no rows selected Oracle Confidential

50 Patching Using the Multi-Tenancy Feature - Best Practices
Scenario 2 – SQL patch present in target container but not in source container SQL> BEGIN 2 IF dbms_pdb.check_plug_compatibility('/tmp/PDBORCL.xml') THEN 3 dbms_output.put_line('no violations found'); 4 ELSE 5 dbms_output.put_line('violations found'); 6 END IF; 7 END; 8 / violations found SQL> SELECT type, message, action 2 FROM pdb_plug_in_violations 3 WHERE name = 'PDBORCL'; TYPE MESSAGE ACTION ERROR PSU bundle patch 1 (PSU Patch 12345): Installed in the CDB but not in the PDB. Call datapatch to install in the PDB or the CDB Oracle Confidential

51 Patching Using the Multi-Tenancy Feature - Best Practices
Scenario 3 – SQL patch present in source container but not in target container SQL> BEGIN 2 IF dbms_pdb.check_plug_compatibility('/tmp/PDBORCL.xml') THEN 3 dbms_output.put_line('no violations found'); 4 ELSE 5 dbms_output.put_line('violations found'); 6 END IF; 7 END; 8 / violations found SQL> SELECT type, message, action 2 FROM pdb_plug_in_violations 3 WHERE name = 'PDBORCL'; TYPE MESSAGE ACTION ERROR PSU bundle patch 1 (PSU Patch 12345): Installed in the PDB but not in the CDB. Call datapatch to install in the PDB or the CDB Oracle Confidential

52 Multitenant Plug/Unplug
Scenario Summary Scenerio Recommended Action 1: SQL Patches in both source and target container None needed – safe to plug in 2: SQL Patches in target container only Run datapatch in target after plug in 3: SQL Patches in source container only Run datapatch -rollback <patch id> –force [–bundle_series] in source before unplug Oracle Confidential

53 DB Cloning using EM12c Provisioning - Deploy Gold Images to the Cloud
DB Provisioning Mass Deployment of Oracle Software (Database, Real Application Clusters) Supports all versions up to including Pluggable Databases Gold Image cloning and standardized software deployment via Profiles Lock down access for controlled and error free deployments Source DB systems Target DB Systems Software Library Storage Save Gold image (and optionally data) from source systems to EM software library Deploy saved Image and data to target systems with customizations

54 EM12c Patch Management Solution
End to End Patch Automation Solution for Oracle Databases Patches, Upgrades complete Database product family Provides proactive Oracle recommendations (CPUs, PSUs,..) Simplified patching flow using Patch Plans Comprehensive pre-flight checks and conflict resolution Support Out of Place, Rolling options for reduced/zero downtime and rollback/switch back Mass automation - multiple targets with multiple patches in a single downtime Extensible framework, Patch Reports and “EMCLI” scripting option *Current support available for Databases only. ** DBaaS on-premise / private cloud

55 New - Oracle Rapid Home Provisioning
Automating Patching for Cloud Eliminate the need to patch individual Databases Update any number of Databases with a single command Ensure standardization through gold image lineage Create reference homes on Centralized Home Server Apply patches once on Home Server Distribute or update on-demand to the Cloud Fast and Efficient

56 Rapid Home Provisioning - commands
Create a gold image from An installed home An existing workingcopy Create workingcopies from a gold image; optionally create database Add a database to a workingcopy Move an existing database to a different gold image Individually or all databases configured to this image Optionally select non-rolling Manage roles and ACLs Manage an RHP server and an RHP client

57 RHP Functionality Rollout
Oracle Grid Infrastructure : RHP Server and Client Support for Database Templates Home, Configuration, Data NFS Mount and Local copy Efficient storage Provision and patch User initiated distribution Push or pull Support for Oracle DB Full workflow Support for generic S/W images Local change control Coming Soon: Support for GI homes Generic image workflow Remote home servers Local changes tracking Policy based rollout Database upgrades Oracle application templates VM templates

58 Other Patching Related News
This is a Section Header with Picture slide ideal for including a picture with a brief title and optional subtitle. This slide can also be used as a Q and A slide. To customize this slide with your own picture: Right-click the slide area and choose Format Background from the pop-up menu. From the Fill menu, click Picture and texture fill. Under Insert from: click File. Locate your new picture and click Insert. To copy the Customized Background from Another Presentation on PC Click New Slide from the Home tab's Slides group and select Reuse Slides. Click Browse in the Reuse Slides panel and select Browse Files. Double-click the PowerPoint presentation that contains the background you wish to copy. Check Keep Source Formatting and click the slide that contains the background you want. Click the left-hand slide preview to which you wish to apply the new master layout. Apply New Layout (Important): Right-click any selected slide, point to Layout, and click the slide containing the desired layout from the layout gallery. Delete any unwanted slides or duplicates. To copy the Customized Background from Another Presentation on Mac Click New Slide from the Home tab's Slides group and select Insert Slides from Other Presentation… Navigate to the PowerPoint presentation file that contains the background you wish to copy. Double-click or press Insert. This prompts the Slide Finder dialogue box. Make sure Keep design of original slides is unchecked and click the slide(s) that contains the background you want. Hold Shift key to select multiple slides. Apply New Layout (Important): Click Layout from the Home tab's Slides group, and click the slide containing the desired layout from the layout gallery. Oracle Confidential – Internal/Restricted/Highly Restricted

59 Other Patching Related News
The dbms_rolling package, introduced in Database , enables automation of minimal downtime patching in a Dataguard environment. Patch a “Leading Group” - the new Primary Database(s), and switch over applications from the “Trailing Group” – the actual Primary Database, to point to the “Leading Group” Includes: Preparation Validation and planning Start Phase Finish

60 Other Patching Related News
Introducing the “Database Patch for Engineered Systems and DB In Memory” (DBP ENG/IM) with This patch is a super set of the PSU. It replaces the “Database Bundle Patch for Exadata”. It is intended to be consumed by customers using the Exadata, Exadoop, ZDLRA, Big Data Appliance and In Memory Database features. 2 year error correction grace period for patch sets on the R2 release trains. Terminal patch set has always been supported through the end of Extended Support Extended Support for Database 11gR1 ends August 2015 Premier Support for Database 11gR2 ends January First year of Extended Support is at no additional cost.

61 References PSU known issues MOS note: 12274431.1
How to use the MOS Conflict Checker: Document “Database 12c Post Patch SQL Automation “

62 Related Sessions How and why to Migrate from Schema Consolidation to Pluggable Databases CON7649, Wednesday, Oct 1st, 11:30 AM - 12:15 PM - Moscone South – 306 Databases to Oracle Exadata: The Saga Continues for Oracle Enterprise Manager–Based Patching Wednesday Oct 1st 10:15 AM - 11:00 AM Moscone South CON8121 Rapid Home Provisioning: Deploying and Updating Database Templates in a Cloud [CON8176] Thursday, Oct 2nd, 9:30 AM - 10:15 AM - Moscone North - 131

63 Oracle Confidential – Internal/Restricted/Highly Restricted


Download ppt "Oracle Database Patching Best Practices II"

Similar presentations


Ads by Google