SlideShare a Scribd company logo
1 of 27
Introduction to Database as a Service
using OpenStack Trove
February 26, 2015
Kamesh Pemmaraju, Mirantis
Kenneth Rugg, Tesora
Housekeeping
• Plan for 30 minutes plus Q&A
• Lines are muted
• Submit questions through chat
• Being recorded
• Slides and recording available
Welcome
Today’s Speakers
Kamesh Pemmaraju
Director of Partner Marketing
Mirantis
Ken Rugg
CEO
Tesora
An Intro to OpenStack Trove 2
Today’s Agenda
• OpenStack
• OpenStack Trove: Database as a Service
• OpenStack Trove Architecture
• Getting Started
• Database as a Service with Mirantis and Tesora
An Intro to OpenStack Trove 3
OpenStack
• Upstream OpenStack is very complicated
– Many components, configuration, choices
• New releases every 6 months
– How do I keep up?
• No enterprise support
– Who do I call if I have a problem?
• Not easy to deploy or manage
Why do you need an OpenStack Distribution?
An Intro to OpenStack Trove 5
Seven questions to ask about an OpenStack Distribution
1. Is it easy to deploy, operate, and upgrade?
2. Is it reliable, validated, and supported for enterprise-grade deployments?
3. Is it flexible enough to work with multiple operating systems, hypervisors,
databases, storage, and network technologies?
4. Is there premium 24x7 support and expertise available to support it?
5. Is the certification process open and transparent?
6. Does it work with my existing infrastructure?
7. Are there any proprietary hooks or other software or hardware bundling?
An Intro to OpenStack Trove 6
OpenStack Trove: Database as a Service
Traditional IT
• Provisioning by DBA’s
• Database management by specialists
• Waterfall development
• Few large machines/bare metal
• Oracle enterprise licenses
• Captive audience
Cloud
• Self-service provisioning
• Developers manage their own databases
• Agile development
• Many small machines/virtualization
• Many data management technologies
• Competition with AWS
Transformation of Cloud Data Management
An Intro to OpenStack Trove 8
What is OpenStack Trove?
• Database as a Service for OpenStack
• APIs for both development and operations
• Self service database provisioning
• Full database lifecycle management
• Multi-database support
• Both Relational and NoSQL
An Intro to OpenStack Trove 9
RDS for OpenStack …and DynamoDB …and RedShift
An Intro to OpenStack Trove
Amazon AWS OpenStack
EC2
SwiftS3
DynamoDB RedShift
CinderEBS
Nova
…
Trove
RDBMS
NoSQL DW
RDS
…
…and API’s for
DevOPs
OpenStack Trove Mission Statement
“To provide scalable and reliable Cloud Database as a Service
provisioning functionality for both relational and non-
relational database engines, and to continue to improve its
fully-featured and extensible open source framework.”
An Intro to OpenStack Trove 11
Tuning
• Automatically tune my.cnf
• Buffer Pool Size
• Log file size
• max_connections
• Sane defaults
• InnoDB only
• Disable load data infile
• Disable select into outfile
• API to programmatically set
configuration groups
Management
• Create database / schema
• Create users
• Grant permissions to a Schema
• Enable root user
• Resize flavor
• Resize volume
• Full and incremental backups
• Create replica
It’s More than Just Provisioning…
Security
• Security groups
• Turn off SSH
• Remove anonymous user
• Remove non-localhost users
• Remove local file access
• Mangle root user password
• Apply security patches
automatically
An Intro to OpenStack Trove 12
Trove In Production Today
• Public Cloud
– HP Cloud Relational Database
• Launched May 2012
– Rackspace Cloud Databases
• Launched August 2012
An Intro to OpenStack Trove
• Private Cloud: eBay
– Began mid 2013
– Supporting MySQL, MongoDB, Redis
Cassandra, Couchbase
– Multi-region + HA
– Working on Clustering
• Key Use Cases
– Development and test
– Web application hosting
– On-demand analytics
• Critical Capabilities
– Self-service provisioning and mgmt.
– Fleet wide configuration
– Multi-datastore architecture
13
OpenStack Trove Architecture
OpenStack Architecture
OpenStackTrove
An Intro to OpenStack Trove
What is Trove? Multi-Datastore Architecture
An Intro to OpenStack Trove
Datastore agnostic code in Trove
Controller and Dashboard
Datastore specific code isolated to Guest
Agents
Trove
Controller
Guest Agent
Guest Agent
Guest Agent
Guest Agent
Trove
Dashboard
(Horizon)
Guest Agent
Guest Agent
Guest AgentGuest Agent
Getting Started
• As a Trove user
– Download
• Mirantis OpenStack
• Tesora DBaaS platform
• As a Trove developer
$ git clone
http://github.com/openstack/trove
-integration
$ cd trove-integration/scripts
$ ./redstack install
$ ./redstack kick-start mysql
• On top of DevStack
– Add to localrc:
• ENABLED_SERVICES+=,trove,tr
-api,tr-tmgr,tr-cond
– Enable Swift for backup/restore
• ENABLED_SERVICES+=,s-
proxy,s-object,s-
container,s-account
• SWIFT_HASH=<swift-hash-
here>
Getting started with OpenStack Trove
An Intro to OpenStack Trove 18
Provisioning a Database Instance with OpenStack Trove
$ trove create <instance-name> <flavor-id>
--size <volume-size>
• Support for flavors
• Support for volumes using Cinder
• Optional parameters to create
– Image per ‘datastore type’ and ‘version’
– Support AZs using --availability_zone
– Support for Neutron using --nic
An Intro to OpenStack Trove 19
Managing a Database with OpenStack Trove
• Resize flavor
• Resize volume
• Datastore specific extensions:
– Create Database / Schema
– Create Users
– Grant Users Permissions on Databases
• Enable a Root User
An Intro to OpenStack Trove 20
$ trove backup-create
<backup-name> <instance-id>
• Optional params:
– Description through --description
– Incremental backups using –parent
• To Restore backup use create:
$ trove create
<instance-name> <flavor-id>
--size <volume-size>
--backup <backup-id>
• Fully managed
• Triggered and tracked via API
• Streamed to Swift (OpenStack Object
Storage)
• Incremental & full backups
• Multiple formats per datastore
supported via strategies:
– XtraBackup (Percona)
– mysqldump
Backup and Restore with OpenStack Trove
An Intro to OpenStack Trove 21
OpenStack Trove: Completed in Juno (Oct 2014)
• Async MySQL replication (master-slave)
• Clusters for MongoDB
• Neutron Support
• Support for PostgreSQL
• Config-groups enhancements
– Configuration groups per datastore / version
– Config-groups for MongoDB
• Backups for Cassandra and Couchbase
• Additional Tempest tests
An Intro to OpenStack Trove 22
Planned for Kilo (Apr 2015)
• Building out clusters
– Semi Synchronous MySQL clusters (Galera)
• Async Replication v2
– GTID based replication
– Manual failover support
• Associate flavors with datastores
• Access datastore logs via API
• Removing deprecated oslo-incubator code
• Upgrade testing through grenade
An Intro to OpenStack Trove 23
DBaaS with Mirantis and Tesora
Mirantis and Tesora: Pure Play OpenStack and
Enterprise Hardened Database as a Service
An Intro to OpenStack Trove
Easy to Deploy
and Use
Extensive
Testing
World Class
Support
From #1 Trove
Contributor
More Trove
Features, Earlier
25
Getting Started with Mirantis OpenStack
• Deploy a Mirantis OpenStack POC
– Download Mirantis OpenStack / Fuel ISO
• https://software.mirantis.com/
– Install the Fuel master to a VM or to bare metal
– Register for 30 days of complimentary support from within the Fuel GUI
• Documentation for planning, deployment and administration
– http://docs.mirantis.com/openstack/fuel/fuel-6.0/
• Deploy Mirantis OpenStack to VMs on a laptop using the ISO, the VirtualBox
hypervisor and the scripts
– https://software.mirantis.com/quick-start/
An Intro to OpenStack Trove 26
Thank you for joining us!
• OpenStack Trove resources:
– Trove Wiki
• https://wiki.openstack.org/wiki/Trove
– Trove Source
• https://git.openstack.org/cgit/openstack/trove
– Installable Trove packages from Tesora
• http://Tesora.com/software
– IRC
• #openstack-trove
– Trove Day
• http://Tesora.com/troveday
• http://Slideshare.net/Tesoracorp
– LinkedIn
• OpenStack Trove Group
Contact information
Tesora
Ken Rugg
@kenrugg
krugg@tesora.com
www.tesora.com
Mirantis
Kamesh Pemmaraju
@kpemmaraju
kpemmaraju@mirantis.com
www.mirantis.com
An Intro to OpenStack Trove 27

More Related Content

What's hot

Build public private cloud using openstack
Build public private cloud using openstackBuild public private cloud using openstack
Build public private cloud using openstack
Framgia Vietnam
 
Enhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world applicationEnhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world application
openstackindia
 
Hybrid cloud federation
Hybrid cloud federationHybrid cloud federation
Hybrid cloud federation
openstackindia
 
20140509 cern open_stack_linuxtag_v3
20140509 cern open_stack_linuxtag_v320140509 cern open_stack_linuxtag_v3
20140509 cern open_stack_linuxtag_v3
Tim Bell
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Mirantis
 

What's hot (20)

The latest with MySql on OpenStack Trove
The latest with MySql on OpenStack TroveThe latest with MySql on OpenStack Trove
The latest with MySql on OpenStack Trove
 
An introduction to database as-a-service with open stack trove
An introduction to database as-a-service with open stack troveAn introduction to database as-a-service with open stack trove
An introduction to database as-a-service with open stack trove
 
OpenStack Momentum
OpenStack  MomentumOpenStack  Momentum
OpenStack Momentum
 
Open stack Austin meetup January 15, 2015
Open stack Austin meetup January 15, 2015Open stack Austin meetup January 15, 2015
Open stack Austin meetup January 15, 2015
 
Tesora DBaaS Platform Product Overview
Tesora DBaaS Platform Product OverviewTesora DBaaS Platform Product Overview
Tesora DBaaS Platform Product Overview
 
The Future of Trove
The Future of TroveThe Future of Trove
The Future of Trove
 
Build public private cloud using openstack
Build public private cloud using openstackBuild public private cloud using openstack
Build public private cloud using openstack
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
OpenStack and private cloud
OpenStack and private cloudOpenStack and private cloud
OpenStack and private cloud
 
Enhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world applicationEnhancing OpenStack FWaaS for real world application
Enhancing OpenStack FWaaS for real world application
 
Hybrid cloud federation
Hybrid cloud federationHybrid cloud federation
Hybrid cloud federation
 
OpenStack Data Processing ("Sahara") project update - December 2014
OpenStack Data Processing ("Sahara") project update - December 2014OpenStack Data Processing ("Sahara") project update - December 2014
OpenStack Data Processing ("Sahara") project update - December 2014
 
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStackContainers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
 
20140509 cern open_stack_linuxtag_v3
20140509 cern open_stack_linuxtag_v320140509 cern open_stack_linuxtag_v3
20140509 cern open_stack_linuxtag_v3
 
Designing OpenStack Architectures
Designing OpenStack ArchitecturesDesigning OpenStack Architectures
Designing OpenStack Architectures
 
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
 
CloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community worksCloudStack Hyderabad Meetup: How the Apache community works
CloudStack Hyderabad Meetup: How the Apache community works
 
Learning to Scale OpenStack
Learning to Scale OpenStackLearning to Scale OpenStack
Learning to Scale OpenStack
 
A deep dive into trove: Scale 13x Linux Expo 2/22/15
A deep dive into trove: Scale 13x Linux Expo 2/22/15A deep dive into trove: Scale 13x Linux Expo 2/22/15
A deep dive into trove: Scale 13x Linux Expo 2/22/15
 
An Introduction to OpenStack
An Introduction to OpenStackAn Introduction to OpenStack
An Introduction to OpenStack
 

Similar to Webinar: Intro to Trove_Mirantis_26_feb2015

Similar to Webinar: Intro to Trove_Mirantis_26_feb2015 (20)

Tesora: Managing Cassandra Databases with OpenStack Trove
Tesora: Managing Cassandra Databases with OpenStack TroveTesora: Managing Cassandra Databases with OpenStack Trove
Tesora: Managing Cassandra Databases with OpenStack Trove
 
Managing Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack TroveManaging Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack Trove
 
What is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - KangarootWhat is the OpenStack Platform? By Peter Dens - Kangaroot
What is the OpenStack Platform? By Peter Dens - Kangaroot
 
OpenStack 101
OpenStack 101OpenStack 101
OpenStack 101
 
OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015OpenStack 101 - All Things Open 2015
OpenStack 101 - All Things Open 2015
 
Oct meetup open stack 101 clean
Oct meetup open stack 101   cleanOct meetup open stack 101   clean
Oct meetup open stack 101 clean
 
Cloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: OpenstackCloud Architect Alliance #15: Openstack
Cloud Architect Alliance #15: Openstack
 
OpenStack Online Meetup
OpenStack Online MeetupOpenStack Online Meetup
OpenStack Online Meetup
 
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 Openstack - An introduction/Installation - Presented at Dr Dobb's conference... Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
Openstack - An introduction/Installation - Presented at Dr Dobb's conference...
 
Trove Updates - Liberty Edition
Trove Updates - Liberty EditionTrove Updates - Liberty Edition
Trove Updates - Liberty Edition
 
Openstack trove-updates
Openstack trove-updatesOpenstack trove-updates
Openstack trove-updates
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
 
Trove Updates - Kilo Edition
Trove Updates - Kilo EditionTrove Updates - Kilo Edition
Trove Updates - Kilo Edition
 
OpenStack London Meetup, 18 Nov 2015
OpenStack London Meetup, 18 Nov 2015OpenStack London Meetup, 18 Nov 2015
OpenStack London Meetup, 18 Nov 2015
 
Container Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher KubernetesContainer Conf 2017: Rancher Kubernetes
Container Conf 2017: Rancher Kubernetes
 
Chef for OpenStack December 2012
Chef for OpenStack December 2012Chef for OpenStack December 2012
Chef for OpenStack December 2012
 
Lessons Learned Running The Largest OpenStack Clouds
Lessons Learned Running The Largest OpenStack CloudsLessons Learned Running The Largest OpenStack Clouds
Lessons Learned Running The Largest OpenStack Clouds
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware Administrators
 
Developing on OpenStack Startup Edmonton
Developing on OpenStack Startup EdmontonDeveloping on OpenStack Startup Edmonton
Developing on OpenStack Startup Edmonton
 
OpenStack: Toward a More Resilient Cloud
OpenStack: Toward a More Resilient CloudOpenStack: Toward a More Resilient Cloud
OpenStack: Toward a More Resilient Cloud
 

More from Tesora

More from Tesora (20)

Model-Driven Operations
Model-Driven OperationsModel-Driven Operations
Model-Driven Operations
 
What's Next for OpenStack at Walmart
What's Next for OpenStack at WalmartWhat's Next for OpenStack at Walmart
What's Next for OpenStack at Walmart
 
OpenStack: Upstream First
OpenStack: Upstream FirstOpenStack: Upstream First
OpenStack: Upstream First
 
All of the Amazing OpenStack Resources
All of the Amazing OpenStack ResourcesAll of the Amazing OpenStack Resources
All of the Amazing OpenStack Resources
 
What's the TCO for an OpenStack Cloud?
What's the TCO for an OpenStack Cloud? What's the TCO for an OpenStack Cloud?
What's the TCO for an OpenStack Cloud?
 
OpenStack: Past, Present, and Future
OpenStack: Past, Present, and FutureOpenStack: Past, Present, and Future
OpenStack: Past, Present, and Future
 
VMware and Container Orchestration
VMware and Container OrchestrationVMware and Container Orchestration
VMware and Container Orchestration
 
OpenStack Management at Hyperscale
OpenStack Management at HyperscaleOpenStack Management at Hyperscale
OpenStack Management at Hyperscale
 
Stateful Applications On the Cloud: A PayPal Journey
Stateful Applications On the Cloud: A PayPal JourneyStateful Applications On the Cloud: A PayPal Journey
Stateful Applications On the Cloud: A PayPal Journey
 
So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What? So Your OpenStack Cloud is Built...Now What?
So Your OpenStack Cloud is Built...Now What?
 
Secrets of Success: Building Community Through Meetups
Secrets of Success: Building Community Through Meetups Secrets of Success: Building Community Through Meetups
Secrets of Success: Building Community Through Meetups
 
The State of OpenStack Product Management
The State of OpenStack Product ManagementThe State of OpenStack Product Management
The State of OpenStack Product Management
 
OpenStack in the Enterprise
OpenStack in the EnterpriseOpenStack in the Enterprise
OpenStack in the Enterprise
 
OpenStack by the Numbers
OpenStack by the NumbersOpenStack by the Numbers
OpenStack by the Numbers
 
Running OpenStack in Production
Running OpenStack in ProductionRunning OpenStack in Production
Running OpenStack in Production
 
Leveraging OpenStack to Run Mesos/Marathon at Charter Communications
Leveraging OpenStack to Run Mesos/Marathon at Charter CommunicationsLeveraging OpenStack to Run Mesos/Marathon at Charter Communications
Leveraging OpenStack to Run Mesos/Marathon at Charter Communications
 
Consuming Cinder from Docker
Consuming Cinder from DockerConsuming Cinder from Docker
Consuming Cinder from Docker
 
Bridging OpenStack and Mobile Cloud
Bridging OpenStack and Mobile CloudBridging OpenStack and Mobile Cloud
Bridging OpenStack and Mobile Cloud
 
OpenStack at Scale Inside NetApp
OpenStack at Scale Inside NetAppOpenStack at Scale Inside NetApp
OpenStack at Scale Inside NetApp
 
OpenStack at Bloomberg
OpenStack at BloombergOpenStack at Bloomberg
OpenStack at Bloomberg
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

Webinar: Intro to Trove_Mirantis_26_feb2015

  • 1. Introduction to Database as a Service using OpenStack Trove February 26, 2015 Kamesh Pemmaraju, Mirantis Kenneth Rugg, Tesora
  • 2. Housekeeping • Plan for 30 minutes plus Q&A • Lines are muted • Submit questions through chat • Being recorded • Slides and recording available Welcome Today’s Speakers Kamesh Pemmaraju Director of Partner Marketing Mirantis Ken Rugg CEO Tesora An Intro to OpenStack Trove 2
  • 3. Today’s Agenda • OpenStack • OpenStack Trove: Database as a Service • OpenStack Trove Architecture • Getting Started • Database as a Service with Mirantis and Tesora An Intro to OpenStack Trove 3
  • 5. • Upstream OpenStack is very complicated – Many components, configuration, choices • New releases every 6 months – How do I keep up? • No enterprise support – Who do I call if I have a problem? • Not easy to deploy or manage Why do you need an OpenStack Distribution? An Intro to OpenStack Trove 5
  • 6. Seven questions to ask about an OpenStack Distribution 1. Is it easy to deploy, operate, and upgrade? 2. Is it reliable, validated, and supported for enterprise-grade deployments? 3. Is it flexible enough to work with multiple operating systems, hypervisors, databases, storage, and network technologies? 4. Is there premium 24x7 support and expertise available to support it? 5. Is the certification process open and transparent? 6. Does it work with my existing infrastructure? 7. Are there any proprietary hooks or other software or hardware bundling? An Intro to OpenStack Trove 6
  • 8. Traditional IT • Provisioning by DBA’s • Database management by specialists • Waterfall development • Few large machines/bare metal • Oracle enterprise licenses • Captive audience Cloud • Self-service provisioning • Developers manage their own databases • Agile development • Many small machines/virtualization • Many data management technologies • Competition with AWS Transformation of Cloud Data Management An Intro to OpenStack Trove 8
  • 9. What is OpenStack Trove? • Database as a Service for OpenStack • APIs for both development and operations • Self service database provisioning • Full database lifecycle management • Multi-database support • Both Relational and NoSQL An Intro to OpenStack Trove 9
  • 10. RDS for OpenStack …and DynamoDB …and RedShift An Intro to OpenStack Trove Amazon AWS OpenStack EC2 SwiftS3 DynamoDB RedShift CinderEBS Nova … Trove RDBMS NoSQL DW RDS … …and API’s for DevOPs
  • 11. OpenStack Trove Mission Statement “To provide scalable and reliable Cloud Database as a Service provisioning functionality for both relational and non- relational database engines, and to continue to improve its fully-featured and extensible open source framework.” An Intro to OpenStack Trove 11
  • 12. Tuning • Automatically tune my.cnf • Buffer Pool Size • Log file size • max_connections • Sane defaults • InnoDB only • Disable load data infile • Disable select into outfile • API to programmatically set configuration groups Management • Create database / schema • Create users • Grant permissions to a Schema • Enable root user • Resize flavor • Resize volume • Full and incremental backups • Create replica It’s More than Just Provisioning… Security • Security groups • Turn off SSH • Remove anonymous user • Remove non-localhost users • Remove local file access • Mangle root user password • Apply security patches automatically An Intro to OpenStack Trove 12
  • 13. Trove In Production Today • Public Cloud – HP Cloud Relational Database • Launched May 2012 – Rackspace Cloud Databases • Launched August 2012 An Intro to OpenStack Trove • Private Cloud: eBay – Began mid 2013 – Supporting MySQL, MongoDB, Redis Cassandra, Couchbase – Multi-region + HA – Working on Clustering • Key Use Cases – Development and test – Web application hosting – On-demand analytics • Critical Capabilities – Self-service provisioning and mgmt. – Fleet wide configuration – Multi-datastore architecture 13
  • 16. What is Trove? Multi-Datastore Architecture An Intro to OpenStack Trove Datastore agnostic code in Trove Controller and Dashboard Datastore specific code isolated to Guest Agents Trove Controller Guest Agent Guest Agent Guest Agent Guest Agent Trove Dashboard (Horizon) Guest Agent Guest Agent Guest AgentGuest Agent
  • 18. • As a Trove user – Download • Mirantis OpenStack • Tesora DBaaS platform • As a Trove developer $ git clone http://github.com/openstack/trove -integration $ cd trove-integration/scripts $ ./redstack install $ ./redstack kick-start mysql • On top of DevStack – Add to localrc: • ENABLED_SERVICES+=,trove,tr -api,tr-tmgr,tr-cond – Enable Swift for backup/restore • ENABLED_SERVICES+=,s- proxy,s-object,s- container,s-account • SWIFT_HASH=<swift-hash- here> Getting started with OpenStack Trove An Intro to OpenStack Trove 18
  • 19. Provisioning a Database Instance with OpenStack Trove $ trove create <instance-name> <flavor-id> --size <volume-size> • Support for flavors • Support for volumes using Cinder • Optional parameters to create – Image per ‘datastore type’ and ‘version’ – Support AZs using --availability_zone – Support for Neutron using --nic An Intro to OpenStack Trove 19
  • 20. Managing a Database with OpenStack Trove • Resize flavor • Resize volume • Datastore specific extensions: – Create Database / Schema – Create Users – Grant Users Permissions on Databases • Enable a Root User An Intro to OpenStack Trove 20
  • 21. $ trove backup-create <backup-name> <instance-id> • Optional params: – Description through --description – Incremental backups using –parent • To Restore backup use create: $ trove create <instance-name> <flavor-id> --size <volume-size> --backup <backup-id> • Fully managed • Triggered and tracked via API • Streamed to Swift (OpenStack Object Storage) • Incremental & full backups • Multiple formats per datastore supported via strategies: – XtraBackup (Percona) – mysqldump Backup and Restore with OpenStack Trove An Intro to OpenStack Trove 21
  • 22. OpenStack Trove: Completed in Juno (Oct 2014) • Async MySQL replication (master-slave) • Clusters for MongoDB • Neutron Support • Support for PostgreSQL • Config-groups enhancements – Configuration groups per datastore / version – Config-groups for MongoDB • Backups for Cassandra and Couchbase • Additional Tempest tests An Intro to OpenStack Trove 22
  • 23. Planned for Kilo (Apr 2015) • Building out clusters – Semi Synchronous MySQL clusters (Galera) • Async Replication v2 – GTID based replication – Manual failover support • Associate flavors with datastores • Access datastore logs via API • Removing deprecated oslo-incubator code • Upgrade testing through grenade An Intro to OpenStack Trove 23
  • 24. DBaaS with Mirantis and Tesora
  • 25. Mirantis and Tesora: Pure Play OpenStack and Enterprise Hardened Database as a Service An Intro to OpenStack Trove Easy to Deploy and Use Extensive Testing World Class Support From #1 Trove Contributor More Trove Features, Earlier 25
  • 26. Getting Started with Mirantis OpenStack • Deploy a Mirantis OpenStack POC – Download Mirantis OpenStack / Fuel ISO • https://software.mirantis.com/ – Install the Fuel master to a VM or to bare metal – Register for 30 days of complimentary support from within the Fuel GUI • Documentation for planning, deployment and administration – http://docs.mirantis.com/openstack/fuel/fuel-6.0/ • Deploy Mirantis OpenStack to VMs on a laptop using the ISO, the VirtualBox hypervisor and the scripts – https://software.mirantis.com/quick-start/ An Intro to OpenStack Trove 26
  • 27. Thank you for joining us! • OpenStack Trove resources: – Trove Wiki • https://wiki.openstack.org/wiki/Trove – Trove Source • https://git.openstack.org/cgit/openstack/trove – Installable Trove packages from Tesora • http://Tesora.com/software – IRC • #openstack-trove – Trove Day • http://Tesora.com/troveday • http://Slideshare.net/Tesoracorp – LinkedIn • OpenStack Trove Group Contact information Tesora Ken Rugg @kenrugg krugg@tesora.com www.tesora.com Mirantis Kamesh Pemmaraju @kpemmaraju kpemmaraju@mirantis.com www.mirantis.com An Intro to OpenStack Trove 27

Editor's Notes

  1. { "instance": { "status": "BUILD", "updated": "2014-06-05T19:33:46", "name": "test", "links": [ { "href": "https://region-a.geo-1.database.hpcloudsvc.com/v1.0/39745227274204/instances/ce629494-a64d-41ed-b73c-04cb28bb33bb", "rel": "self" }, { "href": "https://region-a.geo-1.database.hpcloudsvc.com/instances/ce629494-a64d-41ed-b73c-04cb28bb33bb", "rel": "bookmark" } ], "created": "2014-06-05T19:33:46", "id": "ce629494-a64d-41ed-b73c-04cb28bb33bb", "flavor": { "id": "1002", "links": [ { "href": "https://region-a.geo-1.database.hpcloudsvc.com/v1.0/39745227274204/flavors/1002", "rel": "self" }, { "href": "https://region-a.geo-1.database.hpcloudsvc.com/flavors/1002", "rel": "bookmark" } ] }, "datastore": { "version": "5.5", "type": "mysql" } } }