Weitere ähnliche Inhalte Ähnlich wie Mastering DevOps With Oracle (20) Kürzlich hochgeladen (20) Mastering DevOps With Oracle1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Mastering DevOps With Oracle
Kelly Goetsch
Director, Product Management, Microservices
Oracle
January 6th 2016
A Pragmatic Introduction
2. Copyright © 2016, 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.
2
3. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
3
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
4. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
4
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
5. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Familiar?
5
DevOps seeks to solve this
It's not my
machines, it's
your code!
It's not my
code, it's your
machines!
6. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Dev and Ops Constantly Argue
“Code is written...it’s your problem now”
6
Hey Ops - Here’s our
code...good luck!
7. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
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
8. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Characteristics of DevOps Movement
8
Principles have been around for decades
Agile
Methodologies
Open Culture
Cloud-like
Infrastructure
Heavy Automation
Open Source
DevOps
Movement began in startup community.
Use of open source seen as integral but
not technically necessary
9. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Movement Crystallized at Flickr
9
2009 Velocity Conference presentation
http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr
As of 2009
• 51 total employees
• 10 deploys per day
• 3 billion photos stored
• 40k photos viewed/sec.
10. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Google Trends for “DevOps”
10
Presentation at Velocity
11. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Demand for DevOps Skills
11
12. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
DevOps = Culture + Technology Movement
Culture is what’s behind DevOps; technology is the enabler
12
Culture
Technology
13. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
DevOps Tenet #1: Culture
13
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
does not end when
it’s in production
• “Throwing it over
the wall” is dead
14. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
DevOps Tenet #2: Technology
14
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
15. Copyright © 2016, 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 opex
as workloads shift to
cloud
15
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
16. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
DevOps Is In the Eye of the Beholder
What’s important is that you adhere to principles that lead to business value
16
17. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
17
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
18. Copyright © 2016, 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
18
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
19. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Old Culture and Expectations Don’t Work!
Commonly overheard in offices
19
It’ll take us three
months to build
you a development
environment
I have to stay up all
night to do a build
The new switch we
need is sitting on
the loading dock
That code change
will have to wait
for our monthly
build
Uh...that’s not my
problem. Go talk to
Ops
Why does your
code always break
my infrastructure?
20. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Resources are Available to Help Make the Change
20
21. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
PaaS / IaaS Now Allows Resources to be Easily Provisioned
21
Network
Storage
Compute
Hypervisor
Operating System
JVM
App Server
Application
PaaSIaaS
Past: Ops manually
provisioned each layer
Today: Developers can provision
entire stacks of hardware +
software through REST API
22. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Good Technology is Now Available
DevOps technology all < 10 years old
22
Capital + mechanical automation always win over labor
Puppet
Git
2005
Chef
New Relic
SOASTA
2008
SaltStack
Jenkins
2011
Ansible
Vagrant
Gradle
2012
Docker
2013
23. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Investment in DevOps Shows No Signs of Slowing
DevOps-related technology solves real business problems
23
0
10
20
30
40
50
60
70
80
90
Cumulative$Raised($m)
Cumulative Investments in Puppet and Chef, 2009 - 2014
Puppet
Chef
24. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
24
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
25. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
How to Build a Successful DevOps Culture
25
DiscussRespect
Avoid
Blaming
“Done”
Means
Released
26. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Build Respect
• Developers should respect Operations
• Operations should respect Developers
• Don’t just say “no”
• Don’t stereotype!
26
Because the
site breaks
unexpectedly
Because
nobody tells
them anything
Because they
say “no” all
the time
Ops Stereotype
27. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Discuss
• Don’t hide things! Open communication
on both sides
• Operations should be in Developer
discussions
• Developers should be in Operations
discussions
• Build shared runbooks/escalation plans
• Operations should give Developers direct
access to systems
27
28. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Avoid Blaming
• No fingerpointing!
• Development should have enough
Operations culpability to share the
blame in an outage
• Operations should have enough
Development culpability to share the
blame in an outage
28
29. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
"Done" Means Released
• The “throwing it over the wall to ops” model is dead
• Development needs to be involved with operations
• Operations needs to be involved with development
• Joint success/failure
29
Development
Operations
30. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Steps Required to Change Culture
30
Hire technical people who are skilled in DevOps
Set up training for DevOps skills
Bring in consultants to help get started
Put Dev + Ops people under same line-level managers
Change the way you measure/reward performance
Flatten org chart to reduce fiefdoms
Let Dev + Ops collaborate to find solutions
Let Dev + Ops jointly pick tools. Limit corporate mandates
Don’t restrict the choice of public cloud solutions
Sponsor teambuilding events
Give Dev + Ops common goals to work towards
When there's a failure, don't dwell on Dev or Ops failure
Build Trust
Bring In New Blood
Align Interests
Empower Change From
the Bottom Up
31. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Culture Dictates Technology Decisions
31
Any piece of software reflects
the organizational structure that
produced it
-Conway’s Law (1968)
Melvin Conway
32. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Organizational Misalignment Leads to Dysfunction
Pre-DevOps org structure
32
CEO
CIO CFO
VP of
Operations
Developer
VP of
Development
Layers of
Middle
Management
Layers of
Middle
Management
Sys Admin
VP of Finance
Layers of
Middle
Management
Accountant
Ops and developers report to CIO
through different tracks, have opposing
management, and opposing incentives
Incentivized to
keep systems up
Incentivized to
innovate
Incentivized to keep
ops busy by building
each layer the old way
Wants a fix to business
problem ASAP. Can’t wait for
time required to automate
Full stack developers cost a
lot of money - don’t fit into
existing salary bands
Incentivized to keep
developers developing.
Ops is someone else’s job
33. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Change Your Organization’s Structure
Incentives drive behavior
33
CIO
VP of
Operations
Developer
VP of
Development
Layers of
Middle
Management
Layers of
Middle
Management
Sys Admin
CIO
Developer
VP of Product
Layers of
Middle
Management
Sys Admin
Report to same manager. Incentivized to
work together to develop and release
Incentivized to
innovate and release
34. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Actively Build Trust
34
Trust is the #1 ingredient to a successful DevOps culture
Dev + Ops + Social Activity Outside Work + Time = Trust
35. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
35
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Improving the DevOps Friendliness of Oracle Products
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
36. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
How to Use a Technology to Enable DevOps
36
Shared
Version
Control
Infra as
Code
One Step
Build/De
ploy
Don’t Fix
Anything
37. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Infrastructure as Code
37
Manage it as you would any other source code
Base Image
Install Binaries
Configure Software
Make Software Work Together
Patch/Push Config Changes
Step 1
Pick a Tool
Step 2
Script your environment
Step 3
Run your scripts against all hosts
38. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Humans doing anything manually will introduce errors
Consider Disabling SSH Access
This could alienate ops people, however, as it shows a lack of trust
38
Possible solution: Remove each user’s shell
• All changes should be scripted and QA’d
– This prevents one-off changes (and errors)
– Emergency fixes can still be pushed as required
• Users can still SFTP to retrieve log files
39. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Shared Version Control
• Single system for code and build
artifacts
• Every time someone commits a
change, consider triggering a
build + automatic verification
tests
• Always ship trunk!
• Enable features through flags
Surprisingly not well adopted
39
40. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
One Step Build/Deploy
• Manual one button
build/deploy
• Scheduled builds - every
day, every week, etc
• Builds triggered by code
checkins
• If post-build validation fails,
report it
Set it and forget it
40
41. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Example of Automated Testing Using Robot
41
1. Integrate Robot With Maven 2. Write a Simple Selenium-based Test
4. View Results3. Run Test
42. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
In each cluster’s [of 10,000 servers] first year, it’s typical
that 1,000 individual machine failures will occur;
thousands of hard drive failures will occur; one power
distribution unit will fail, bringing down 500 to 1,000
machines for about 6 hours; 20 racks will fail, each time
causing 40 to 80 machines to vanish from the network; 5
racks will “go wonky,” with half their network packets
missing in action; and the cluster will have to be rewired
once, affecting 5 percent of the machines at any given
moment over a 2-day span, Dean said. And there’s about
a 50 percent chance that the cluster will overheat, taking
down most of the servers in less than 5 minutes and
taking 1 to 2 days to recover.
Jeff Dean, Fellow, Google
If Something Breaks, Re-deploy It on New Infrastructure
• PaaS and IaaS is exceptionally
easy to provision
• Cloud offers a large elastic pool
of resources to pull from. Not
worth the time to fix
• If you automate your
environment setup, it’s quick to
deploy more hardware
• VMs should be ephemeral -
nothing worth saving
42
For both hardware and software
43. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Popular DevOps Technology
Remember: You can't get DevOps by buying a single product
43
Ansible
Jenkins / Hudson
Rundeck
Git
Perforce
Subversion
Ansible
Puppet
Chef
SaltStack
Gradle
Jenkins / Hudson
Robot
Artifactory
Nexus
Docker
Vagrant
Version Control
Build & Functional Testing Binary ManagementVirtualization
Continuous Integration
Continuous Delivery
Configuration Management
44. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
44
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
45. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
What Does it Take to Start a New Project?
• Acquire hardware and software
• Setup and install components
• Connect components
• Configure IDEs
• Maintain and upgrade versions
• Securely connect to deployment
platform
45
Initial setup is time-consuming and expensive
IDE
46. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Introducing...Oracle Developer Cloud Service
https://cloud.oracle.com/developer
46
• Free with Java Cloud Service or Database Cloud Service
• Already used by 21 different product development
organizations within Oracle
• Features include:
– Project based, multi-tenet
– Integrated wiki server
– Integrated task/defect service
– IDE integration
– Code review
– Flexible source repository
– Maven integration
– Continuous integration
47. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service Features
47
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
48. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service Use Cases
Extending/Integration
Oracle SaaS Apps
(With Java Cloud Service)
• Pre-integrated
deployment
• Setup correctly for
Java/ADF development
with fusion apps
• Templates for fusion apps
available
Java EE
Development
(With Java Cloud Service)
• Automated deployment
through CI
• Familiar infrastructure
• Monitoring and
management of Java
Cloud Service
Integrated ALM
(Standalone Developer
Cloud Service)
• Hosted no-setup
experience
• Team
collaboration/manageme
nt
48
49. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Developer Cloud Service
Web
Dashboard Partners
JDeveloper,
NetBeans
and Eclipse
REST
Interface
Mylyn
Many Ways to Interact with Developer Cloud Service
SSH to GIT
50. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
• Tutorials
• Videos
• eBook
• Whitepapers
• Documentation
• Forums
Additional Resources
https://cloud.oracle.com/developer
51. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
51
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
52. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Can Help You Lead Change in Your Organization
52
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 help
but
How Oracle Can Help with DevOps
Simplify
Shrink
Runtime
Simplify
Installation
Simplify
Provisioning
Support
Lifecycle
53. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is Serious About DevOps
53
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:
Light|Fast|Modular|Modern|Easy
54. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using Developer Cloud Service for DevOps
54
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?
55. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Key Features
• End-user & server monitoring: web, mobile, on-premises, cloud
• Capacity and resource planning
• Estate-wide event and metric analytics
• Light-touch log aggregation with topology-aware search
• Machine Learning based anomaly detection
• Out-of-box dashboards
Benefits
• Assure good user experience & rapidly troubleshoot issues
• Manage complex applications (heterogeneous, multi-cloud, etc.)
• Eliminate operational data silos and encourage DevOps
• Get started quickly and easily with lightweight deployment
IT Analytics
Log Analytics
55
Performance
Monitoring
Management Cloud: For IT Operations and DevOps
56. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Continuous Ingest
Machine Learning
Real-Time Processing
Customer-Generated Data
Machine-Generated Data
Oracle Management Cloud – Data-centric By Definition
Anomaly Detection
Real-time Insight
Comprehensive Monitoring
56
57. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Management Cloud Services – Initial Offerings
Application Performance
Monitoring
Improve End-User Experience
and System Performance;
Diagnose Performance Issues
Faster
Log Analytics
Extract Value from Logs by
Collecting, Correlating, and
Searching Any Kind of Log Data;
Quickly Discover Anomalies
IT Analytics
Make Critical Decisions About Your
IT Estate; Plan For Growth, Run
What-If Analyses, Compare
Resource Usage
57
58. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Comprehensive Monitoring
Rapid Troubleshooting
Real-Time Insight
Simple Set Up and Use
Oracle Confidential –
58
Oracle Management Cloud Enables DevOps Collaboration
59. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using Enterprise Manager for DevOps
59
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 workloads
What is It?
60. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Enterprise Manager Simplifies WebLogic 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
60
Makes management, monitoring and diagnostics easy
Performance
Configuration
Lifecycle
61. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using Oracle PaaS for DevOps
61
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 Cloud Machine) 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?
62. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Java Cloud Service
62
63. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Single Click Lifecycle for Java Cloud Service
63
One Click Patch
One Backup/Restore
64. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using IaaS for DevOps
64
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 Cloud Machine) and off
(Oracle Cloud) premises
Includes secure provisioning of hardware, network and operating system
What is It?
65. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Storage
Elastic Block Storage
Storage
Elastic Object Storage
Compute
Elastic Compute
Messaging
Mail, Push, Messaging
Secure Identity
Identity Administration
Numerous Infrastructure-level Offerings to Choose From
66. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using Oracle Cloud Machine for DevOps
66
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 applications
What is It?
67. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Cloud Machine Metadata Service
67
Easily pass variables to VMs at instantiation
• Allows key/value pairs to be provided through the
IaaS API during VM creation time
• VM reads at boot
• Enables parameters to be passed to Chef or Puppet
to automate application deployment or
configuration in the VM
• Makes automation easier
New
VM
“Shape” and
Other Metadata
VM Image
Key/Value Pairs
Metadata Service
68. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Cloud Machine Orchestration Plans (oplan)
• Define cloud resources
• Map relationships between
resources, including HA policies
• Orchestrations can be listed,
updated, started, shutdown or
deleted
• Orchestrations can be executed
uploading through the API,
GUI, or CLI
68
JSON-based mapping of cloud resources (e.g. compute, network, storage, etc)
69. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Example of an Orchestration Plan
69
Single VM
basic_orch.json
{
"name": "/acme/public/basic_orchestration",
"oplans": [{
"ha_policy": "active",
"label": "basic_launchplan",
"obj_type": "launchplan",
"objects": [{
"instances": [ {
"imagelist": "/oracle/public/linux6_3.1.1.0.0_64",
"label": "basic_instance",
"shape": "small”
...
$ oracle-compute add orchestration /home/lee/basic_orch.json
$ oracle-compute start orchestration /acme/public/basic_orchestration
$ oracle-compute get orchestration /acme/public/basic_orchestration
70. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Using Oracle Cloud Application Foundation for DevOps
70
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 applications
What is It?
71. Copyright © 2016, 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
72. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and DevOps
72
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
73. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and DevOps
• Complete WebLogic Server in a Zip file
– Single 190MB zip file
– Download directly from Oracle Technology Network
– Unzip, execute configure script, ready to use
– Updated with patch set update fixes when released
• Core WebLogic Server product with full console,
WLST and maven support
• Callable from weblogic-maven-plugin install goal
– Zip file retrievable from maven repository
73
Simplify installation with zip file distribution
74. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
From Zero to WebLogic Server in < 5 Minutes
Oracle is focusing on ease of use
74
Step 1: Download WebLogic Server zip from otn.oracle.com
Step 2: Unzip
Step 3: One-off script to unpack, create domain, start new server
75. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and DevOps
• Complete environment to codify domain and resource creation
– Jython based with complete language semantics and functional extensions to interact with
WebLogic Server
– Validation of resources, lifecycle control
– Development support with Eclipse, SCMs for version control and history
• Supports full range of topologies
– Single server, multiple servers, clusters, Coherence clusters
– Local or remote environments
• Supports use of domain templates and extensions as reusable building blocks
• Executable from WLST utility and weblogic-maven-plugin with remote invocation
75
Simplify provisioning with WebLogic scripting tool
76. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
WebLogic Scripting Tool (WLST)
• Full scripting environment for WLS with Jython
• Configuration, deployment, lifecycle management
– Record operations from console to bootstrap script
development
• Offline:
– Create domains based on templates
– Read and modify domains
– Create and modify templates
• Online:
– Connect to Admin Server and execute commands to
interact with MBeans
Simplify provisioning with automation, standardization, repeatability
76
77. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Automate WebLogic Patching
• Search for and download WebLogic
Server patches available on My Oracle
Support
• Automate applying one-off patches
and critical patch updates across
domain via Patch Plan
• Eliminate downtime by applying
patches in rolling mode (parallel mode
also supported)
• Rollback already applied patches in
cases where new problems occur
77
Major differentiation vs. open source
78. Copyright © 2016, 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
79. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and Maven for DevOps
• Extensive support for use of Maven with WebLogic Server
• Oracle Maven Artifacts
– Oracle Fusion Middleware ship libraries in Maven artifact installable form
– Oracle defined POMs with standardized name and version conventions
• Oracle Maven Synchronization Plugin
– Installs and updates Fusion Middleware libraries as Maven artifacts into local dev to corporate
level repositories
• WebLogic Maven Plugin
– Handles interactions with WebLogic Server from Maven environment
– Installation, domain creation and management, server lifecycle management, resource
creation, WLST execution and deployment operations
79
Simplify development, testing, and provisioning with Maven support
80. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and Maven for DevOps
80
Repository
Product JARs POMs<project>
<groupId>com.oracle.weblogic</groupId>
<artifactId>webservices</artifactId>
<version>12.1.2</version>
<packaging>jar</packaging>
</project>
Archetypes
Sync
plugin
WebLogic
plugin
weblogic-maven-plugin
wlst file
<script>
wlst-client
T3
WebLogicServer
AdminServer
• Perform installations with zip and
jar distributions – can pull from
Maven repository for
centralization
• Create domains, clusters
• Start and stop servers
• Configure and validate resources
• Deploy, update, undeploy
applications
81. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server and DevOps
• Continuous delivery pipelines strive to
maintain the use of the same binary
throughout the process
• Adapting to different environments can be
challenging without modifying binary
• WebLogic Server supports customization of
application settings at deployment time
– Injecting configuration through external
deployment plan
– Part of application source, storable in SCM
81
Injecting configuration at deployment time
Binary
x.y.z
Deployment
plan - UAT
Deployment
plan – Full
Test
Deployment
Plan –
QuickTest
Quick Test
Env
Full Test Env
Prod Mirror
Delivery Pipeline
Binary
x.y.z
82. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle WebLogic Server Templates
• Primary use is with Dynamic Clusters
– Also usable with configured managed servers
• Servers inherit changes dynamically
• Tokens for server-specific configuration:
– ${id} instance id
– ${serverName}
– ${clusterName}
– ${domainName}
– ${system-property-name}
82
Tokenized variables
Server Template
•Attribute 1
•Attribute 2
•Attribute 3
Dynamic Server 4
•Attribute 1
•Attribute 2
•Attribute 3
Dynamic Server 3
•Attribute 1
•Attribute 2
•Attribute 3
Dynamic Server 2
•Attribute 1
•Attribute 2
•Attribute 3
Dynamic Server 1
•Attribute 1
•Attribute 2
•Attribute 3
Server 1
•Attribute 1
•Attribute 2
•Attribute 3
Server 2
•Attribute 1
•Attribute 2
•Attribute 3
Dynamic Cluster
- OR-
83. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 83
Oracle Fusion Middleware Partners are Innovating on Oracle
Install Java
MyST
Java Plugin
Install WebLogic
WLS Plugin
Configure to
Work With
Install IdM
IdM Plugin
Configure to
Work With
Install
WebCenter SitesWCS Plugin
Configure to
Work With
RecordedScript
Replay
Elsewhere
Puppet
Ant
Maven
Custom Shell
Script
ApacheBamboo
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!
TargetSystem
Provision Complex Multi-tier Oracle Fusion
Middleware Environments in Minutes
84. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 84
Robust DevOps Partner Tooling. Example: FlexDeploy
Achieving DevOps and Continuous Delivery with Ease
• Integrated Suite for Build, CI, Artifact Repo, Deploy, Test
• Improves speed, quality, and cost of software delivery
• Visibility to real-time and historical data
Oracle Plugins/Integrations make Oracle based solutions easy, repeatable, and efficient
• Fusion Middleware – WebLogic, SOA, OSB, ADF, BPM, ODI, MDS, WebCenter
• Cloud PaaS – Java, Database, SOA
• Database, WebLogic Resource Management, E-Business Suite
85. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
DevOps Consulting from Oracle Consulting
85
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
86. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 86
Learn more at Oracle.com/technet
A global community of
developers, admins and systems
professionals
Thousands of technical
articles and resources to
help you deliver
successful solutions
Formal advocacy programs
including the Oracle ACE and Java
Champion programs
Virtual Technology Summits (VTS)
featuring Oracle and community
presenters with hands-on-labs
(available on demand)
87. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
87
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
88. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Product Development IT (PDIT)
• 602 Exadata
• 383 Exalogic
• 69,290 Sun x86 servers
• 6,854 SPARC servers
• 1,768 Sun ZFS appliances
• Thousands of other
systems
88
Supporting enterprise, development IT, cloud and managed hosting at Oracle
924 Oracle Products
135,000 Employees
89. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. 89
PDIT is Modernizing Using Oracle Products
0 50 100 150
Q4 FY12
Q1 FY13
Q2 FY13
Q3 FY13
Q4 FY13
Q1 FY14
Servers per System Admin
0 20 40 60
Q4 FY12
Q1 FY13
Q2 FY13
Q3 FY13
Q4 FY13
Q1 FY14
Storage Devices per Storage Admin
0 1000 2000 3000
Q4 FY12
Q1 FY13
Q2 FY13
Q3 FY13
Q4 FY13
Q1 FY14
TB of Storage per Storage Admin
2.2x 2.8x 3.6x
90. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
How Did PDIT Improve Efficiency by > 2x in 18 Months?
Culture changes enabled by technology
90
Culture
(Campbell Webb, Sr. VP, Oracle)
+ +
Cloud
The Same Products Oracle Sells
Infrastructure
Automation
PaaS
Automation
91. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Other PDIT Changes
91
Standardize Hardware Comprehensive Monitoring (Enterprise Manager)
Standardize Software (N, N-1) CMDB / Asset Management
IaaS (Nimbula/OpenStack) Proactive Monitoring (Enterprise Manager)
Symmetric Test/Prod/DR Environments Offshoring (1 x US + 2 x IDC shifts)
Nearline Backups, Compression, Dedup Maximize Depreciation
VLAN’s => VxLAN’s Defense in Depth Security Posture
Big Data Security Analytics (Hadoop) Centralized Identity Management
Elasticsearch+Logstash+Kibana Analytics Config Management (Chef/Puppet/Enterprise Manager)
Orchestration (Mcollective)
92. Copyright © 2016, 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
Caching
Services
Messaging
Services
Notification
Services
Storage
Services
Application
Store
Identity
Services
Powered By
92
Oracle Cloud is run on Chef
93. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Agenda
93
1 What is DevOps?
2 Why is Now the Time For DevOps?
3 How to Change Your Culture
4 How to Change Your Technology
5 Oracle’s DevOps Product - Developer Cloud Service
6 Mastering DevOps with Oracle
7 Case Study: Oracle’s Internal Embrace of DevOps
8 Case Study: Rakuten
94. Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Oracle Customer Case Study
94
Rakuten - #1 eCommerce vendor in Japan
http://www.slideshare.net/rakutentech/rakuten-techconf2014-c5-ichiba-architecture-on-exalogic
Hinweis der Redaktion Always get the latest copy of this deck from http://my.oracle.com/site/pd/fmw/products/exalogic/Exalogic/cnt2315391.pptx
v4
Published January 27th 2016
Questions? Comments? kelly.goetsch@oracle.com
MTTR = mean time to resolution
MTBF = mean time between failures Features of Developer Cloud Services:
Interfaces are provide for JDeveloper, NetBeans, and Eclipse although Eclipse currently provides the richest experience.
SSH access to the GIT repository
REST Interface support
A dashboard for Developer Cloud Service that provides you with all the details on your projects from developer statistics, collaboration, bug tracking, to Hudson Continuous Integration.
Mylyn which is the task and application lifecycle management (ALM) framework for Eclipse.
Partner interfaces through REST APIs (Tasktop synch, Gira, Bugzilla, GitHub) Key Features:
Application Performance Monitoring
- Real user monitoring: web, mobile
- Server performance monitoring
- Integration with Log Analytics
IT Analytics
- Capacity and resource planning
- Dimensional event analytics
Log Analytics
- Ad hoc search
- Machine Learning based anomaly detection
- Out-of-box dashboards
Benefits
Efficient system management via a “single pane of glass”
Ensure the best quality of service for your Oracle Cloud services
They key to Oracle Management Cloud’s differentiation is its underlying platform.
OMC is built on a horizontally scalable big data platform with high throughput data processing for providing real-time analysis and deep insights across technical and business events. Data in OMC is automatically analyzed using machine learning and is correlated across all OMC services, thereby eliminating multiple information silos across end-user and infrastructure data, enabling faster trouble-shooting and providing the ability to run IT like a business.
Oracle then offers domain-specific services on top of this unified platform that share a common view and definition of the correlated data, eliminating information silos and allowing for comprehensive monitoring, anomaly detection and real-time insight across these huge data sets. The first three Oracle Management Cloud Services were launched at Oracle OpenWorld 2015. They are the Application Performance Monitoring Cloud Service, the Log Analytics Cloud Service and the IT Analytics Cloud Service.
These services can be consumed individually but are especially powerful when used together.
More IT Operations-focused Oracle Management Cloud services will be introduced over time. set PATH=c:\bpm1213\oracle_common\modules\org.apache.maven_3.0.5\bin:%PATH%
cd c:\bpm1213\oracle_common\plugins\maven\com\oracle\maven\oracle-maven-sync\12.1.3
mvn install:install-file -Dfile=oracle-maven-sync-12.1.3.jar -DpomFile=oracle-maven-sync-12.1.3.pom
mvn com.oracle.maven:oracle-maven-sync:push -DoracleHome=c:\bpm1213