project reddwarf - database services in the cloud.pptx

20
Database Services On Openstack Project RedDwarf Tim Simpson & Vipul Sabhaya Rackspace & HP

Upload: openstack-foundation

Post on 25-May-2015

883 views

Category:

Documents


4 download

DESCRIPTION

true

TRANSCRIPT

Page 1: Project RedDwarf - Database Services in the Cloud.pptx

Database Services On Openstack

Project RedDwarf

Tim Simpson & Vipul Sabhaya

Rackspace & HP

Page 2: Project RedDwarf - Database Services in the Cloud.pptx

Agenda

• Project Origins & History

• What is RedDwarf?• Architecture Overview• Current Status• Leveraging OpenStack• Future

• Links• Questions

Page 3: Project RedDwarf - Database Services in the Cloud.pptx

Project Origins• Started in 2011

• Originally Java + ServiceMix + ZooKeeper

• Team Lead + Architect discussions with Nova Team• Nova also working on Scheduler• Mechanism for RPC calls

• Nova should be used as the base, avoid rework• RedDwarf born

Page 4: Project RedDwarf - Database Services in the Cloud.pptx

Project Origins• Need for value-added services

• Built on top of OpenStack

• Alignment with OpenStack’s vision and goals• Performance requirements

• One size does not fit all!

• Open Source!

Page 5: Project RedDwarf - Database Services in the Cloud.pptx

Project History

Page 6: Project RedDwarf - Database Services in the Cloud.pptx

What is Red Dwarf• Managed MySQL Database Service• Public API’s to

• Manage MySQL instances• Scale database instance memory sizes up and down• Scale up storage sizes

• Extensions• Create, read, update, and delete databases and database users

Page 7: Project RedDwarf - Database Services in the Cloud.pptx

RedDwarf Reference Architecture

Page 8: Project RedDwarf - Database Services in the Cloud.pptx

RedDwarf @ Rackspace

Page 9: Project RedDwarf - Database Services in the Cloud.pptx

RedDwarf @ HP

Page 10: Project RedDwarf - Database Services in the Cloud.pptx

Status

Rackspace - GA HP Cloud – Private Beta

Both Services in Production!

Page 11: Project RedDwarf - Database Services in the Cloud.pptx

Status• API Code is shared• API Extensions are used as necessary• RPC API Compatibility

• Drop-in-replacement of Backend• Drop-in-replacement of Guest Agent

• Open Source versions of Guest and Backend exist today

Page 12: Project RedDwarf - Database Services in the Cloud.pptx

RedDwarf as an Open API• Both HP and Rackspace are committed to the Core API

• API follows OpenStack standards

• Both companies committed to the same CLI and python bindings• python-reddwarfclient

• Work being done to support JClouds binding

Page 13: Project RedDwarf - Database Services in the Cloud.pptx

Leveraging OpenStack• Nova

• Provisioning of resources

• Openstack-common• REST API framework• RPC layer

• Swift• Storage for securely storing database snapshots

• Keystone• User-level permissions

• Glance• Custom Images w/Agent baked in

Page 14: Project RedDwarf - Database Services in the Cloud.pptx

Nova as a Building Block• Nova Improvements

• Tremendous improvements & stability in past year

• Applications can be built on top• No forking required• Python not required

• Pluggable Architecture• Features such as OpenVZ containers

Page 15: Project RedDwarf - Database Services in the Cloud.pptx

Nova Wishlist• Easier consumption of notifications

• Polling sucks

• Cross AZ / Cell resource sharing• Keys, Security Groups, Images, etc.

• Resource cleanup + fault tolerance• Transactional state management• Long-running job support• Better error messages• Openstack-common packaged

Page 16: Project RedDwarf - Database Services in the Cloud.pptx

Where are we headed?• Orchestration Layer

• Long-running / Transactional Jobs

• Scheduling / Automation• Support for additional Language Bindings

• Python-reddwarfclient + Jclouds• Ruby? Openstack-java-sdk?

• Continuous Integration• Stackforge• DevStack extensions (./redstack)• Tempest extensions• Golden Image (base image with Guest Agent + MySQL)

Page 17: Project RedDwarf - Database Services in the Cloud.pptx

How do we get there?• Community Building

• Dedicated resource (Michael Basnight)

• Reduce Learning Curve• More Documentation!• Easier installation / upgrades

• Follow openstack best-practices• Incubation?

Page 18: Project RedDwarf - Database Services in the Cloud.pptx

Openstack Contributions

• Nova Contributors• Nirmal Ranganathan• Tim Simpson• Michael Basnight• Craig Vviyal

• Projects• Keystone, Keystone

Client, Glance Client, Nova, Nova Client, Cinder

• Red Dwarf Contributors• Vipul Sabhaya• Nirmal Ranganathan• Tim Simspon• Michael Basnight• Craig Vviyal• Sudarshan Archarya• Paul Marshall• Ed Cranford• Joe Cruz• Daniel Salinas

Page 19: Project RedDwarf - Database Services in the Cloud.pptx

Get started today!

$ git clone https://github.com/hub-cap/reddwarf_lite.git

$ ./reddwarf_lite/bin/start_server.sh

$ git clone https://github.com/hub-cap/reddwarf_lite-integration.git

$./reddwarf_lite-integration/tests/integration/run_local.sh

Page 20: Project RedDwarf - Database Services in the Cloud.pptx

Project Links• Project Pages

• https://launchpad.net/reddwarf

• Blueprint• https://blueprints.launchpad.net/reddwarf/+spec/redddwarf-public-a

pi

• Wiki• http://wiki.openstack.org/DatabaseAsAService

• Code• https://github.com/rackspace/reddwarf• https://github.com/hub-cap/reddwarf_lite• https://github.com/hub-cap/reddwarf_lite-integration• https://github.com/hub-cap/python-reddwarfclient

• IRC• #reddwarf