Block Storage OpenStack Block Storage and Cinder Steven Walchek SolidFire What were going to cover in 20 minutes What do you mean when you say storage What is Cinder Configuring Cinder ID: 531292
Download Presentation The PPT/PDF document "OpenStack" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
OpenStack Block Storage
OpenStack
Block Storage and Cinder!
Steven
Walchek
,
SolidFireSlide2
What we’re going to cover in ~20 minutes…
What do you mean when you say storage?
What is Cinder
Configuring Cinder + a word from our sponsorSlide3
Quick Poll:
How
many of you contribute to
OpenStack?How many of you are end-users of OpenStack?
How many of you are
OpenStack
Operators?How many of you work for Vendor Organizations that contribute to OpenStack?How many are “all of the above”?Slide4
What Do You Mean When You Say Storage?Slide5
EphemeralNon-persistent
Lifecycle
coincides with
a Nova instanceObjectManages data as.. well, an ObjectThink unstructured data (Mp4)Typically referred to “cheap and deep”Usually runs on spinny drives
In
OpenStack
: SwiftFiles SystemWe all love NFS and CIFS…right!?
Storage. Storage. Storage. Storage.
Block
Foundation for the other types
Think raw disk
Typically higher performanceCinderSlide6
Most common question, difference between Object and Block?
Cinder /
Block StorageSwift / Object StorageWhat does it do?
Storage
for running VM disk volumes on a host
Ideal for performance sensitive appsEnables Amazon EBS-like service
Ideal for cost effective, scale-out storage
Fully distributed, API-accessible
Well
suited for
backup, archiving, data retentionEnables Dropbox-like service Use CasesProduction ApplicationsTraditional IT Systems
Database
Driven Apps
Messaging / Collaboration
Dev
/ Test
Systems
VM Templates
ISO Images
Disk
Volume Snapshots
Backup
/ Archive
Image / Video Repository
Workloads
High
Change Content
Smaller, Random
R/W
Higher / “Bursty” IO
Typically More Static Content
Larger, Sequential R/W
Lower IOPSSlide7
Let’s talk CinderSlide8
Cinder Mission Statement To implement services and libraries to provide on demand, self-service access to Block Storage resources. Provide Software Defined Block Storage via abstraction and automation on top of various traditional backend block storage devices
.Slide9
Huh? API that allows
you to dynamically create/attach/detach disks to your Nova Instance. Slide10
How it works
Plugin architecture, use your own vendors backend(s) or use the default
Consistent
API regardless of backend expose differentiating features via custom volume-types and extra-specsSlide11
Reference Implementation Included
Includes code to provide a base implementation using LVM
Just add disks
Great for POC and getting startedSometimes good enoughMight be lacking for your performance, H/A and Scaling needs (it all depends)Can Scale by adding NodesCinder-Volume Node utilizes it’s local disks (allocate by creating an LVM VG)Cinder Volumes are LVM Logical Volumes, with an iSCSI target created for eachTypical max size recommendations per VG/Cinder-Volume backend ~ 5 TB
No Redundancy (yet)Slide12
Sometimes LVM Isn’t Enough
* datera
* fujitsu_eternus
* fusionio* hitachi-hbsd* hauwei* nimble* prophetstor* pure* zfssa* New as of Juno Release
coraid
emc-vmax
emc-xtremioeqlxglusterfchdsibm-gpfs
ibm-xiv
lvm
netapp
nexenta
nfsCeph RBDHP-3ParHP-LeftHandscalitysheepdogsmbfssolidfire
vmware-vmdk
window-hyperv
zadara
Plugin Architecture gives you choices (maybe too many) and you can mix them together:Slide13
Making choices can be the HARDEST part!
Ask yourself:
Does it scale?
Is it tested, will it really work in OpenStack?Support?What about performance and noisy neighbors?Third party CI testing?
Active in the
OpenStack
Community?DIY, Services, both/neither (SolidFire AI, Fuel, JuJu, Nebula….)Slide14
A brief word from our sponsor!SolidFire + Cinder and Extra SpecsSlide15
SolidFire and Cinder
SolidFire
led the creation of Cinder (break out from Nova)
Full SolidFire driver integration with every new OpenStack releaseSet and maintain true QoS levels on a per-volume basis Web
-based API exposing all cluster functionality
SolidFire
integration with OpenStack Cinder can be configured in less than a minuteSeamless scaling after initial configurationFull multi-tenant isolationSlide16
Edit the cinder.conf file:volume_driver=
cinder.volume.solidfire.SolidFire
san_ip=172.17.1.182san_login=openstack-admin san_password=superduperpassword
OpenStack
Supports Multiple Back Ends
Configured in under a minuteConfiguring SolidFire Cinder DriverSlide17
Eliminating Noisy Neighbors with QoS
The Noisy Neighbor Effect
Individual tenant impacts other applications
Unsuitable for performance sensitive apps
SolidFire QoS in Practice
Create fine-grained tiers of performance
Application performance is isolated
Performance SLAs enforced
Noisy Neighbor
Performance 0
Performance 1
Performance 2
Performance 3
Decreased PerformanceSlide18
Creating types and extra-specs
griff@stack-1: cinder type create super
+--------------------------------------+-------+
| ID | Name |+--------------------------------------+-------+| c506230f-eb08-4d4e-82e2-7a88eb779bda | super |+--------------------------------------+-------+
griff@stack-1: cinder type create super-
dooper
+--------------------------------------+--------------+| ID | Name |
+--------------------------------------+--------------+
| 918cf343-1f3d-4508-bb69-cd0e668ae297 | super-
dooper
|
+--------------------------------------+--------------+griff@stack-1: cinder type-key super set volume_backend_name=LVM_iSCSIgriff@stack-1: cinder type-key super-
dooper
set
volume_backend_name
=
SolidFire
\
qos:minIOPS
=400
qos:maxIOPS
=1000
qos:burstIOPS
=2000Slide19
End users perspective
griff@stack-1: cinder type-list
+--------------------------------------+--------------+
| ID | Name |+--------------------------------------+--------------+| 918cf343-1f3d-4508-bb69-cd0e668ae297 | super-dooper
|
| c506230f-eb08-4d4e-82e2-7a88eb779bda | super |
+--------------------------------------+--------------+griff@stack-1: cinder create --volume-type super-dooper
……Slide20