39
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle: DevOps Success Kelly Goetsch Director, Product Management Cloud Application Foundation 2015 A Pragmatic Introduction

Mastering DevOps with Oracle

  • Upload
    jeckels

  • View
    2.188

  • Download
    30

Embed Size (px)

Citation preview

Page 1: Mastering DevOps with Oracle

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

Oracle: DevOps Success

Kelly GoetschDirector, Product ManagementCloud Application Foundation2015

A Pragmatic Introduction

Page 2: Mastering DevOps with Oracle

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

An even more in-depth version of this slide deck is available athttp://www.slideshare.net/KellyGoetsch/mastering-devops-with-oracle

Page 3: Mastering DevOps with Oracle

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.

Oracle Confidential – Internal/Restricted/Highly Restricted 3

Page 4: Mastering DevOps with Oracle

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

Agenda

4

1 What is DevOps? And Why Now?

2 Mastering DevOps with Oracle

3 Partner and Customer Case Studies

4 DevOps Reminders

Page 5: Mastering DevOps with Oracle

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

Dev and Ops Constantly Argue“Code is written...it’s your problem now”

5

Hey Ops - Here’s our code...good luck!

Page 6: Mastering DevOps with Oracle

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

Modern DevOps = Culture + Technology MovementCulture is what’s behind DevOps; technology is the enabler

6

Culture

Technology

Page 7: Mastering DevOps with Oracle

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

Core DevOps Principles

7

Cultural movement enabled by technology

Paid to add new features

Dev Ops

DevOps

Paid to keep system stable, fast and available

New goal:Add new features and keep the system stable, fast and available

Page 8: Mastering DevOps with Oracle

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

DevOps Tenet #1: Culture

8

DiscussRespect

Avoid Blaming

“Done” Means

Released

•Dev respect for ops•Ops respect for dev•Don’t stereotype•Don’t just say “no”

•Don’t hide things•Ops should be in dev discussions•Dev should be in ops discussions• Shared runbooks/escalation plans•Ops should give devs access to

systems

•No fingerpointing!

•Dev’s responsibility ends when it’s in production• “Throwing it over

the wall” is dead

Page 9: Mastering DevOps with Oracle

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

DevOps Tenant #2: Technology

9

Shared Version Control

Infra as Code

One Step Build/De

ploy

Don’t Fix Anything

•Use config mgmt to build environments• Scripts checked in

and managed as src

• Single system for code and build artifacts•Every time someone commits a

change it triggers a build and automated build verification tests• Ship trunk•Enable features through flags

•One button build/deploy (manual)• Scheduled builds/deploys• If verification fails, stop and alert

• If something breaks, re-deploy. Don’t fix• Fix environment

setup scripts

Page 10: Mastering DevOps with Oracle

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

Faster Time-to-Market

• Increase frequency of releases

• Increase accuracy of releases - avoid downtime

• Reduce the time it actually takes to perform a release

Cost

• Automate what was previously done manually. Reduces OPEX

• Prevent humans from making costly errors

• Reduce downtime, which saves money

10

Focus on Business Value

• Allow high value employees to focus on higher value activities

• Nobody benefits from doing low value activities, like setting up infrastructure

Business Value Is Driving DevOps

Page 11: Mastering DevOps with Oracle

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

Time

• Longer time to market (initially) due to work required to automate

• More builds / faster time-to-market for individual features

• Lower MTTR because problems are fixed by rebuilding

• Higher MTBF due to increased accuracy

Cost

• High up-front costs due to automation work

• Low ongoing costs because routine operations is automated

• Fewer employees wanting more pay - 10x developers want 10x pay

• Lower capex, higher opexas workloads shift to cloud

11

Culture

• Continues to empower developers

• Automation increases operational efficiencies

• Distracts developers from developing code

• Movement eschews “rockstars” but that’s naturally what happens

DevOps Implications To Business

Page 12: Mastering DevOps with Oracle

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

Agenda

12

1 What is DevOps? And Why Now?

2 Mastering DevOps with Oracle

3 Partner and Customer Case Studies

4 DevOps Reminders

Page 13: Mastering DevOps with Oracle

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

Oracle Can Help You Lead Change in Your Organization

13

But real change begins with you

Your responsibility

Respect

“Done” Means Released

Discuss

Avoid Blaming

Shared Version Control

Don’t Fix Anything

Infrastructure as Code

One Step Build/Deploy

Culture

Technology

DevOps Tenet #1:

DevOps Tenet #2:

Your responsibility,

can helpbut

How Oracle Can Help with DevOps

Simplify

Shrink Runtime

Simplify Installation

Simplify Provisioning

Support Lifecycle

Page 14: Mastering DevOps with Oracle

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

Oracle is Serious About DevOps

14

Oracle products support DevOps

Respect

“Done” Means Released

Discuss

Avoid Blaming

Shared Version Control

Don’t Fix Anything

Infrastructure as Code

One Step Build/Deploy

Culture

Technology

DevOps Tenet #1:

DevOps Tenet #2:

Ligh

t|

Fast

|M

od

ula

r|

Mo

dern

|Ea

sy

Page 15: Mastering DevOps with Oracle

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

Using Developer Cloud Service for DevOps

15

How Does it Support DevOps?

Offers shared version control, one step build/deploy and collaboration tooling as a hosted service

Features include a dashboard, tasks, one-step build, code reviews, one-step deploy, wiki, integration with IDEs

Facilitates discussion

Supports “done” means released ethos

Prevents you from having to do it on your own

What Problems Does it Solve?

Hosted offering for setting up development infrastructure

Integrates Hudson, Git, Maven, Eclipse, JDeveloper, and Netbeans to offer a complete development environment as a service

What is It?

Page 16: Mastering DevOps with Oracle

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

Oracle Developer Cloud Servicehttps://cloud.oracle.com/developer

16

• Free with Java Cloud Service or Database Cloud Service

• Already used by 21 different product development organizations within Oracle

• Features include:– Project based, multi-tenant

– Integrated wiki server

– Integrated task/defect service

– IDE integration

– Code review

– Flexible source repository

– Maven integration

– Continuous integration

Page 17: Mastering DevOps with Oracle

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

Developer Cloud Service Features

17

Simplify Development

Automatically provisioned

Preconfigured and integrated

Automated builds and deployments

Web based administration

Collaborate & Manage Integrated team source repository Continuous integration with breakage

notifications Task/defect tracking with activity

stream and notifications

Integrated With IDEs

JDeveloper

Eclipse

NetBeans

Deploy Automatically

Deploy into Oracle Java Cloud Service automatically

Workflow ensures proper build and test

Page 18: Mastering DevOps with Oracle

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

Using Enterprise Manager for DevOps

18

How Does it Support DevOps?

Application performance management

Application quality management

Manage/monitor cloud, applications, middleware, databases, and hardware

Support infrastructure as code by allowing for entire environments to be hydrated, stored, and dehydrated

Centrally manage and monitor all hardware and software

What Problems Does it Solve?

Manage/monitor cloud, applications, middleware, databases, and hardware

Agent/controller-based system

Best for on premises workloadsWhat is It?

Page 19: Mastering DevOps with Oracle

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

Oracle Enterprise Manager Simplifies FMW Management

• Performance Monitoring and Diagnostics

– Manage across multiple domains

– Improve performance and availability of Java EE and web service applications

– Diagnose performance problems across tiers

– Trace business transactions in the context of the payload

• Configuration Management

– Track and maintain configurations

– Minimize/eliminate downtime due to infrastructure changes

– Comply with security and compliance standards

• Lifecycle Management

– Automate time consuming, manual installation, patching, and configuration process

– Reduce human error in building new environments

– Streamline communication with support when encountering bugs

19

Makes management, monitoring and diagnostics easy

Performance

Configuration

Lifecycle

Page 20: Mastering DevOps with Oracle

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

Using Oracle PaaS for DevOps

20

How Does it Support DevOps?

Offers a ready-built platform for deploying your applications to. You deploy your application - Oracle worries about provisioning and managing

Same code powers both private and public versions; very easy portability

Prevents you from manually setting up and provisioning a platform

Full lifecycle is built in to the solution

Save costs - pay for what you use

What Problems Does it Solve?

Java-based PaaS offered on premises (Oracle Exalogic) and off premises (Oracle Cloud). Whether deployed on/off premises, it’s called Java Cloud Service

Includes automatic provisioning of application server, infrastructure, storage and database

What is It?

Page 21: Mastering DevOps with Oracle

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

Java Cloud Service

21

Page 22: Mastering DevOps with Oracle

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

Single Click Lifecycle for Java Cloud Service

22

One Click Patch

One Backup/Restore

Page 23: Mastering DevOps with Oracle

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

Using IaaS for DevOps

23

How Does it Support DevOps?

Offers ready-built infrastructure for you to install your software to - Oracle worries about provisioning and managing

Same code powers both private and public versions; very easy portability

Prevents you from manually setting up and provisioning infrastructure

Infrastructure lifecycle is built in to the solution

Save costs - pay for what you use

What Problems Does it Solve?

Comprehensive IaaS solution offered on (Oracle Exalogic) and off (Oracle Cloud) premises

Includes secure provisioning of hardware, network and operating systemWhat is It?

Page 24: Mastering DevOps with Oracle

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

Storage

Elastic Block StorageStorage

Elastic Object Storage

Compute

Elastic Compute

MessagingMail, Push, Messaging

Secure Identity

Identity Administration

Numerous Infrastructure-level Offerings to Choose From

Page 25: Mastering DevOps with Oracle

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

Using Oracle Exalogic for DevOps

25

How Does it Support DevOps?

Offers ready-built infrastructure so you can focus on developing and deploying software

Quickly and easily interact with IaaS and PaaS stack from APIs

Prevents you from having to cobble together infrastructure

Fully integrated IaaS and PaaS services make it easy to run your workloads

Save money - pay as you grow

What Problems Does it Solve?

Private cloud in a box - both IaaS and PaaS offered as services. Same solutions as public cloud

Improves performance of middleware and applicationsWhat is It?

Page 26: Mastering DevOps with Oracle

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

Oracle’s Public and Private Clouds Run the Same Software

26

IaaS and PaaS layers are exactly the same

User Interface Oracle Cloud UI Enterprise Manager

Platform-as-a-Service Service Manager Service Manager

Infrastructure-as-a-Service Nimbula Nimbula

Monitoring Enterprise Manager Enterprise Manager

Public Cloud

Public cloud experience but in your data center

Workload portability between public and private cloud

Fastest possible performance due to Exalogic-only optimizations

SameStack

Private Cloud Powered by Oracle Exalogic

Private CloudPublic Cloud

Page 27: Mastering DevOps with Oracle

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

Oracle Exalogic Simplifies Lifecycle

27

System Lifecycle Software

Verifies system configuration

Exachck1

Automates patching

Exapatch2

Gathers logs, diagnostics, config and other data

Exalog3

Complementary Services

24/7 support, 2-hour onsite response to hardware issues, "Phone home" automated service requests (ASR), My Oracle Support proactive support portal

Premier Support1

Oracle Engineers perform patching and updates, higher SLAs (5 min fault notification, 15 min escalation to development, 30 min joint debugging with development)

Platinum Services2

Oracle builds customized initial environments for Oracle Commerce, EBS, PeopleSoft. $5k/rack fixed price. Two days

Excelerator3

Automates backup and recovery of entire system

ExaBr4

Page 28: Mastering DevOps with Oracle

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

Using Oracle Cloud Application Foundation for DevOps

28

How Does it Support DevOps?

These products allow you to focus on building your applications. Your applications can then use these services where appropriate

Offers a rich suite of services for your applications - WebLogic (session lifecycle management, connectivity to databases, JMS, RMI, etc), Coherence (caching), Oracle HTTP Server (static web serving), Oracle Traffic Director (load balancing)

What Problems Does it Solve?

Oracle Cloud Application Foundation is the umbrella name for WebLogic, Coherence, Oracle HTTP Server, Oracle Traffic Director, and Tuxedo

Serves as foundation for your applicationsWhat is It?

Page 29: Mastering DevOps with Oracle

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

Oracle WebLogic Server and DevOps

29

Simplify Installation

Small zip file distribution with simple unzip and removal

Platform independent JAR file installer with property driven model for non-interactive installs

Simplify Provisioning WebLogic Scripting Tool for codifying

domain and environment provisioning Domain templates for encapsulated,

reusable , repeatable environments WebLogic <-> Maven integration

Simplify Deployment and Testing

Full deployment operational support with WebLogic <-> Maven

Test specific configurations stored in external deployment plans

Simplify Lifecycle

Start, stop servers via node-manager

Start, stop servers via WLST

Start, stop servers via Maven plugins

Scale out easily with dynamic clusters

Page 30: Mastering DevOps with Oracle

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

Oracle WebLogic Server and DevOps

• Both templates and scripts can be used for repeatability, automation, standardization

• Domain Templates enable encapsulation of a “standard” domain

• WLST Offline is a full-featured tool:

– Create/modify templates

– Create/modify domains

• Common practice favor scripts over templates

– Use few templates for standard topologies

– Use scripts to layer over top and consistently modify domains

Simplify provisioning with domain templates

Page 31: Mastering DevOps with Oracle

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

Oracle Repository - https://maven.oracle.com

• Allows developers to create, compile, test, package and deploy FMW without needing to first install a FMW server Oracle Home to obtain the dependencies

• Contains all Oracle-supplied artifacts, including Maven plugins, archetypes, and libraries needed to compile, test, package and deploy

• Contains release level artifacts only, i.e. no patched artifacts

Works with WebLogic, ADF, Coherence, SOA Suite, BPM, Service Bus

http://youtu.be/GHFMT3mEV74

Page 32: Mastering DevOps with Oracle

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

Oracle Cloud is Provisioned Using Chef

Database Services

Java Services

Analytics Services

Mobile Services

Developer Services

Collaboration Services

CachingServices

Messaging Services

Notification Services

StorageServices

Application Store

IdentityServices

Powered By

32

Oracle Cloud is run on Chef

Page 33: Mastering DevOps with Oracle

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

Agenda

33

1 What is DevOps? And Why Now?

2 Mastering DevOps with Oracle

3 Partner and Customer Case Studies

4 DevOps Reminders

Page 34: Mastering DevOps with Oracle

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

Oracle Fusion Middleware Partners are Innovating on Oracle

Install Java

MyS

T

Java Plugin

Install WebLogicWLS Plugin

Configure to Work With

Install IdMIdM Plugin

Configure to Work With

Install WebCenter SitesWCS Plugin

Configure to Work With

Reco

rded

Scrip

t

Replay Elsewhere

Puppet

Ant

Maven

Custom Shell Script

Ap

ach

e B

amb

oo

Provision HW

Success!

Install WebLogic

Success!

Install Coherence

Success!

Patch WebLogic

Success!

Orchestration Engine

Ant

Maven

Custom Plugin

Provision HW

Success!

Install WebLogic

Success!

Install Coherence

Success!

Patch WebLogic

Success!

Target System

Provision Complex Multi-tier Oracle Fusion Middleware Environments in Minutes

Page 36: Mastering DevOps with Oracle

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

Agenda

36

1 What is DevOps? And Why Now?

2 Mastering DevOps with Oracle

3 Partner and Customer Case Studies

4 DevOps Reminders

Page 37: Mastering DevOps with Oracle

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

DevOps Is Ultimately In the Eye of the BeholderWhat’s important is that you adhere to core principles that lead to business value

37

Page 38: Mastering DevOps with Oracle

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

DevOps Consulting from Oracle Consulting

38

Define technical requirements Deploy technology to support

DevOps Train your staff on the culture and

technology of DevOps Variable engagement length

Study how you approach development and operations

Define strategy and best practices tailored to your organization

Two days, fixed-fee engagement

Assessment Workshop Implementation Engagement

Page 39: Mastering DevOps with Oracle