openworld 2015 software updates on the oracle cloud: how oracle patches these environments eleanor...

33

Upload: belinda-atkinson

Post on 18-Jan-2016

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October
Page 2: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

OpenWorld 2015

Software Updates on the Oracle Cloud:How Oracle Patches These Environments

Eleanor MerittVice PresidentSustaining Engineering

October 28, 2015

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

David PriceVice PresidentSustaining Engineering

Page 3: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Safe Harbor StatementThe following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

3

Page 4: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

"We are still on target to book

between $1.5 and $2.0 billion of new SaaS and PaaS business this fiscal year“

“Oracle is the world's second largest SaaS and PaaS company, but we are rapidly

closing in on number one.“Oracle Executive Chairman and CTO Larry Ellison, Q1 FY16 Earnings, 

September 16, 2015

Data-as-a-Service

Software-as-a-Service

Platform-as-a-Service

Infrastructure-as-a-Service

4

Oracle Cloud: Large, Fast Growing, Global Business

Page 5: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

21,500,000+ End Cloud Users

60,000+ VMs in

19 Global Data Centers

37+ BillionCloud Database Transactions per Day

Cloud Customers in

180+ Countries34 Languages

27,000+Cloud Enterprise Customers

1,300+ Cloud Operations Professionals

5

723 PB +Storage

Oracle Cloud: Operational Summary

Page 6: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 6

• 30,000+ tenants, growing at >20% per quarter

• 99.5% target systems availability level

• 3-4 major service feature releases every year

•Weekly updates to running environments hot

•Monthly updates for bug fixes, performance and minor UX improvements, applications and middle-tier product stack

• Quarterly updates for Databases with Zero Down Time

• Yearly updates for Exadata Database Nodes and Storage Cell software

Oracle Cloud: Software Updates At Scale

Page 7: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Requirements• Diagnosibility

• Testing

• Monitoring

• Auditing

• Resiliency

• Continuous Delivery

• Standards

Rapid Delivery

Zero Down Time

Operational Scalability

Software Updates: Objectives And Requirements

Objectives

7

Page 8: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• First failure diagnosis• Automated collection of log files• Performance analytics

Benefits• Continuous improvements in product-level diagnosibility• Get it on-premise with Oracle Enterprise Manager 12c and 13c

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 8

Software Updates: Diagnosibility

Page 9: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Individual bug fix testing• Product specific patch testing• Integrated product stack testing• Production testing (in identical copy of production environment)

Benefits• Faster testing cycles• Increased automation• Continuous improvements to test suites

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 9

Software Updates: Testing

Page 10: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Fleet-wide and Data Center level monitoring• Progress reporting• Failure visibility for operator intervention

Benefits• Lower operational costs• Jumpstart monitoring with Oracle APEX• Expanded monitoring with Enterprise Manager 12c and 13c

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 10

Software Updates: Monitoring

Page 11: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Command level tracing• User level tracing• Date and time stamp

Benefits• Traceability• Accountability• Security

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 11

Software Updates: Auditing

Page 12: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Zero impact of intermittent failures on software updates• Built on Oracle High Availability best practices

Benefits• Continuous improvements in product resiliency• Available On Premise and in Oracle Cloud

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 12

Software Updates: Resiliency

Page 13: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Continuous integration of bug fixes and performance

improvements into new patch versions• Constantly update baseline software update version• Automated, lights out patch delivery process

Benefits• Faster delivery of product improvements• Automated tracking of changes• Combine with Zero Down Time patching for maximum impact

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 13

Software Updates: Continuous Delivery

Page 14: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Key Features• Gold Images• Consistent reporting formats

Benefits• Standards tracking and automation• Lower operational costs and increased scalability

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 14

Software Updates: Standards

Page 15: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching for Oracle Cloud

15

Page 16: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: Oracle Cloud Applications

16

Applications Middleware Database

So how do you patchfor Zero Down Time?

Page 17: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Patch out of PlaceShutdown the Data Sources

Transactional DisconnectShutdown the listenerShutdown the Database

Switch to the new Oracle Home

Apply the SQL

Zero Down Time Patching: Database Rolling Process

17

Applications Middleware

Instance

Instance

Database

Page 18: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: Database Rolling Process

1. Patch the Oracle Home Out of Place

2. Drain the workload• Shutdown Data Sources• Relocate Services• Transactional Disconnect

3. Shutdown the Instance gracefully

4. Switch to the Out Of Place Oracle Home

5. Startup the Instance

6. Allow the load to rebalance

7. Repeat Drain, Shutdown and Switch on the remaining instances

8. Apply the SQL

12 hours

Zero

18

Page 19: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Long Running Batch Jobs

• OLTP

• JDBC and OCI

• Application Services

• Multi Data Sources & Active Grid Link

Workload

Connectivity

Management

Zero Down Time Patching For Database: Things To Consider

19

Page 20: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: Oracle Cloud Applications

20

Applications Middleware Database

So how do you patchfor Zero Down Time?

Page 21: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Oracle WebLogic

Server

OHS

Oracle WebLogic

Server

503

503

Quiesce the Managed Server Patch Out of Place

Switch to the newly patched home

Remove the old home

Zero Down Time Patching: Middleware Rolling Process

21

Middleware

DatabaseApplications

Page 22: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: Middleware Rolling Process

1. Patch the Oracle Home Out of Place

2. Quiesce the first Managed Server and shutdown• In 11g: Graceful shutdown or suspend and then force shutdown

through WLST• In 12c: Graceful session shutdown

3. Oracle Home is switched with Patched Home• For shared storage, this could be a un-mount/mount• For local, this could be expanding a patched archive or could

involve patching in-place

4. First Managed Server is started

5. System load is redistributed

6. Proceed with the next server until the entire system is patched

3 hours

Zero

22

Page 23: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Setup multiple managed servers

• Turn on session replication

• Perform “Graceful Session Shutdown” when states are not compatible

High Availability

Session Compatibility

Zero Down Time Patching For Middleware: Failover Planning

Session Replication

23

Page 24: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: At Scale

24

Patch one Data Center at a time

Patch all Data Centers and Monitor from a single UI

Page 25: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 25

Zero Down Time Patching: At Scale Process

• Modularize the functionality required to patch a single “VM”• Automate the patching of a single “VM”• Provide a GUI based control and monitoring app• Define a connection infrastructure• Allow each “VM” to patch independently • Add a notification and alert system for failures• Provide a playbook for operators when errors occur

Page 26: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Zero Down Time Patching: Tooling In Use

26

Oracle Enterprise Manager 12c PS4

ELK

Monitoring

Hudson

Job Scheduling

Home Grown ToolsmCollective

Deployment Orchestration

Home Grown Tools, GIT, SVN, Perforce

Source Control

My Oracle SupportArtifactory

Repository

Page 27: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Software Updates: Functional Roadmap

H2CY15

• Zero Down Time patching for Oracle Cloud Applications Database tier

• Continuous Delivery for Oracle Cloud Applications patching

H2CY16 and Beyond

• Zero Down Time patching for Oracle Cloud Platform Services• Zero Down Time patching &

Continuous Delivery for lights out updates for bug fixes

H1CY16

• Zero Down Time patching for Oracle Cloud Applications Middleware tier• Quarterly downtime for delivery

of fixes that do not use Zero Down Time• Oracle Database Multi-Tenancy

for additional Zero Down Time capabilities for Oracle Cloud Applications

27

Page 28: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Facilities Cost: Data Center, ISP, CDN, DNS, ...

Hardware Cost: Servers, Storage, Network, …

Software Cost: License, Installation, Configuration, Security Setup, DR Setup, ...

Ongoing Maintenance Cost: Backup, Patching, Hardware Upgrade, OS Upgrade, Firmware Upgrade, Software Upgrade, Test-Dev Synchronization, Cloning, Data Masking, Security Configuration Checks, Security Auditing, …

Traditional IaaS

Traditional PaaS

Value Creation

Oracle PaaS

Oracle Confidential – Internal 28

Oracle Cloud: Highest Value Creation with Automation

Page 29: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Oracle offers rapid, high-quality software updates with minimal to Zero Down Time; used by Oracle Cloud to maintain highly differentiated service offerings

• Oracle software updates framework is proven and designed for massive scale; used by Oracle Cloud for thousands of environments every week

• Oracle software updates framework drives automation and lowers cost with Diagnosibility, Testing, Monitoring, Resiliency, Continuous Delivery and Standards

• Oracle offers the same software updates functionality for it’s On-premise software and Private Cloud implementations

• Operator time is valuable and really adds up quickly; don’t waste it on software updates

Software Updates on the Oracle Cloud: Key Takeaways

29

Page 30: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• CON8792: Hide the Impact of Scheduled Maintenance from Your Applications Wed, Oct 28 @ 3:00 PM | Moscone South 102

• CON8785: Hide the Impact of Unplanned Outages from Your Applications Thur, Oct 29 @ 10:45 AM |Moscone South 305

• DEMO 3532: Zero Down Time Patching with a Single Command: How Oracle Cloud Did It and How You Can Do It Too|Moscone South, Upper Left, Database

• DEMO 3723: Automated Patching of the Oracle Fusion Middleware Product Stack Moscone South, Lower Left, Middleware

Learn More: At OpenWorld…

30

Page 31: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Master Note For Cloning Oracle Database Server ORACLE_HOME's Using the Oracle Universal Installer (OUI) (Doc ID 1154613.1) https://support.oracle.com

• Oracle Fusion Middleware Administering JDBC Data Sources for Oracle WebLogic Server | Configuring JDBC Multi Data Sources | Using Active GridLink Data Sources https://docs.oracle.com

• SQL*Plus® User's Guide and Reference |Shutdown https://docs.oracle.com

• Oracle® Fusion Middleware Administering JDBC Data Sources for Oracle WebLogic Server 12.1.3 | Using an Oracle 12c Database https://docs.oracle.com

Learn More: …And Beyond OpenWorld

31

#OOW15, #OracleCloud,

#OracleDB#zerodowntime

https://community.oracle.com/docs/DOC-948443

Page 32: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Page 33: OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering October