Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
OpenWorld 2015 Software Updates on the Oracle Cloud: How Oracle Patches These Environments Eleanor Meritt Vice President Sustaining Engineering David Price Vice President Sustaining Engineering October 28, 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The 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. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 3 Oracle Cloud: Large, Fast Growing, Global Business Data-as-a-Service Software-as-a-Service Platform-as-a-Service Infrastructure-as-a-Service "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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 4 Oracle Cloud: Operational Summary 21,500,000+ End Cloud Users 27,000+ Cloud Enterprise Customers 60,000+ 1,300+ Cloud Operations Professionals VMs in 19 Global Data Centers Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Cloud Customers in 180+ Countries 34 Languages 37+ Billion Cloud Database Transactions per Day 723 PB + Storage 5 Oracle Cloud: Software Updates At Scale • 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 6 Software Updates: Objectives And Requirements Objectives Rapid Delivery Requirements • Diagnosibility • Testing • Monitoring Zero Down Time • Auditing • Resiliency Operational Scalability • Continuous Delivery • Standards Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 7 Software Updates: Diagnosibility 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: Testing 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: Monitoring 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: Auditing 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: Resiliency 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: Continuous Delivery 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: Standards 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 Zero Down Time Patching for Oracle Cloud Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 15 Zero Down Time Patching: Oracle Cloud Applications ? So how do you patch for Zero Down Time Applications Middleware Database Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 16 Zero Down Time Patching: Database Rolling Process Instance Apply the SQL Database Applications Middleware Switch to the new Oracle Home Patch out of Place Shutdown the Data Sources Instance Transactional Disconnect Shutdown the listener Shutdown the Database Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 17 Zero Down Time Patching: Database Rolling Process 12 hours Zero 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 18 Zero Down Time Patching For Database: Things To Consider Workload • Long Running Batch Jobs • OLTP Connectivity Management • JDBC and OCI • Application Services • Multi Data Sources & Active Grid Link Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 19 Zero Down Time Patching: Oracle Cloud Applications ? So how do you patch for Zero Down Time Applications Middleware Database Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 20 Zero Down Time Patching: Middleware Rolling Process Remove the old home 503 Middleware OHS Applications Oracle WebLogic Server 503 Quiesce the Managed Server Switch to the newly patched home Oracle WebLogic Server Database Patch Out of Place Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 21 Zero Down Time Patching: Middleware Rolling Process 3 hours 1. Patch the Oracle Home Out of Place 2. Quiesce the first Managed Server and shutdown • • 3. Oracle Home is switched with Patched Home • • Zero In 11g: Graceful shutdown or suspend and then force shutdown through WLST In 12c: Graceful session shutdown 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 22 Zero Down Time Patching For Middleware: Failover Planning High Availability • Setup multiple managed servers • Turn on session replication Session Replication • Perform “Graceful Session Shutdown” when states are not compatible Session Compatibility Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 23 Zero Down Time Patching: At Scale Patch one DataCenters Center and all Data at afrom timea single UI Monitor Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 24 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 25 Zero Down Time Patching: Tooling In Use Home Grown Tools, GIT, SVN, Perforce Source Control Home Grown Tools mCollective Deployment Orchestration Oracle Enterprise Manager 12c PS4 Hudson ELK Monitoring Job Scheduling My Oracle Support Artifactory Repository Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 26 Software Updates: Functional Roadmap H2CY15 • Zero Down Time patching for Oracle Cloud Applications Database tier • Continuous Delivery for Oracle Cloud Applications patching H1CY16 H2CY16 and Beyond • 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 • Zero Down Time patching for Oracle Cloud Platform Services • Zero Down Time patching & Continuous Delivery for lights out updates for bug fixes Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 27 Oracle Cloud: Highest Value Creation with Automation Ongoing Maintenance Cost: Backup, Patching, Hardware Upgrade, OS Upgrade, Firmware Upgrade, Software Upgrade, Test-Dev Synchronization, Cloning, Data Masking, Security Configuration Checks, Security Auditing, … Value Creation Software Cost: License, Installation, Configuration, Security Setup, DR Setup, ... Hardware Cost: Servers, Storage, Network, … Oracle PaaS Traditional PaaS Facilities Cost: Data Center, ISP, CDN, DNS, ... Traditional IaaS Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal 28 Software Updates on the Oracle Cloud: Key Takeaways • 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 29 Learn More: At OpenWorld… • 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 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 30 Learn More: …And Beyond OpenWorld • 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 #OOW15, #OracleCloud, #OracleDB #zerodowntime https://community.oracle.com/docs/DOC-948443 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 31 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |