Oem12c patching -OOW13

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

Transcript of Oem12c patching -OOW13

Page 1: Oem12c patching -OOW13

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

Page 2: Oem12c patching -OOW13

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: [email protected], [email protected]

Page 3: Oem12c patching -OOW13

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

Page 4: Oem12c patching -OOW13

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

Page 5: Oem12c patching -OOW13

Overview of Patching with OEM 12c

Page 6: Oem12c patching -OOW13

• 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

Page 7: Oem12c patching -OOW13

Overview of Patching with OEM 12c

Page 8: Oem12c patching -OOW13

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

Page 9: Oem12c patching -OOW13

• Software Library

• Patching• My Oracle Support

Patch Management and Patch Control

Page 10: Oem12c patching -OOW13

• 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

Page 11: Oem12c patching -OOW13

• 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

Page 12: Oem12c patching -OOW13

Software Library : Administration

Page 13: Oem12c patching -OOW13

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

Page 14: Oem12c patching -OOW13

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

Page 15: Oem12c patching -OOW13

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

Page 16: Oem12c patching -OOW13

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.

Page 17: Oem12c patching -OOW13

Patching : My Oracle Support (MOS)

• Integrates MOS with OEM

• Anyone with a valid CSI

Page 18: Oem12c patching -OOW13

• Overview of Oracle Enterprise Manager 12c Patch Management

• Patch Management and Patch Control

• Additional Tasks

Agenda

Page 19: Oem12c patching -OOW13

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

Page 20: Oem12c patching -OOW13

Additional Tasks: Creating Patch Plans

Page 21: Oem12c patching -OOW13

Additional Tasks: Creating Patch Plans

Page 22: Oem12c patching -OOW13

Additional Tasks: Reviewing Patch Plans

Page 23: Oem12c patching -OOW13

• %emd_emstagedir%• Directory where OEM will

stage patching software

Additional Tasks: Reviewing Patch Plans

Page 24: Oem12c patching -OOW13

Additional Tasks: Reviewing Patch Plans

Page 25: Oem12c patching -OOW13

Additional Tasks: Reviewing Patch Plans

Page 26: Oem12c patching -OOW13

Additional Tasks: Reviewing Patch Plans

Page 27: Oem12c patching -OOW13

• 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

Page 28: Oem12c patching -OOW13
Page 29: Oem12c patching -OOW13

Thank You for Attending

Please fill out the evaluations.

Twitter: @curtisbl294Email: [email protected]

http://www.enkitec.com

Page 30: Oem12c patching -OOW13

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: [email protected], [email protected]