SlideShare a Scribd company logo
1 of 58
HX111 OpenStack Database as a
Service
Version 12c1c1e
Copyright © 2014 hastexo Professional Services GmbH
An Introduction to
Database-as-a-
Service
HX111 OpenStack Database as a Service
FROM IAAS TO PAAS
"A step up the stack"
HX111.1 An Introduction to Database-as-a-Service
EVERYONE NEEDS A
DATABASE...
Well, almost everyone.
HX111.1 An Introduction to Database-as-a-Service
... BUT DOES EVERYONE NEED
TO BUILD THEIR OWN?
• Platform/Distribution Support
• System Tuning Idiosyncrasies
• Flavors, Forks, Branches
HX111.1 An Introduction to Database-as-a-Service
WHAT'S SPECIAL ABOUT THE
CLOUD?
• Little to no control over infrastructure
• Everything is virtualized and orchestrated
• QoS is limited
HX111.1 An Introduction to Database-as-a-Service
ONE APPROACH
The DBA now becomes a cloud operator.
But that's rather undesirable.
HX111.1 An Introduction to Database-as-a-Service
THE ALTERNATIVE: DBAAS
Provides a database as a service
HX111.1 An Introduction to Database-as-a-Service
PRECEDENT: AMAZON RDS
Reliable Database Service: DBaaS for Amazon Web Services
HX111.1 An Introduction to Database-as-a-Service
An Introduction to
OpenStack Trove
HX111 OpenStack Database as a Service
MOTIVATION
Provide DBaaS within the OpenStack framework
HX111.2 An Introduction to OpenStack Trove
A BIT OF PROJECT HISTORY
• Originally named Reddwarf (alternatively RedDwarf)
• First public presentation at Percona Live 2012 by Brian
Aker
• Renamed Trove in 2013
HX111.2 An Introduction to OpenStack Trove
RELEASE HISTORY
• Incubated until Havana release (October 2013)
• Graduated shortly before Icehouse Summit
• Integrated in Icehouse release (April 2014)
HX111.2 An Introduction to OpenStack Trove
CONTRIBUTORS AND
SUPPORTERS
• Original project sponsor: Hewlett-Packard
• Current major backers: eBay, HP, Rackspace
• More than 75 individual contributors
• Current PTL: Michael Basnight, Rackspace
HX111.2 An Introduction to OpenStack Trove
Trove's Moving Parts
HX111 OpenStack Database as a Service
MULTIPLE MANAGEABLE PIECES
OpenStack Abhors A Monolith
HX111.3 Trove's Moving Parts
WHAT TROVE BUILDS UPON
• Keystone: authentication, authorization, access control
• Nova: compute
• Cinder: persistent storage
• Neutron or nova-network: networking
HX111.3 Trove's Moving Parts
WHAT TROVE CONSISTS OF
• trove-api: ReSTful API service
• trove-taskmanager: implements API service calls and
fires up guest
• trove-guestagent: configures guest for datastore use
HX111.3 Trove's Moving Parts
TROVE TERMINOLOGY
• Datastore
• Datastore version
• Instance
• Configuration Group
• Database
HX111.3 Trove's Moving Parts
DATASTORE
A specific RDBMS or NoSQL datastore that Trove can manage:
• MySQL
• MongoDB
• Cassandra
• ...
HX111.3 Trove's Moving Parts
DATASTORE VERSION
• Is linked to datastore
• Defines base image
• Defines sets of packages to be installed
HX111.3 Trove's Moving Parts
INSTANCE
• Is one incarnation of a datastore version
• Is managed by Nova and uses persistent volumes
managed in Cinder
• Runs a full OS plus trove-guestagent
HX111.3 Trove's Moving Parts
CONFIGURATION GROUP
• A set of configuration options you can set for an instance
• Enables admins to define and use best-practice
configurations for specific use cases
HX111.3 Trove's Moving Parts
DATABASES
• Several can run in one instance
• All database management is through OpenStack APIs
and trove-guestagent
HX111.3 Trove's Moving Parts
GETTING TROVE OPERATIONAL
• Install required OpenStack services
• Install Trove services
• Prepare an image
• Create a datastore
• Create a datastore version
HX111.3 Trove's Moving Parts
DEPLOYING TROVE
• Low maturity
• DevStack/Redstack
• Ubuntu packages in trusty (but not in Cloud Archive)
• Only client packages in RDO
• Puppet modules being worked on at eBay
HX111.3 Trove's Moving Parts
Working With Trove
HX111 OpenStack Database as a Service
GETTING STARTED
So we've installed Trove.
What's Next?
HX111.4 Working With Trove
LISTING DATASTORES
trove datastore -list
Lists currently configured datastores
HX111.4 Working With Trove
LISTING VERSIONS FOR A
DATASTORE
trove datastore -version -list <datastore -name>
Lists currently configured versions for a datastore
HX111.4 Working With Trove
GETTING DETAILS FOR A
DATASTORE VERSION
trove datastore -version -show 
--datastore <name> <version -id>
HX111.4 Working With Trove
CREATING A DATASTORE
trove-manage datastore_update "<name >" ""
HX111.4 Working With Trove
CREATING A DATASTORE
VERSION
trove-manage datastore_version_update 
"<name >" 
"<versionname >" 
"<type >" 
"<imageid >" 
"<packagelist >" 
{0|1}
HX111.4 Working With Trove
SETTING A DEFAULT VERSION
FOR A DATASTORE
trove-manage datastore_update "<name >" "<versionname >"
HX111.4 Working With Trove
CREATING AN INSTANCE
trove create <instancename > 
<flavor > 
--size <size> 
--datastore <name> 
--datastore_version <versionname > 
--nic net-id=<net-id>
HX111.4 Working With Trove
WHAT DOES TROVE CREATE DO?
• Allocate persistent storage space (through Cinder)
• Create a new guest (through Nova)
HX111.4 Working With Trove
WHAT HAPPENS WHEN THE
INSTANCE BOOTS?
• cloud-init (as always)
• trove-guestagent
HX111.4 Working With Trove
LISTING CONFIGURED
INSTANCES
trove list
HX111.4 Working With Trove
GETTING DETAILS FOR AN
INSTANCE
trove show <instanceid >
HX111.4 Working With Trove
LISTING DATABASES IN AN
INSTANCE
trove database -list <instanceid >
HX111.4 Working With Trove
CREATING A DATABASE
trove database -create <instanceid > <dbname >
HX111.4 Working With Trove
CREATING A USER AND
ENABLING DATABASE ACCESS
trove user-create 
<instanceid > 
<username > 
<password > 
[--host=<host >] 
[--databases=<db1>,<db2>,...]
HX111.4 Working With Trove
GRANTING USER ACCESS
trove user-grant-access 
<instanceid > 
<username > 
<password > 
<db1>,<db2>,... 
[--host=<host >]
HX111.4 Working With Trove
ENABLING ROOT ACCESS
trove root-enable 
<instanceid >
HX111.4 Working With Trove
CONFIGURATION GROUPS
Configuration groups allow DBAs to set configuration options,
in bulk, on one or multiple databases
HX111.4 Working With Trove
CREATING A CONFIGURATION
GROUP
trove configuration -create <name> 
'{ <values > }' 
[--description <description >]
HX111.4 Working With Trove
SETTING PARAMETERS
Parameters are a JSON dictionary
{ "<key>": "<string >", "<key>": <int>, ... }
HX111.4 Working With Trove
LISTING SUPPORTED
CONFIGURATION PARAMETERS
trove configuration -parameter -list <datastore -version -id>
HX111.4 Working With Trove
ATTACHING A CONFIGURATION
GROUP TO AN INSTANCE
trove configuration -attach 
<configuration -group-id> <instance -id>
HX111.4 Working With Trove
DETACHING A CONFIGURATION
GROUP FROM AN INSTANCE
trove configuration -detach <instance -id>
HX111.4 Working With Trove
MODIFYING A CONFIGURATION
GROUP ON THE FLY
trove configuration -patch 
<configuration -group-id> 
'{ <values > }'
HX111.4 Working With Trove
FINDING INSTANCES FOR A
CONFIGURATION GROUP
trove configuration -instances <configuration -group-id>
HX111.4 Working With Trove
DELETING A CONFIGURATION
GROUP
trove configuration -delete <configuration -group-id>
HX111.4 Working With Trove
Summary
HX111 OpenStack Database as a Service
WHAT YOU LEARNED TODAY
Why DBaas?
• A step up the stack
• Almost everyone needs a database
• Cloud shifts control over infrastructure away from DBA
HX111.5 Summary
WHAT YOU LEARNED TODAY
What's Trove?
• DBaaS within the OpenStack Framework
• Originally "Red Dwarf"
• Integrated for Icehouse
• Backed by HP, Rackspace, eBay, Tesora
HX111.5 Summary
WHAT YOU LEARNED TODAY
Trove's Moving Parts
• Builds on OpenStack Nova, Glance, Neutron, Cinder
• Contains API, task manager, guest agent
• Datastores, Versions, Instances, Databases
• Deployment Considerations
HX111.5 Summary
WHAT YOU LEARNED TODAY
Working with Trove
• Creating an instance
• Creating a database
• Assigning users and granting permissions
• Using configuration groups
HX111.5 Summary

More Related Content

What's hot

MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMatt Lord
 
OpenStack Trove Kilo Update Jan 2015
OpenStack Trove Kilo Update Jan 2015OpenStack Trove Kilo Update Jan 2015
OpenStack Trove Kilo Update Jan 2015Tesora
 
Webinar: Intro to Trove_Mirantis_26_feb2015
Webinar: Intro to Trove_Mirantis_26_feb2015Webinar: Intro to Trove_Mirantis_26_feb2015
Webinar: Intro to Trove_Mirantis_26_feb2015Tesora
 
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 TroveTesora
 
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/15Tesora
 
Multi-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase DeploymentsMulti-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase DeploymentsDataWorks Summit
 
Cassandra
CassandraCassandra
Cassandraexsuns
 
OpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack_Online
 
Whirr dev-up-puppetconf2011
Whirr dev-up-puppetconf2011Whirr dev-up-puppetconf2011
Whirr dev-up-puppetconf2011Puppet
 
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014NoSQLmatters
 
Running Solr in the Cloud at Memory Speed with Alluxio
Running Solr in the Cloud at Memory Speed with AlluxioRunning Solr in the Cloud at Memory Speed with Alluxio
Running Solr in the Cloud at Memory Speed with Alluxiothelabdude
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1Ivan Ma
 
HBaseCon 2013: Apache HBase Operations at Pinterest
HBaseCon 2013: Apache HBase Operations at PinterestHBaseCon 2013: Apache HBase Operations at Pinterest
HBaseCon 2013: Apache HBase Operations at PinterestCloudera, Inc.
 
Apache Accumulo Overview
Apache Accumulo OverviewApache Accumulo Overview
Apache Accumulo OverviewBill Havanki
 
CloudStack Meetup London - Primary Storage Presentation by SolidFire
CloudStack Meetup London - Primary Storage Presentation by SolidFire CloudStack Meetup London - Primary Storage Presentation by SolidFire
CloudStack Meetup London - Primary Storage Presentation by SolidFire NetApp
 
Apache HBase in the Enterprise Data Hub at Cerner
Apache HBase in the Enterprise Data Hub at CernerApache HBase in the Enterprise Data Hub at Cerner
Apache HBase in the Enterprise Data Hub at CernerHBaseCon
 
Python Utilities for Managing MySQL Databases
Python Utilities for Managing MySQL DatabasesPython Utilities for Managing MySQL Databases
Python Utilities for Managing MySQL DatabasesMats Kindahl
 
Speed Up Your Existing Relational Databases with Hazelcast and Speedment
Speed Up Your Existing Relational Databases with Hazelcast and SpeedmentSpeed Up Your Existing Relational Databases with Hazelcast and Speedment
Speed Up Your Existing Relational Databases with Hazelcast and SpeedmentHazelcast
 
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache AccumuloReal-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache AccumuloJoe Stein
 

What's hot (20)

MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack Trove
 
OpenStack Trove Kilo Update Jan 2015
OpenStack Trove Kilo Update Jan 2015OpenStack Trove Kilo Update Jan 2015
OpenStack Trove Kilo Update Jan 2015
 
Webinar: Intro to Trove_Mirantis_26_feb2015
Webinar: Intro to Trove_Mirantis_26_feb2015Webinar: Intro to Trove_Mirantis_26_feb2015
Webinar: Intro to Trove_Mirantis_26_feb2015
 
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
 
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
 
Multi-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase DeploymentsMulti-tenant, Multi-cluster and Multi-container Apache HBase Deployments
Multi-tenant, Multi-cluster and Multi-container Apache HBase Deployments
 
Cassandra
CassandraCassandra
Cassandra
 
OpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and BeyondOpenStack Trove Update - Juno, Kilo and Beyond
OpenStack Trove Update - Juno, Kilo and Beyond
 
Whirr dev-up-puppetconf2011
Whirr dev-up-puppetconf2011Whirr dev-up-puppetconf2011
Whirr dev-up-puppetconf2011
 
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014
Johnny Miller – Cassandra + Spark = Awesome- NoSQL matters Barcelona 2014
 
Running Solr in the Cloud at Memory Speed with Alluxio
Running Solr in the Cloud at Memory Speed with AlluxioRunning Solr in the Cloud at Memory Speed with Alluxio
Running Solr in the Cloud at Memory Speed with Alluxio
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
Log analysis with elastic stack
Log analysis with elastic stackLog analysis with elastic stack
Log analysis with elastic stack
 
HBaseCon 2013: Apache HBase Operations at Pinterest
HBaseCon 2013: Apache HBase Operations at PinterestHBaseCon 2013: Apache HBase Operations at Pinterest
HBaseCon 2013: Apache HBase Operations at Pinterest
 
Apache Accumulo Overview
Apache Accumulo OverviewApache Accumulo Overview
Apache Accumulo Overview
 
CloudStack Meetup London - Primary Storage Presentation by SolidFire
CloudStack Meetup London - Primary Storage Presentation by SolidFire CloudStack Meetup London - Primary Storage Presentation by SolidFire
CloudStack Meetup London - Primary Storage Presentation by SolidFire
 
Apache HBase in the Enterprise Data Hub at Cerner
Apache HBase in the Enterprise Data Hub at CernerApache HBase in the Enterprise Data Hub at Cerner
Apache HBase in the Enterprise Data Hub at Cerner
 
Python Utilities for Managing MySQL Databases
Python Utilities for Managing MySQL DatabasesPython Utilities for Managing MySQL Databases
Python Utilities for Managing MySQL Databases
 
Speed Up Your Existing Relational Databases with Hazelcast and Speedment
Speed Up Your Existing Relational Databases with Hazelcast and SpeedmentSpeed Up Your Existing Relational Databases with Hazelcast and Speedment
Speed Up Your Existing Relational Databases with Hazelcast and Speedment
 
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache AccumuloReal-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
Real-Time Distributed and Reactive Systems with Apache Kafka and Apache Accumulo
 

Similar to Hands On Trove: Database as a Service in OpenStack

Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Docker, Inc.
 
Disaster Recovery and Cloud Migration for your Apache Hive Warehouse
Disaster Recovery and Cloud Migration for your Apache Hive WarehouseDisaster Recovery and Cloud Migration for your Apache Hive Warehouse
Disaster Recovery and Cloud Migration for your Apache Hive WarehouseSankar H
 
Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0Neo4j
 
Future of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveFuture of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveAldrin Piri
 
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11Tajo Seoul Meetup July 2015 - What's New Tajo 0.11
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11Hyunsik Choi
 
OpenStack Online Meetup
OpenStack Online MeetupOpenStack Online Meetup
OpenStack Online MeetupTesora
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFSDanielHillinger
 
Big data processing engines, Atlanta Meetup 4/30
Big data processing engines, Atlanta Meetup 4/30Big data processing engines, Atlanta Meetup 4/30
Big data processing engines, Atlanta Meetup 4/30Ashish Narasimham
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensionsChiou-Nan Chen
 
2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner EventShawn Wells
 
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...NETWAYS
 
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRApache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRKris Sterckx
 
Netapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability PlatformNetapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability PlatformTanawit Chansuchai
 
Introduction to nfv movilforum
Introduction to nfv   movilforumIntroduction to nfv   movilforum
Introduction to nfv movilforumvideos
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitDan Wendlandt
 
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Banking at Ho Chi Minh city
 

Similar to Hands On Trove: Database as a Service in OpenStack (20)

Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
Orchestrating Docker with Terraform and Consul by Mitchell Hashimoto
 
Disaster Recovery and Cloud Migration for your Apache Hive Warehouse
Disaster Recovery and Cloud Migration for your Apache Hive WarehouseDisaster Recovery and Cloud Migration for your Apache Hive Warehouse
Disaster Recovery and Cloud Migration for your Apache Hive Warehouse
 
Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0Walkthrough Neo4j 1.9 & 2.0
Walkthrough Neo4j 1.9 & 2.0
 
TIAD : Automating the modern datacenter
TIAD : Automating the modern datacenterTIAD : Automating the modern datacenter
TIAD : Automating the modern datacenter
 
HiveACIDPublic
HiveACIDPublicHiveACIDPublic
HiveACIDPublic
 
Future of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveFuture of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep Dive
 
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11Tajo Seoul Meetup July 2015 - What's New Tajo 0.11
Tajo Seoul Meetup July 2015 - What's New Tajo 0.11
 
OpenStack Online Meetup
OpenStack Online MeetupOpenStack Online Meetup
OpenStack Online Meetup
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFS
 
Big data processing engines, Atlanta Meetup 4/30
Big data processing engines, Atlanta Meetup 4/30Big data processing engines, Atlanta Meetup 4/30
Big data processing engines, Atlanta Meetup 4/30
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensions
 
2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event2013-05-22 RedHatGov Partner Event
2013-05-22 RedHatGov Partner Event
 
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...
OSDC 2015: Mitchell Hashimoto | Automating the Modern Datacenter, Development...
 
Solr -
Solr - Solr -
Solr -
 
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VRApache CloudStack Collab Miami - User Data : Alternatives to the VR
Apache CloudStack Collab Miami - User Data : Alternatives to the VR
 
Netapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability PlatformNetapp HCI + Veeam Availability Platform
Netapp HCI + Veeam Availability Platform
 
Introduction to nfv movilforum
Introduction to nfv   movilforumIntroduction to nfv   movilforum
Introduction to nfv movilforum
 
OpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack SummitOpenStack + VMware at the Hong Kong OpenStack Summit
OpenStack + VMware at the Hong Kong OpenStack Summit
 
Streamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache AmbariStreamline Hadoop DevOps with Apache Ambari
Streamline Hadoop DevOps with Apache Ambari
 
Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...Installing tivoli system automation for high availability of db2 udb bcu on a...
Installing tivoli system automation for high availability of db2 udb bcu on a...
 

More from hastexo

Storage mit ceph (glt 2013)
Storage mit ceph (glt 2013)Storage mit ceph (glt 2013)
Storage mit ceph (glt 2013)hastexo
 
Storage with Ceph (OSDC 2013)
Storage with Ceph (OSDC 2013)Storage with Ceph (OSDC 2013)
Storage with Ceph (OSDC 2013)hastexo
 
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)Mit OpenStack zur eigenen Cloud (LinuxTag 2012)
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)hastexo
 
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)hastexo
 
Mit OpenStack zur eigenen Cloud (GLT 2012)
Mit OpenStack zur eigenen Cloud (GLT 2012)Mit OpenStack zur eigenen Cloud (GLT 2012)
Mit OpenStack zur eigenen Cloud (GLT 2012)hastexo
 
Mit OpenStack zur eigenen Cloud (OSDC 2012)
Mit OpenStack zur eigenen Cloud (OSDC 2012)Mit OpenStack zur eigenen Cloud (OSDC 2012)
Mit OpenStack zur eigenen Cloud (OSDC 2012)hastexo
 
MySQL High Availability Deep Dive
MySQL High Availability Deep DiveMySQL High Availability Deep Dive
MySQL High Availability Deep Divehastexo
 
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aber
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und AberGlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aber
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aberhastexo
 
Mit OpenStack zur eigenen Cloud
Mit OpenStack zur eigenen CloudMit OpenStack zur eigenen Cloud
Mit OpenStack zur eigenen Cloudhastexo
 
LCA 2012: High Availability Sprint
LCA 2012: High Availability SprintLCA 2012: High Availability Sprint
LCA 2012: High Availability Sprinthastexo
 
Storage Replication in High-Performance High-Availability Environments
Storage Replication in High-Performance High-Availability EnvironmentsStorage Replication in High-Performance High-Availability Environments
Storage Replication in High-Performance High-Availability Environmentshastexo
 
MySQL High Availability Sprint: Launch the Pacemaker
MySQL High Availability Sprint: Launch the PacemakerMySQL High Availability Sprint: Launch the Pacemaker
MySQL High Availability Sprint: Launch the Pacemakerhastexo
 
Fencing and Maintaining Sanity in High Availability Clusters
Fencing and Maintaining Sanity in High Availability ClustersFencing and Maintaining Sanity in High Availability Clusters
Fencing and Maintaining Sanity in High Availability Clustershastexo
 

More from hastexo (13)

Storage mit ceph (glt 2013)
Storage mit ceph (glt 2013)Storage mit ceph (glt 2013)
Storage mit ceph (glt 2013)
 
Storage with Ceph (OSDC 2013)
Storage with Ceph (OSDC 2013)Storage with Ceph (OSDC 2013)
Storage with Ceph (OSDC 2013)
 
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)Mit OpenStack zur eigenen Cloud (LinuxTag 2012)
Mit OpenStack zur eigenen Cloud (LinuxTag 2012)
 
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)
Mit OpenStack zur eigenen Cloud (LinuxWochen Wien, 2012)
 
Mit OpenStack zur eigenen Cloud (GLT 2012)
Mit OpenStack zur eigenen Cloud (GLT 2012)Mit OpenStack zur eigenen Cloud (GLT 2012)
Mit OpenStack zur eigenen Cloud (GLT 2012)
 
Mit OpenStack zur eigenen Cloud (OSDC 2012)
Mit OpenStack zur eigenen Cloud (OSDC 2012)Mit OpenStack zur eigenen Cloud (OSDC 2012)
Mit OpenStack zur eigenen Cloud (OSDC 2012)
 
MySQL High Availability Deep Dive
MySQL High Availability Deep DiveMySQL High Availability Deep Dive
MySQL High Availability Deep Dive
 
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aber
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und AberGlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aber
GlusterFS und Ceph: Skalierbares Storage ohne Wenn und Aber
 
Mit OpenStack zur eigenen Cloud
Mit OpenStack zur eigenen CloudMit OpenStack zur eigenen Cloud
Mit OpenStack zur eigenen Cloud
 
LCA 2012: High Availability Sprint
LCA 2012: High Availability SprintLCA 2012: High Availability Sprint
LCA 2012: High Availability Sprint
 
Storage Replication in High-Performance High-Availability Environments
Storage Replication in High-Performance High-Availability EnvironmentsStorage Replication in High-Performance High-Availability Environments
Storage Replication in High-Performance High-Availability Environments
 
MySQL High Availability Sprint: Launch the Pacemaker
MySQL High Availability Sprint: Launch the PacemakerMySQL High Availability Sprint: Launch the Pacemaker
MySQL High Availability Sprint: Launch the Pacemaker
 
Fencing and Maintaining Sanity in High Availability Clusters
Fencing and Maintaining Sanity in High Availability ClustersFencing and Maintaining Sanity in High Availability Clusters
Fencing and Maintaining Sanity in High Availability Clusters
 

Recently uploaded

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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, Adobeapidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Hands On Trove: Database as a Service in OpenStack

  • 1. HX111 OpenStack Database as a Service Version 12c1c1e Copyright © 2014 hastexo Professional Services GmbH
  • 2. An Introduction to Database-as-a- Service HX111 OpenStack Database as a Service
  • 3. FROM IAAS TO PAAS "A step up the stack" HX111.1 An Introduction to Database-as-a-Service
  • 4. EVERYONE NEEDS A DATABASE... Well, almost everyone. HX111.1 An Introduction to Database-as-a-Service
  • 5. ... BUT DOES EVERYONE NEED TO BUILD THEIR OWN? • Platform/Distribution Support • System Tuning Idiosyncrasies • Flavors, Forks, Branches HX111.1 An Introduction to Database-as-a-Service
  • 6. WHAT'S SPECIAL ABOUT THE CLOUD? • Little to no control over infrastructure • Everything is virtualized and orchestrated • QoS is limited HX111.1 An Introduction to Database-as-a-Service
  • 7. ONE APPROACH The DBA now becomes a cloud operator. But that's rather undesirable. HX111.1 An Introduction to Database-as-a-Service
  • 8. THE ALTERNATIVE: DBAAS Provides a database as a service HX111.1 An Introduction to Database-as-a-Service
  • 9. PRECEDENT: AMAZON RDS Reliable Database Service: DBaaS for Amazon Web Services HX111.1 An Introduction to Database-as-a-Service
  • 10. An Introduction to OpenStack Trove HX111 OpenStack Database as a Service
  • 11. MOTIVATION Provide DBaaS within the OpenStack framework HX111.2 An Introduction to OpenStack Trove
  • 12. A BIT OF PROJECT HISTORY • Originally named Reddwarf (alternatively RedDwarf) • First public presentation at Percona Live 2012 by Brian Aker • Renamed Trove in 2013 HX111.2 An Introduction to OpenStack Trove
  • 13. RELEASE HISTORY • Incubated until Havana release (October 2013) • Graduated shortly before Icehouse Summit • Integrated in Icehouse release (April 2014) HX111.2 An Introduction to OpenStack Trove
  • 14. CONTRIBUTORS AND SUPPORTERS • Original project sponsor: Hewlett-Packard • Current major backers: eBay, HP, Rackspace • More than 75 individual contributors • Current PTL: Michael Basnight, Rackspace HX111.2 An Introduction to OpenStack Trove
  • 15. Trove's Moving Parts HX111 OpenStack Database as a Service
  • 16. MULTIPLE MANAGEABLE PIECES OpenStack Abhors A Monolith HX111.3 Trove's Moving Parts
  • 17. WHAT TROVE BUILDS UPON • Keystone: authentication, authorization, access control • Nova: compute • Cinder: persistent storage • Neutron or nova-network: networking HX111.3 Trove's Moving Parts
  • 18. WHAT TROVE CONSISTS OF • trove-api: ReSTful API service • trove-taskmanager: implements API service calls and fires up guest • trove-guestagent: configures guest for datastore use HX111.3 Trove's Moving Parts
  • 19. TROVE TERMINOLOGY • Datastore • Datastore version • Instance • Configuration Group • Database HX111.3 Trove's Moving Parts
  • 20. DATASTORE A specific RDBMS or NoSQL datastore that Trove can manage: • MySQL • MongoDB • Cassandra • ... HX111.3 Trove's Moving Parts
  • 21. DATASTORE VERSION • Is linked to datastore • Defines base image • Defines sets of packages to be installed HX111.3 Trove's Moving Parts
  • 22. INSTANCE • Is one incarnation of a datastore version • Is managed by Nova and uses persistent volumes managed in Cinder • Runs a full OS plus trove-guestagent HX111.3 Trove's Moving Parts
  • 23. CONFIGURATION GROUP • A set of configuration options you can set for an instance • Enables admins to define and use best-practice configurations for specific use cases HX111.3 Trove's Moving Parts
  • 24. DATABASES • Several can run in one instance • All database management is through OpenStack APIs and trove-guestagent HX111.3 Trove's Moving Parts
  • 25. GETTING TROVE OPERATIONAL • Install required OpenStack services • Install Trove services • Prepare an image • Create a datastore • Create a datastore version HX111.3 Trove's Moving Parts
  • 26. DEPLOYING TROVE • Low maturity • DevStack/Redstack • Ubuntu packages in trusty (but not in Cloud Archive) • Only client packages in RDO • Puppet modules being worked on at eBay HX111.3 Trove's Moving Parts
  • 27. Working With Trove HX111 OpenStack Database as a Service
  • 28. GETTING STARTED So we've installed Trove. What's Next? HX111.4 Working With Trove
  • 29. LISTING DATASTORES trove datastore -list Lists currently configured datastores HX111.4 Working With Trove
  • 30. LISTING VERSIONS FOR A DATASTORE trove datastore -version -list <datastore -name> Lists currently configured versions for a datastore HX111.4 Working With Trove
  • 31. GETTING DETAILS FOR A DATASTORE VERSION trove datastore -version -show --datastore <name> <version -id> HX111.4 Working With Trove
  • 32. CREATING A DATASTORE trove-manage datastore_update "<name >" "" HX111.4 Working With Trove
  • 33. CREATING A DATASTORE VERSION trove-manage datastore_version_update "<name >" "<versionname >" "<type >" "<imageid >" "<packagelist >" {0|1} HX111.4 Working With Trove
  • 34. SETTING A DEFAULT VERSION FOR A DATASTORE trove-manage datastore_update "<name >" "<versionname >" HX111.4 Working With Trove
  • 35. CREATING AN INSTANCE trove create <instancename > <flavor > --size <size> --datastore <name> --datastore_version <versionname > --nic net-id=<net-id> HX111.4 Working With Trove
  • 36. WHAT DOES TROVE CREATE DO? • Allocate persistent storage space (through Cinder) • Create a new guest (through Nova) HX111.4 Working With Trove
  • 37. WHAT HAPPENS WHEN THE INSTANCE BOOTS? • cloud-init (as always) • trove-guestagent HX111.4 Working With Trove
  • 39. GETTING DETAILS FOR AN INSTANCE trove show <instanceid > HX111.4 Working With Trove
  • 40. LISTING DATABASES IN AN INSTANCE trove database -list <instanceid > HX111.4 Working With Trove
  • 41. CREATING A DATABASE trove database -create <instanceid > <dbname > HX111.4 Working With Trove
  • 42. CREATING A USER AND ENABLING DATABASE ACCESS trove user-create <instanceid > <username > <password > [--host=<host >] [--databases=<db1>,<db2>,...] HX111.4 Working With Trove
  • 43. GRANTING USER ACCESS trove user-grant-access <instanceid > <username > <password > <db1>,<db2>,... [--host=<host >] HX111.4 Working With Trove
  • 44. ENABLING ROOT ACCESS trove root-enable <instanceid > HX111.4 Working With Trove
  • 45. CONFIGURATION GROUPS Configuration groups allow DBAs to set configuration options, in bulk, on one or multiple databases HX111.4 Working With Trove
  • 46. CREATING A CONFIGURATION GROUP trove configuration -create <name> '{ <values > }' [--description <description >] HX111.4 Working With Trove
  • 47. SETTING PARAMETERS Parameters are a JSON dictionary { "<key>": "<string >", "<key>": <int>, ... } HX111.4 Working With Trove
  • 48. LISTING SUPPORTED CONFIGURATION PARAMETERS trove configuration -parameter -list <datastore -version -id> HX111.4 Working With Trove
  • 49. ATTACHING A CONFIGURATION GROUP TO AN INSTANCE trove configuration -attach <configuration -group-id> <instance -id> HX111.4 Working With Trove
  • 50. DETACHING A CONFIGURATION GROUP FROM AN INSTANCE trove configuration -detach <instance -id> HX111.4 Working With Trove
  • 51. MODIFYING A CONFIGURATION GROUP ON THE FLY trove configuration -patch <configuration -group-id> '{ <values > }' HX111.4 Working With Trove
  • 52. FINDING INSTANCES FOR A CONFIGURATION GROUP trove configuration -instances <configuration -group-id> HX111.4 Working With Trove
  • 53. DELETING A CONFIGURATION GROUP trove configuration -delete <configuration -group-id> HX111.4 Working With Trove
  • 55. WHAT YOU LEARNED TODAY Why DBaas? • A step up the stack • Almost everyone needs a database • Cloud shifts control over infrastructure away from DBA HX111.5 Summary
  • 56. WHAT YOU LEARNED TODAY What's Trove? • DBaaS within the OpenStack Framework • Originally "Red Dwarf" • Integrated for Icehouse • Backed by HP, Rackspace, eBay, Tesora HX111.5 Summary
  • 57. WHAT YOU LEARNED TODAY Trove's Moving Parts • Builds on OpenStack Nova, Glance, Neutron, Cinder • Contains API, task manager, guest agent • Datastores, Versions, Instances, Databases • Deployment Considerations HX111.5 Summary
  • 58. WHAT YOU LEARNED TODAY Working with Trove • Creating an instance • Creating a database • Assigning users and granting permissions • Using configuration groups HX111.5 Summary