DevOps for Database

Share Embed Donate


Short Description

As DevOps evolving for DB landscape day by day and it is becoming very import for DBA and database developers to start a...

Description

DevOps For Database Infra SCG | | 24th Sep2016

 Agenda 1. Take Away  2. Brief – What & Why DevOps? 3. DBA/Developers Gain Efficiency with DevOps 4. DevOps Tools to automate DB activities 5. Case Study 6.  Appendix 7. Questions / Feedback 

Take Away 

    

High level understanding of DevOps, CD and database DevOps How tools are helping to gain efficiency in operations Brief about DevOps tools which can help database automations Database DevOps tools comparison Overview of implementation for automation of DBCR using GIT, Jenkins,  ANT and Sonar

Brief Bri ef - Dev DevOps Ops / CD/ DBDe DBDevOps vOps

What is DevOps

5

What is DevOps No matter what you think of the DevOps movement, two things are certain: The full definition of “DevOps” can be remarkably hard to pin down,  but the basic premise of development development and operations collaborating closely leads to higher quality applications. DevOps is a respons DevOps responsee to a continua continuall frustration: a lack of collaboration and communication between development and operations on software projects that increase the cost , time and labor involved in delivering and maintaining software systems.

OPs

Dev 

Biz

 Agile

DevOps

DevOps DevO ps is compleme complementary ntary to Agile

6

Continuous Delivery Continuous Delivery (CD) is the automated implementation of build, deploy , test , release and monitoring processes.

CD approach involves continuous automation of build, deployment, testing & release activities with the following goals To make the process efficient & reliable Make process more visible Enable automated testing Ensure quality is built into the process

7

What DevOps Means To Database  With DevOps gaining momentum , DBAs and database developers need to include database in the continuation process. DevOps for Database requires best practices just like l ike source code. •

Deployment practices need to be enforced



 Version control needs to be enforced



 Automated notifications and red flags



Safe automation process needs to be deployed



Environment provisioning with wi th standards

8

What DevOps Means To Database The key driver driver to DevOp DevOpss moveme movement nt is the tradition traditional al tension tension between between develo dev eloper perss and and IT ope operat ration ions: s: •



Developers want continuous enhancement and releasing of software for meeting schedule targets IT operations want stability and controlled change change for meeting meeting reliability, low risk and and high performance performance targets. targets. In particular, DBAs are used used to rigorously manage the hardware behind their instances, stewarding previous data, and cautiously examining code to prevent that late night unplanned outage.

So, DevO DevOps ps is an approach approach intended intended to remove remove the conflicts conflicts of those those two groups and to provide stabilizing delivery via common objectives, roadmaps and finally effective collaboration.

9

What DevOps Means To Database

Application Life Cycle

Requirement Gathering

Design

Code Reviews

Deployment

DB

DBA without DevOps

DBA With DevOps

10

DBA/Developers Gain Efficiency with DevOps

What is Tending?  Adopting DevOps principals principals Increasing interest in Open Source automation (chef, puppet .. ) Forward thinking with technolog technologies ies hybrid mind-set Single click application deployment’s  Automation & Cloud adoption adoption & DbaaS Increasing focus on standardization Design new age of automation with administrators administrators Shifting towards workflow design and runbooks implement implementation ation

*Some content is powered from http://www.oracle.co http://www.oracle.com/technetwork/oem/framework-infra/con9731-em12-devopsemcli-2805387.pdf  m/technetwork/oem/framework-infra/con9731-em12-devopsemcli-2805387.pdf 

DevOps For Developers Code Commit Build

Developer

QoS

Report

Build finalization

Repos..

Deployment Life Cycle (DLM)

QoS

Deploy 

Performance

Envs..

Code Coverage

 Automation

DBAs Life With & Without DevOps Past

Now 



 High lead time for enabling enabling hardware hardware resources resources



 More standardization standardization of of processes



 More resources resources required to perform complex complex tasks



 Less time to enabling hardware hardware resources



 Small market market for Open Open Source tools



 Less resources resources required to perform complex complex tasks



 Less & non-trusted non-trusted automation automation



 Abundance of Open Source tools tools in market  market 



 More opportunities opportunities for human human errors





 Specialized  Specialized knowledge bank



 Less chances chances of human errors errors



 Less ROI of resources



 High ROI of resources



 Less handshake handshake b/w Dev & Ops



 More handshake handshake b/w Dev & Ops

Organized and trusted automation

DevOps For DBAs There are lot many activities which can be brought under DevOps umbrella from database admin perspective . Activities which I could think off are.. Setups and configurations Database instance provisioning Database refresh and cloning Reporting Backups etc….

DevOps Tools

DevOps Tools Market Map

DB-DevOps Tools By Popularity Tool Name

Description

Dbmaestro

DBmaestro enables Agile Agile development development and Continuous Integration and Delivery for the Database.

LIQUI Base

Liquibase is an open source source database-independent database-independent library library for tracking, managing and applying database schema changes.

Datical

Datical creates database database schema automation automation software for for the enterprise IT Systems Management market.

Flyway 

Flyway is an open-source database migration tool. It strongly favors simplicity and convention over configuration.

DBDe DB Depl ploy oy An Antt

DBdeploy  is a Database Change Management tool. It’s for DBdeploy is developers or DBAs who want to evolve their database design

Jenkins

Jenkin Jenk inss is an open source continuous integration tool written in Java Java..

Chef 

Chef is a configuration management tool written Chef in Ruby  Ruby and and Erlang Erlang..

DB-DevOps Tools Comparison  Attached is the snapshot of comparison of popular tools in DB DevOps landscape. landscape.  Also refer to https://xebialabs.com/

Case Study 

Project DBCR Deployment Automation Code Commit Build using Jenkins …

Developer

QoS by QoS Sonar and Junit..

Report by sonar..

Build finalization using Jenkins..

GIT as Repos..

Deployment Life Cycle (DLM) Using dbdeployant.xml

QoS

INT Deploy 

Performance

UAT UA T Code Coverage Production

 Automation

 Appendix

Old Vs New

Survey Report

http://www.rightscale.com/blog/cloud-industry-insights/new-devops-trends-2016-state-cloud-survey 

VALUE REALIZATION

DevOps Plan

    e     u       l     a     v

Code

Build

Test

Release

Deploy

Operate

Continuous Delivery  Continuous Integration  Agile Development collaboration

Value Valu e realization by collaboration & continuous improvement with w ith time

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF