Oem12c patching -OOW13

Post on 10-May-2015

589 views 2 download

Tags:

Transcript of Oem12c patching -OOW13

I have to patch again? : Patch Management with Oracle Enterprise Manager 12c

About

BOBBY CURTIS• Douglasville, Georgia• Sr. Technical Consultant• Oracle ACE• IOUG, ODTUG, GOUSER & RMOUG (BOD)• Co-Author: Expert OEM12c – Apress (2013)

Twitter: @curtisbl294Blog: http://dbasolved.comEmail: bcurtis@enkitec.com, curtisbl@gmail.com

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

Overview of Patching with OEM 12c

• EM_PATCH_ADMINISTRATOR• CREATE

• EDIT

• DEPLOY

• DELETE

• GRANT PRIVS

• EM_PATCH_DESIGNER• CREATE/VIEW ANY PATCH PLAN

• EM_PATCH_OPERATOR• DEPLOY PATCH PLANS

Overview of Patching with OEM 12c

Overview of Patching with OEM 12c

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

• Software Library

• Patching• My Oracle Support

Patch Management and Patch Control

• Core feature of OEM 12c

• Stores software (Entities/Directives)• Agent Software

• Patches

• Virtual Appliance Images

• Gold Images (OVM)

• Application Software

• Scripts

• Maintains• Versions

• Maturity Levels

Software Library

• At least 1 upload location

• Locations Supported• OMS Shared Filesystem

• OMS Agent Filesystem

• Referenced File Location• HTTP• NFS• Agent

• Decided on location during planning

• Release 3 • SWLIB

Software Library : Setup

Software Library : Administration

Software Library : Administration• Directories as numbers

• Reason?• By Design

• Ensures that SWLIB is not modified outside SWLIB Admin

• Location can be changed• Migrate and Remove Button

(Admin Page)

• Size?• Depends on usage

• Initial: 2G-50G

Patching: Traditional• OPatch

• Oracle Provided Tool• Difficult to identify what patches need to be rolled out• OraInventory backed• Limited support for pre- and post- scripts

• Customer Scripts• User Created

• Difficult to identify what patches need to be rolled out• Limited to single server• Maintenance overhead for new versions

• Deployment Procedures• Default procedures for deploying patches

• Confusion over which procedure• Limited validation• Difficult to handle patch conflicts

Patching : Oracle Enterprise Manager 12c• Integrated patching • My Oracle Support (MOS) • recommendations, search patches, and roll out patches all using the same user

interface

• Complete• end-to-end orchestration of patching using patch plans• automated selection of deployment procedures

• analysis of the patch conflicts

• minimal manual effort is required.

• Clear division of responsibilities (Roles)• Designers - focus on creating patch plans, testing them on a test system, and

saving them as patch templates

• Operators - focus on creating patch plans out of the template for rolling out the patches on a production system

Patching : Oracle Enterprise Manager 12c• Easy review of patches for environment• validation of patch plans

• automatic receipt of patches to resolve validation issues.

• Patch Templates• Saving successfully analyzed or deployable patch plans

• Out-of-place patching • Stand-alone (single-instance) database targets / Oracle Grid

Infrastructure targets that are part of Oracle Exadata.

• Flexible patching options • rolling and parallel, both in offline and online mode.

Patching : My Oracle Support (MOS)

• Integrates MOS with OEM

• Anyone with a valid CSI

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

NOTE: Cannot add patch sets and patches to the same patch plan

Additional Tasks: Patch Plans

• Consolidated list of patch(s)• Apply to a target or group of targets

• Map to key steps of deployment process

• Two Forms• Patch Sets

• Patch (one-off)• Interim patches• Diag Patchs• PSUs• CPUs/SPUs

NOTE: Patch Plans not available for hardware; GI patch for Exadata, only 1 patch per plan

Additional Tasks: Creating Patch Plans

Additional Tasks: Creating Patch Plans

Additional Tasks: Reviewing Patch Plans

• %emd_emstagedir%• Directory where OEM will

stage patching software

Additional Tasks: Reviewing Patch Plans

Additional Tasks: Reviewing Patch Plans

Additional Tasks: Reviewing Patch Plans

Additional Tasks: Reviewing Patch Plans

• 3 roles for patching within OEM

• Software Library is the core of OEM12c

• Integration with My Oracle Support (MOS)

• Patch Plans are useful

Take Away

Thank You for Attending

Please fill out the evaluations.

Twitter: @curtisbl294Email: bcurtis@enkitec.com

http://www.enkitec.com

About

BOBBY CURTIS• Douglasville, Georgia• Sr. Technical Consultant• Oracle ACE• IOUG, ODTUG, GOUSER & RMOUG (BOD)• Co-Author: Expert OEM12c – Apress (2013)

Twitter: @curtisbl294Blog: http://dbasolved.comEmail: bcurtis@enkitec.com, curtisbl@gmail.com