database software currency using em 12c provisioning and patching

29
Nationwide Database Operations Team Database Software Currency Using EM 12c Provisioning and Patching Gary Henderson

Upload: bradley-mcpherson

Post on 03-Jan-2016

45 views

Category:

Documents


2 download

DESCRIPTION

Gary Henderson. Database Software Currency Using EM 12c Provisioning and Patching. About Me. Nationwide employee for 22 years Application Programming background Joined DBA Team at the beginning of 2000 EM Administrator since 2008 ( 10g ) EM 12c Early Adopter - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Database Software Currency Using  EM 12c Provisioning and Patching

Nationwide Database Operations Team

Database Software Currency

Using EM 12c Provisioning and PatchingGary Henderson

Page 2: Database Software Currency Using  EM 12c Provisioning and Patching

2September 29, 2014Nationwide Database Operations Team

About Me

• Nationwide employee for 22 years

• Application Programming background

• Joined DBA Team at the beginning of 2000

• EM Administrator since 2008 (10g)

• EM 12c Early Adopter

• NW Champion of EM Provisioning and Patching

Page 3: Database Software Currency Using  EM 12c Provisioning and Patching

Contents

June 12, 2012Nationwide Database Operations Team 3

Insurance and Financial Services Company

Fortune 100 Company

Founded in 1925

34.5 Billion in Revenues

171 Billion in Assets

33,000 Employees

26 core DBAs with combined 410 years DBA experience

Nationwide

Page 4: Database Software Currency Using  EM 12c Provisioning and Patching

4September 29, 2014Nationwide Database Operations Team

Agenda

• Why software currency is important

• Current Configuration State

• Patching – Traditional - OPatch– With EM – In Place– With EM – Out of Place

• Provisioning

• Maturity Stages

• Nationwide Experiences– Success – Challenges– Future

• Questions

Page 5: Database Software Currency Using  EM 12c Provisioning and Patching

5September 29, 2014Nationwide Database Operations Team

Database Software Currency

• Why software currency is important to us ..at Nationwide

– Availability

– Security

– Efficiency

– Stability

Page 6: Database Software Currency Using  EM 12c Provisioning and Patching

6September 29, 2014Nationwide Database Operations Team

Current Situation -- Versions

Oracle 9.2< 1%

Oracle 10.212%

Oracle 11.124%

Oracle 11.264%

Oracle 12.1< 1%

Database Versions

Page 7: Database Software Currency Using  EM 12c Provisioning and Patching

7September 29, 2014Nationwide Database Operations Team

Current Situation -- Configuration

RAC - MultiNode17%

RAC - 1 Node17%

Veritas32%

Non-Clustered34%

Clustering

Page 8: Database Software Currency Using  EM 12c Provisioning and Patching

8September 29, 2014Nationwide Database Operations Team

Enterprise Manager 12c Deployment Architecture

Page 9: Database Software Currency Using  EM 12c Provisioning and Patching

9September 29, 2014Nationwide Database Operations Team

EM12c Monitoring & Management – Current Target Availability

Page 10: Database Software Currency Using  EM 12c Provisioning and Patching

10September 29, 2014Nationwide Database Operations Team

Patching (Classic)

• Find the proper patch(s) • Download• Stage the patch(s) on target server• Unzip patch(s)• Upgrade Opatch• Analyze patch(s) for conflicts

– Schedule Downtime• Blackout targets (databases & listeners)• Bring down database(s) & listener(s)• Apply patch(s)• Process post upgrade steps (if any)• Start database(s) & listener(s)• End Blackout

Page 11: Database Software Currency Using  EM 12c Provisioning and Patching

11September 29, 2014Nationwide Database Operations Team

Patching with EM12c – My Oracle Support Integration

Page 12: Database Software Currency Using  EM 12c Provisioning and Patching

12September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Patch Selection

Page 13: Database Software Currency Using  EM 12c Provisioning and Patching

13September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Create New Plan & Pick Target

Page 14: Database Software Currency Using  EM 12c Provisioning and Patching

14September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Plan Information

Page 15: Database Software Currency Using  EM 12c Provisioning and Patching

15September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Specify Patches

Page 16: Database Software Currency Using  EM 12c Provisioning and Patching

16September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Deployment Options

Page 17: Database Software Currency Using  EM 12c Provisioning and Patching

17September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Specify Credentials

Page 18: Database Software Currency Using  EM 12c Provisioning and Patching

18September 29, 2014Nationwide Database Operations Team

Patching with EM12c - Analyze

Page 19: Database Software Currency Using  EM 12c Provisioning and Patching

19September 29, 2014Nationwide Database Operations Team

Patching with EM12c – Execution Status,Logs

Page 20: Database Software Currency Using  EM 12c Provisioning and Patching

20September 29, 2014Nationwide Database Operations Team

Complex Configuration – Real World example

Page 21: Database Software Currency Using  EM 12c Provisioning and Patching

21September 29, 2014Nationwide Database Operations Team

Lifecycle of an Oracle Home – Out of Place patching

Oracle Home

DB 1 DB 2

DB 3

Oracle Home + PSU

DB 1 DB 2

DB 3

Page 22: Database Software Currency Using  EM 12c Provisioning and Patching

22September 29, 2014Nationwide Database Operations Team

EM12c Provisioning

Page 23: Database Software Currency Using  EM 12c Provisioning and Patching

23September 29, 2014Nationwide Database Operations Team

Crawl … Walk … Run … Fly

In-place patching via EM12c

Some provisioning of Database homes

Some provisioning of Cluster Ready Services (CRS)

Out of place patching of database homes

Gold Copies for each unique configuration

Leveraging templates and profiles

All provisioning via EM12c

Patch frequency increased to semiannual or quarterly

Utilizing Change Activity Planner

Cloud Provisioning

Page 24: Database Software Currency Using  EM 12c Provisioning and Patching

24September 29, 2014Nationwide Database Operations Team

EM12c Provisioning – Lessons Learned - Success

• Test EM12c patches/upgrades

• Oracle Home and inventory verification (especially for Veritas)

• Sticking with Oracle (RAC) vs other Clustering (Veritas)

• Having a dedicated EM12c team (we have 2 people)

• Global Credentials

• Maintain currency with EM12c and database codebase

• Extensive testing of provisioning and patching

Page 25: Database Software Currency Using  EM 12c Provisioning and Patching

25September 29, 2014Nationwide Database Operations Team

EM12c Provisioning – Lessons Learned - Challenges

• Initial /tmp space too small

• Assign to single person

• Tried to implement prior to proper training

• Entrenched DBA team with decades of experience

• New approach to one-off patches

• “Configuration Pollution”

Page 26: Database Software Currency Using  EM 12c Provisioning and Patching

26September 29, 2014Nationwide Database Operations Team

EM12c Provisioning – Future

• Leverage Patch templates more• Leverage Provisioning Profiles more and better• Integrate

– Patch Levels– Gold Copies– Patch templates– Change Activity Planner

• Attempt the 100% provisioning goal• Accelerate the patching cycle• Develop Cloud Proof of Concept

Page 27: Database Software Currency Using  EM 12c Provisioning and Patching

27September 29, 2014Nationwide Database Operations Team

EM12c Lifecycle Management Pack

Configuration Management

Compliance

Change Management

Patching

Provisioning

Prerequisite to Cloud Provisioning Features used currently at Nationwide

Page 28: Database Software Currency Using  EM 12c Provisioning and Patching

Nationwide Database Operations Team

Summary:

Recognition:

Questions???

Page 29: Database Software Currency Using  EM 12c Provisioning and Patching

Nationwide Database Operations Team

Other Sessions:

HOL9532Achieving Standardization with Oracle Enterprise Manager Database Lifecycle Management