Filesystem as a service in OpenStack
Upcoming SlideShare
Loading in...5
×
 

Filesystem as a service in OpenStack

on

  • 3,497 views

 

Statistics

Views

Total Views
3,497
Views on SlideShare
3,494
Embed Views
3

Actions

Likes
6
Downloads
104
Comments
1

1 Embed 3

https://twitter.com 3

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Isolated disk

Filesystem as a service in OpenStack Filesystem as a service in OpenStack Presentation Transcript

  • Filesystem as aservice –OpenStack CinderRushi Agrawal@rushiagr 1
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 2
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 3
  • What is OpenStack Massively scalable, open source cloud operating system – Compute (Nova) – Object Storage (Swift) – Block Storage (Cinder) – Imaging service (Glance) – Dashboard (Horizon) – Network (Quantum) – Keystone (Identity) – Oslo (Common modules) – Many new projects – Heat, Ceilometer 4
  • OpenStack Cinder Cinder allows block devices to be exposed and connected to compute instances for expanded storage, better performance and integration with enterprise storage platforms. Fully integrated into Compute and Dashboard 5
  • Cinder – supported operations Features in Grizzly – April 2013 – Volume Create/Delete – Volume Attach/Detach to instances – Snapshot Create/Delete – Create volume from Snapshot – Boot from volume – Publish service capabilities New Features in Havana – ~Oct 2013 – Copy Image to Volume – Copy Volume to Image – Clone volume – More to come: migrations, etc 6
  • OpenStack Cinder 7
  • OpenStack CinderDatabase Cinder API Queue C-scheduler Cinder Vol Cinder Vol Cinder Vol iSCSI NFS 8
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 9
  • Filesystem as a service – basic idea NAS shares to share data across VM instances – Brings the benefits of shared storage to OpenStack Simple and widely accepted protocols – NFS and CIFS 10
  • Filesystem as a service Storage Controller S1 S2 VM1 VM2 Hypervisor 11
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 12
  • Why filesystems? NAS – built to share storage – CIFS/NFS – In-built locking, sharing and permissions – Metadata stored with data Cheap! Legacy applications Applications in scalable compute 13
  • Use case Simple: sharing data across VMs – Can use as isolated disk too! Migration – VM crashes doesn’t affect stored data Scalable compute with shared storage – Parallel compilation of large C/C++ projects – Rendering pipelines for animation studios and electronic chip design workloads 14
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 15
  • OpenStack Massively scalable, open source cloud operating systems – Compute (Nova) – Object Storage (Swift) – Block Storage + File Storage? (Cinder) – Imaging service (Glance) – Dashboard (Horizon) – Network (Quantum) – File Storage (New project) ? 16
  • Filesystem as a service inside Cinder Easier to build upon existing code – Most of the required foundational code already present in a healthy state (RPC, schedulers, etc): can build fast Separate service ‘cinder-shares’ – Very minimal overlap with existing code 17
  • Filesystem as a separate project in OpenStack Rationale: – File storage != Block storage != Object storage Dedicated concentration on filesystem specific stuff Downsides: build from scratch – Pull in basic infrastructure from Cinder and Oslo – And make it work – And keep in sync with changes upstream 18
  • Agenda OpenStack and Cinder What is Filesystem as a service? Why Filesystems? Where it fits in OpenStack? How is it implemented? Demo 19
  • Current implementation Separate service inside Cinder Shares API – Share create/delete – Share Snapshot create/delete – Allow/Deny access – Publish capabilities to scheduler 20
  • Filesystem inside CinderDatabase Cinder API++ Queue C-scheduler Cinder Cinder Vol Share Cinder Share iSCSI NFS CIFS 21
  • Demo time! 22
  • Prerequisites NFS and Samba installed – apt-get install nfs-kernel-server samba 23
  • Links to code Cinder – github.com/rushiagr/cinder/tree/nasaas Python-CinderClient – github.com/rushiagr/python-cinderclient/tree/nasaas localrc – dl.dropbox.com/u/42084476/Extra/localrc.txt 24
  • Questions? 25