Trove was integrated into the IceHouse release of OpenStack to provision and manage databases in an OpenStack Cloud. With Trove developers can spin up a database instance on-demand in an instant.
Please sign up for upcoming OpenStack Online Meetups: http://www.meetup.com/OpenStack-Online-Meetup/
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
What is Trove, the Database as a Service on OpenStack?
1. OpenStack Online Meetup:
What is Trove, the Database as a
S ervice on OpenStack?
October 14, 2014
2. 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
3. What is OpenStack Trove
§ Database as a Service for OpenStack
§ Self service database provisioning
§ Full database lifecycle management
§ Multi-database support
§ Both Relational and NoSQL
4. 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.”
10/8/2014
5. OpenStack Trove Highlights
§ 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
6. Keystone
Cinder
Volume
Cinder
Volume
Cinder
Volume
Nova-‐Networking/Neutron
trove-‐api
trove-‐
taskmanager
trove-‐conductor
Compute
Instance
Guest
Agent
SQL/NoSQL
Data
DDaatata
Backup
DBBa
cBkaucpk
up
DB
BBacakcukupp
Guest
Image
Nova
Cinder
SwiC
Glance
Message
Bus
Trove
7. Trove Multi-Datastore Architecture
All datastore specific code
isolated to Guest Agents
Trove
Controller
Message
Bus
Guest
Agent
Guest
Agent
Guest
Agent
Guest
Agent
Trove
Dashboard
(Horizon)
Guest
Agent
Guest
Agent
Datastore agnostic code in Trove
Controller & Dashboard
Guest
Agent
8. 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
9. Trove Production Deployments
§ 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
10. § 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
11. What does Trove support?
§ 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
10/8/2014 OpenStack
Meetup:
an
update
on
Trove
12. 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
13. What’s Unique About Database as a Service?
§ 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 …
Tesora
is
addressing
these
differences
14. 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
15. Tesora DBaaS Platform
Tesora
DBaaS
PlaBorm
Enterprise
EdiFon
Adds
enterprise
features,
robustness
and
support
Tesora
DBaaS
PlaBorm
Community
EdiFon
Trove
with
simplified
installa8on
and
management
Trove
OpenStack
DBaaS
Project
OpenStack
CerFfied
Guest
Images
Preconfigured
database
images
Nova,
Cinder,
SwiD,
Heat,
Glance,
Keystone,
Neutron,
Horizon
• 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
16. Advanced
features
going
mainstream
Tesora
Enterprise
Tesora
Community
plus…
• Specialized
features,
high
value
for
some
enterprise
requirements
ContribuFons
back
to
the
community
Tesora
Community
Trove
plus…
• BeZer
out
of
the
box
experience,
ease
to
implement
DBaas
Development Lifecycle
Trove
Core
DBaaS
• Upstream
first
development
for
major
new
funcOonality
Early
access
to
new
funcFonality
Specialized
enhancements
17. 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