OpenStack Online Meetup

21
OpenStack Online Meetup: What is Trove, the Database as a Service on OpenStack? October 14, 2014

description

Ken Rugg recently talked with Rafael Knuth on the OpenStack Online Meetup. Ken provided an overview of the Trove Project along with detailed descriptions of the latest provisioning and management features.

Transcript of OpenStack Online Meetup

Page 1: OpenStack Online Meetup

OpenStack Online Meetup: What is Trove, the Database as a Service on OpenStack? October 14, 2014

Page 2: OpenStack Online Meetup

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

2

Transformation of Cloud Data Management

Page 3: OpenStack Online Meetup

§  Database as a Service for OpenStack §  Self service database provisioning §  Full database lifecycle management §  Multi-database support §  Both Relational and NoSQL

What is OpenStack Trove

Page 4: OpenStack Online Meetup

10/8/2014

What’s OpenStack Trove? Mission statement:

“To  provide  scalable  and  reliable  Cloud  Database  as  a  Service  provisioning  func8onality  for  both  rela8onal  and  non-­‐rela8onal  database  engines,  and  to  con8nue  to  improve  its  fully-­‐featured  and  extensible  open  source  framework.”    

Page 5: OpenStack Online Meetup

§  Designed to run entirely on OpenStack §  Quickly and easily use relational or non-relational database §  Without the burden of complex administrative tasks §  Manage multiple database instances §  Automates admin deployment, configuration, patching,

backups, restores, and monitoring

OpenStack Trove Highlights

Page 6: OpenStack Online Meetup

Keystone  

 Cinder  Volume  

     

 Cinder  Volume  

     

 Cinder  Volume  

     

Nova-­‐N

etworking/N

eutron  trove-­‐api  

trove-­‐conductor  

trove-­‐taskmanager  

 Compute  Instance  

     

Guest  Agent   SQL/NoSQL  

Backup  

Data  

Backup  DB  Backup  

DB  

Backup  Backup  Guest  Image  

Data  Data  

Nova  

Cinder  

SwiC  

Glance  

Message  Bus  

Trove  

Page 7: OpenStack Online Meetup

Trove Multi-Datastore Architecture All datastore specific code isolated to Guest Agents

Message  Bus  

Trove  Controller  

Guest  Agent   Guest  Agent  

Guest  Agent  

Guest  Agent  

Guest  Agent  Trove  

Dashboard  (Horizon)  

Guest  Agent  

Guest  Agent  

Datastore agnostic code in Trove Controller & Dashboard

Guest  Agent  

Guest  Agent  

Page 8: OpenStack Online Meetup

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

•  New API to programmatically set configuration groups

tesora.com  

Managing Trove

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

Management •  Create database / schema •  Create users •  Grant permissions to a User

to a Schema •  Enable root user •  Resize flavor •  Resize volume •  Full and incremental backups

Page 9: OpenStack Online Meetup

§  eBay Private Cloud §  Began mid 2013 §  Multiple Databases §  MySQL, MongoDB, Redis

Cassandra, Couchbase §  Multi-region + HA §  Working on Clustering

§  Public Cloud §  HP Cloud Relational

Database §  Launched May 2012

§  Rackspace Cloud Databases

§  Launched August 2012

Trove Production Deployments

Page 10: OpenStack Online Meetup

§  Key Use Cases §  Development & test §  Web application hosting §  On-demand analytics

§  Critical Capabilities §  Self-service provisioning &

management §  Fleet wide configuration §  Multi-datastore architecture

10

Common Use Cases and Capabilities

Page 11: OpenStack Online Meetup

What does Trove support?

10/8/2014 OpenStack  Meetup:  an  update  on  Trove  

§  Incubated in Havana, integrated in Icehouse §  Supported single instance MySQL, Cassandra, MongoDB, Couchbase

and Redis §  Basic Backup & Restore for MySQL, instance resizing §  Launch instance from backup

§  New in Juno §  Replication (MySQL), Clustering (MongoDB) §  First iteration of PostgreSQL support §  Support for Neutron

Page 12: OpenStack Online Meetup

The Future of Trove §  Planned for Kilo

§  Additional replication and clustering capabilities §  Support for additional databases

§  Looking ahead §  Transitioning from basic infrastructure to a platform §  Enterprise needs: Security, monitoring, metering/billing §  More database support: Oracle, Vertica

Page 13: OpenStack Online Meetup

§  Databases are different §  Different management skillsets §  Requires significant administration §  Each DB with own “personality” §  Many don’t like the cloud §  Rely on other basic systems

§  Trove is different §  Each DB needs own guest agent §  Consistent management across instances §  Images need tuning and customization §  Guest agents more than just drivers §  Trove leverages Nova, Cinder …

What’s Unique About Database as a Service?

Tesora  is  addressing  these  differences  

Page 14: OpenStack Online Meetup

Tesora: The Trove Company §  Enterprise DBaaS Platform

§  Based on Trove §  #1 contributor to Trove project

§  Ten developers on project §  One on Trove core

Trove  Contributors  (Sept  2014)  

Diverse community, but other major contributors are cloud service operators,

not database product specialists

Page 15: OpenStack Online Meetup

Tesora DBaaS Platform                        

OpenStack  Nova,  Cinder,  SwiD,  Heat,  Glance,  Keystone,  Neutron,  Horizon  

Tesora  DBaaS  PlaBorm    Community  EdiFon    

Trove  with  simplified  installa8on  and  management  

       

Tesora  DBaaS  PlaBorm    Enterprise  EdiFon    Adds  enterprise  features,  robustness  and  support  

Trove  OpenStack  DBaaS  Project  

CerFfied  Guest  Images  

Preconfigured  database  images    

               

•  OpOmized  Trove  datastore  images  for  supported  technologies  

•  Tested  for  a  wide  range  of  databases  

•  Works  on  Enterprise  or  Community  EdiOon  

•  Enterprise  features  exposing  capabiliOes  of  underlying  DBs  

•  AutomaOon  for  replicaOon  and  clustering  

•  24/7  Support  with  enterprise  SLAs  

•  Simplified  installaOon  and  configuraOon  

•  Extensive  tesOng  •  Maintenance  and  bug  

fixes  

Page 16: OpenStack Online Meetup

Tesora  Enterprise  Tesora  Community  plus…  

   

• Specialized  features,  high  value  for  some  enterprise  requirements  

Tesora  Community  Trove  plus…  

 

• BeZer  out  of  the  box  experience,  ease  to  implement  DBaas  

Trove  Core  DBaaS  

 

• Upstream  first  development  for  major  new  funcOonality  

Development Lifecycle

ContribuFons  back  to  the  community  

Early  access    to  new  funcFonality  

Specialized    enhancements  

Advanced  features    going  mainstream  

Page 17: OpenStack Online Meetup

Edition Differences OpenStack  Trove   Tesora  DBaaS  PlaBorm  

Community  EdiFon    Tesora  DBaaS  PlaBorm    Enterprise  EdiFon  V1.1    

InstallaFon  and    ConfiguraFon       Automated  installaFon  and  

opFmized  DB  configuraFons  Automated  installaOon  and    opOmized  DB  configuraOons  

Tested  DistribuFons   Devstack   RDO,  RHOS,  Ubuntu   RDO,  RHOS,  Ubuntu  

Enterprise  DBaaS  FuncFonality  

DB  provisioning,  resize,  backup-­‐restore,  user  management    

DB  provisioning,  resize,  backup-­‐restore,  user  management    

DB  provisioning,  resize,    backup-­‐restore,  user  

management,  replicaFon      

Web-­‐based  Management   DB  provisioning,  backup/restore   DB  provisioning,  backup/restore,    mulF-­‐datastore  

DB  provisioning,  mulO-­‐datastore,  resize,  full  and  incremental  

backup/restore  

Technical  Support   Community  forums     Community  forums,  email,      bug  fixes/patches  

24/7  support  with  enterprise  SLAs  ,  bug  fixes/patches  

Page 18: OpenStack Online Meetup

OpenStack Distributions Database Vendors

Tesora OpenStack Database Certification Program

Page 19: OpenStack Online Meetup

Database Certification Levels Basic   Intermediate   Advanced  

Guest  images   ✓ ✓ ✓

Instance  provisioning   ✓ ✓ ✓

Instance  resizing   ✓ ✓ ✓

Full  backup       ✓ ✓

Incremental  backup           ✓

ConfiguraOon  groups           ✓

ReplicaOon           ✓

Database/schema  mgmt           ✓

User/permission  mgmt           ✓

Clustering           Juno  

Page 20: OpenStack Online Meetup

Why Tesora? §  Databases are different §  Trove is different §  Tesora makes Trove easy, robust and interoperable

Page 21: OpenStack Online Meetup

More about Trove

10/8/2014 OpenStack  Meetup:  an  update  on  Trove  

§  Trove Wiki §  https://wiki.openstack.org/wiki/Trove

§  On IRC §  #openstack-trove

§  Trove Day §  Tesora.com/troveday §  Slideshare.net/Tesoracorp

§  LinkedIn §  OpenStack Trove Group

Contact  informaFon  

Contact  Tesora  [email protected]  www.tesora.com  @tesoracorp  

Contact  Ken  [email protected]  www.tesora.com  @kenrugg