SlideShare a Scribd company logo
1 of 19
© 2013 IBM CorporationMay 2013
OpenStack Cinder Deep Dive
Grizzly Release
Avishay Traeger <avishay@il.ibm.com>
IBM Research – Haifa
OpenStack Cinder Core Team Member
2
© 2013 IBM Corporation
Cinder Overview
 Cinder manages persistent storage
– Data volumes that are attached to VM instances
– Boot from volume
 Project exists since Folsom release, spun off from Nova-volume
 Volumes have a lifecycle independent of VM instances
 For example:
– Cinder: create volume
– Nova: boot VM instance
– Nova: attach volume to instance (will call Cinder)
– (More details later)
3
© 2013 IBM Corporation
Architectural Overview
cinder-api
cinder-scheduler cinder-volume cinder-backup
SQL DB
cinder client
REST
AMPQAMPQ
AMPQ
4
© 2013 IBM Corporation
Architectural Overview
cinder-api
cinder-scheduler cinder-volume cinder-backup
SQL DB
cinder client
REST
AMPQAMPQ
AMPQ
5
© 2013 IBM Corporation
cinder-api
 Volume create/delete/list/show
– Create from volume, image, snapshot
 Snapshot create/delete/list/show
 Volume attach/detach (called by Nova)
 Others:
– Volume types (more later)
– Quotas
– Backups
cinder-api
6
© 2013 IBM Corporation
Architectural Overview
cinder-api
cinder-scheduler cinder-volume cinder-backup
SQL DB
cinder client
REST
AMPQAMPQ
AMPQ
7
© 2013 IBM Corporation
cinder-volume
Main components:
 API: for cinder-api to communicate with
cinder-volume
 Manager: Generic code to implement API
 Drivers: Called by Manager, contains
back-end-specific code to communicate with
various storage types (e.g., Linux LVM,
storage controllers from various vendors,
distributed file systems, etc.)
➢ Admin can run multiple cinder-volume
instances, each with its own configuration file
describing settings and the storage back-end
➢ As of Grizzly, one cinder-volume instance can
manage multiple back-ends
➢ Each back-end driver is generally configured
to interact with one storage pool
➢ Multi-threading
cinder-volume
8
© 2013 IBM Corporation
Example: High-Level Data and Control Flow 1
Nova
VM instance
/dev/vda
KVM
iSCSI
initiator
Cinder
/dev/hda
Linux Volume Manager
iSCSI
target
Legend
Persistent volume control
Persistent volume data
9
© 2013 IBM Corporation
Example: High-Level Data and Control Flow 2
Storage Controller
Nova
VM instance
/dev/vda
KVM
iSCSI
initiator
Cinder
iSCSI
target
Legend
Persistent volume control
Persistent volume data
Note that iSCSI is just
an example – several
additional protocols
are supported (e.g.,
FC, NFS)
10
© 2013 IBM Corporation
Example: Flow for attach a volume to instance
1. Nova calls Cinder via its API, passing connection information
 e.g., host name, iSCSI initiator name, FC WWPNs
2. cinder-api passes message to cinder-volume
3. Manager does initial error checking and calls volume driver
4. Volume driver does any necessary preparation to allow the connection
 e.g., give the nova host permissions to access the volume
5. Volume driver returns connection information, which is passed to Nova
 e.g., iSCSI iqn and portal, FC WWPN
6. Nova creates the connection to the storage using the returned information
7. Nova passes the volume device/file to the hypervisor
11
© 2013 IBM Corporation
Architectural Overview
cinder-api
cinder-scheduler cinder-volume cinder-backup
SQL DB
cinder client
REST
AMPQAMPQ
AMPQ
12
© 2013 IBM Corporation
cinder-scheduler
 Chooses which back-end to place a
new volume on
 Configurable plugins for filters and
weights
1. Starts with list of all back-ends
2. Filters according to capabilities
 Drivers report capabilities and state
(e.g., free space)
 Admins create volume_types which
specify requirements
 Users optionally specify a volume_type
when creating a volume
3. Sorts according to weights
 e.g., available free space
4. Returns best candidate
cinder-scheduler
13
© 2013 IBM Corporation
Scheduler / volume_types example
14
© 2013 IBM Corporation
Scheduler / volume_types example
15
© 2013 IBM Corporation
Scheduler / volume_types example
HDDs
Compressed
Flash/HDD
Flash
16
© 2013 IBM Corporation
Scheduler / volume_types example
17
© 2013 IBM Corporation
Looking Forward to Havana: Features
 Code cleanup and reorganization
 Attach volume to multiple hosts
 Read-only volumes
 ACLs
 Disk encryption
 FC SAN Zone / Access Control management
 Transfer volume ownership
 Volume Migration
 Work towards locality between instances and volumes
 Scheduler hints
 Volume rate limiting
18
© 2013 IBM Corporation
Looking Forward to Havana: New Drivers
 IBM GPFS
 IBM zVM
 EMC Isilon (iSCSI)
 Local disk partitions
 Hitachi HUS (DF850) (iSCSI)
 Dell Equalogic
 Violin Memory v6000 (iSCSI)
Current drivers:
Coraid (AoE)
EMC VMAX/VNX (iSCSI)
GlusterFS (GlusterFS)
HP 3PAR (iSCSI/FC)
HP LeftHand (iSCSI)
Huawei T-series/Dorado (iSCSI)
IBM Storwize family/SVC (iSCSI/FC)
IBM XIV (iSCSI), LVM (iSCSI)
NetApp (iSCSI/NFS)
Nexenta (iSCSI)
NFS (NFS)
RBD (Ceph)
Scality SOFS (scality)
Sheepdog (sheepdog)
Solaris (iSCSI)
SolidFire (iSCSI)
Windows Server 2012 (iSCSI)
Zadara (iSCSI)
19
© 2013 IBM Corporation

More Related Content

What's hot

Linux sever building
Linux sever buildingLinux sever building
Linux sever building
Edmond Yu
 
Optimizing VM images for OpenStack with KVM/QEMU
Optimizing VM images for OpenStack with KVM/QEMUOptimizing VM images for OpenStack with KVM/QEMU
Optimizing VM images for OpenStack with KVM/QEMU
OpenStack Foundation
 
Kvm performance optimization for ubuntu
Kvm performance optimization for ubuntuKvm performance optimization for ubuntu
Kvm performance optimization for ubuntu
Sim Janghoon
 
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
ScyllaDB
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
Renuka Apte
 
The HaLVM: A Simple Platform for Simple Platforms
The HaLVM: A Simple Platform for Simple PlatformsThe HaLVM: A Simple Platform for Simple Platforms
The HaLVM: A Simple Platform for Simple Platforms
The Linux Foundation
 

What's hot (20)

Linux sever building
Linux sever buildingLinux sever building
Linux sever building
 
Project ACRN Device Passthrough Introduction
Project ACRN Device Passthrough IntroductionProject ACRN Device Passthrough Introduction
Project ACRN Device Passthrough Introduction
 
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, GandiXPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
 
Optimizing VM images for OpenStack with KVM/QEMU
Optimizing VM images for OpenStack with KVM/QEMUOptimizing VM images for OpenStack with KVM/QEMU
Optimizing VM images for OpenStack with KVM/QEMU
 
XPDS13: Xen on ARM Update - Stefano Stabellini, Citrix
XPDS13: Xen on ARM Update - Stefano Stabellini, CitrixXPDS13: Xen on ARM Update - Stefano Stabellini, Citrix
XPDS13: Xen on ARM Update - Stefano Stabellini, Citrix
 
Xen in Linux 3.x (or PVOPS)
Xen in Linux 3.x (or PVOPS)Xen in Linux 3.x (or PVOPS)
Xen in Linux 3.x (or PVOPS)
 
Fosdem 17 - Towards a HVM-like Dom0 for Xen
Fosdem 17 - Towards a HVM-like Dom0 for XenFosdem 17 - Towards a HVM-like Dom0 for Xen
Fosdem 17 - Towards a HVM-like Dom0 for Xen
 
Kvm performance optimization for ubuntu
Kvm performance optimization for ubuntuKvm performance optimization for ubuntu
Kvm performance optimization for ubuntu
 
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
 
QEMU Disk IO Which performs Better: Native or threads?
QEMU Disk IO Which performs Better: Native or threads?QEMU Disk IO Which performs Better: Native or threads?
QEMU Disk IO Which performs Better: Native or threads?
 
XPDS14 - Intel(r) Virtualization Technology for Directed I/O (VT-d) Posted In...
XPDS14 - Intel(r) Virtualization Technology for Directed I/O (VT-d) Posted In...XPDS14 - Intel(r) Virtualization Technology for Directed I/O (VT-d) Posted In...
XPDS14 - Intel(r) Virtualization Technology for Directed I/O (VT-d) Posted In...
 
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARMXPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
 
OWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for CloudsOWF: Xen - Open Source Hypervisor Designed for Clouds
OWF: Xen - Open Source Hypervisor Designed for Clouds
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
 
The HaLVM: A Simple Platform for Simple Platforms
The HaLVM: A Simple Platform for Simple PlatformsThe HaLVM: A Simple Platform for Simple Platforms
The HaLVM: A Simple Platform for Simple Platforms
 
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
 
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
Rootlinux17: Hypervisors on ARM - Overview and Design Choices by Julien Grall...
 
Redis Persistence
Redis  PersistenceRedis  Persistence
Redis Persistence
 
PVH : PV Guest in HVM container
PVH : PV Guest in HVM containerPVH : PV Guest in HVM container
PVH : PV Guest in HVM container
 
Cinder
CinderCinder
Cinder
 

Viewers also liked

Storage as a service OpenStack
Storage as a service OpenStackStorage as a service OpenStack
Storage as a service OpenStack
openstackindia
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinder
openstackindia
 

Viewers also liked (12)

OpenStack Benelux Conference 2014 | Deep Dive | Alain Clark | OpenStack Found...
OpenStack Benelux Conference 2014 | Deep Dive | Alain Clark | OpenStack Found...OpenStack Benelux Conference 2014 | Deep Dive | Alain Clark | OpenStack Found...
OpenStack Benelux Conference 2014 | Deep Dive | Alain Clark | OpenStack Found...
 
Openstack Denver Meetup - Intro to Block Storage
Openstack Denver Meetup - Intro to Block StorageOpenstack Denver Meetup - Intro to Block Storage
Openstack Denver Meetup - Intro to Block Storage
 
OpenStack State of Fibre Channel
OpenStack State of Fibre ChannelOpenStack State of Fibre Channel
OpenStack State of Fibre Channel
 
OpenStack Contribution Workflow
OpenStack Contribution WorkflowOpenStack Contribution Workflow
OpenStack Contribution Workflow
 
Storage as a service OpenStack
Storage as a service OpenStackStorage as a service OpenStack
Storage as a service OpenStack
 
OpenStack Storage Overview
OpenStack Storage OverviewOpenStack Storage Overview
OpenStack Storage Overview
 
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for TomorrowOpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
 
Storage as a service and OpenStack Cinder
Storage as a service and OpenStack CinderStorage as a service and OpenStack Cinder
Storage as a service and OpenStack Cinder
 
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red HatDeep Dive into Openstack Storage, Sean Cohen, Red Hat
Deep Dive into Openstack Storage, Sean Cohen, Red Hat
 
OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)Deep Dive: OpenStack Summit (Red Hat Summit 2014)
Deep Dive: OpenStack Summit (Red Hat Summit 2014)
 

Similar to Avishay trager cinder-grizzly-deep-dive

VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
Amit Gatenyo
 
HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Express
dean1609
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
Youssef EL HADJ
 
Deep dive into OpenStack storage, Sean Cohen, Red Hat
Deep dive into OpenStack storage, Sean Cohen, Red HatDeep dive into OpenStack storage, Sean Cohen, Red Hat
Deep dive into OpenStack storage, Sean Cohen, Red Hat
Sean Cohen
 

Similar to Avishay trager cinder-grizzly-deep-dive (20)

OpenStack Cinder Overview - Havana Release
OpenStack Cinder Overview - Havana ReleaseOpenStack Cinder Overview - Havana Release
OpenStack Cinder Overview - Havana Release
 
Cinder havana-131111230629-phpapp02
Cinder havana-131111230629-phpapp02Cinder havana-131111230629-phpapp02
Cinder havana-131111230629-phpapp02
 
AEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser CachingAEM (CQ) Dispatcher Security and CDN+Browser Caching
AEM (CQ) Dispatcher Security and CDN+Browser Caching
 
Open stack cinder
Open stack cinderOpen stack cinder
Open stack cinder
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
Volume Mirroring (Havana Summit)
Volume Mirroring (Havana Summit)Volume Mirroring (Havana Summit)
Volume Mirroring (Havana Summit)
 
[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술
[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술
[OpenStack Days Korea 2016] Track2 - OpenStack 기반 소프트웨어 정의 스토리지 기술
 
Scaleable PHP Applications in Kubernetes
Scaleable PHP Applications in KubernetesScaleable PHP Applications in Kubernetes
Scaleable PHP Applications in Kubernetes
 
Storage based on_openstack_mariocho
Storage based on_openstack_mariochoStorage based on_openstack_mariocho
Storage based on_openstack_mariocho
 
Guaranteeing CloudStack Storage Performance
Guaranteeing CloudStack Storage Performance Guaranteeing CloudStack Storage Performance
Guaranteeing CloudStack Storage Performance
 
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copyLinux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
 
HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Express
 
Guaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike TutkowskiGuaranteeing Storage Performance by Mike Tutkowski
Guaranteeing Storage Performance by Mike Tutkowski
 
Docker from basics to orchestration (PHPConfBr2015)
Docker from basics to orchestration (PHPConfBr2015)Docker from basics to orchestration (PHPConfBr2015)
Docker from basics to orchestration (PHPConfBr2015)
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
 
Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"
Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"
Ivan Zhuravel and Ihor Khlaponin "DC/OS vs Kubernetes. Let the Fight Begin!"
 
Deep dive into OpenStack storage, Sean Cohen, Red Hat
Deep dive into OpenStack storage, Sean Cohen, Red HatDeep dive into OpenStack storage, Sean Cohen, Red Hat
Deep dive into OpenStack storage, Sean Cohen, Red Hat
 
How to Become Cloud Backup Provider
How to Become Cloud Backup ProviderHow to Become Cloud Backup Provider
How to Become Cloud Backup Provider
 

More from Cloud Native Day Tel Aviv

More from Cloud Native Day Tel Aviv (20)

Cloud Native is a Cultural Decision. By Reshef Mann
Cloud Native is a Cultural Decision. By Reshef MannCloud Native is a Cultural Decision. By Reshef Mann
Cloud Native is a Cultural Decision. By Reshef Mann
 
Container Runtime Security with Falco, by Néstor Salceda
Container Runtime Security with Falco, by Néstor SalcedaContainer Runtime Security with Falco, by Néstor Salceda
Container Runtime Security with Falco, by Néstor Salceda
 
Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...
Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...
Kafka Mirror Tester: Go and Kubernetes Powered Test Suite for Kafka Replicati...
 
Running I/O intensive workloads on Kubernetes, by Nati Shalom
Running I/O intensive workloads on Kubernetes, by Nati ShalomRunning I/O intensive workloads on Kubernetes, by Nati Shalom
Running I/O intensive workloads on Kubernetes, by Nati Shalom
 
WTF Do We Need a Service Mesh? By Anton Weiss.
WTF Do We Need a Service Mesh? By Anton Weiss.WTF Do We Need a Service Mesh? By Anton Weiss.
WTF Do We Need a Service Mesh? By Anton Weiss.
 
Update Strategies for the Edge, by Kat Cosgrove
Update Strategies for the Edge, by Kat CosgroveUpdate Strategies for the Edge, by Kat Cosgrove
Update Strategies for the Edge, by Kat Cosgrove
 
Building a Cloud-Native SaaS Product The Hard Way. By Arthur Berezin
Building a Cloud-Native SaaS Product The Hard Way. By Arthur BerezinBuilding a Cloud-Native SaaS Product The Hard Way. By Arthur Berezin
Building a Cloud-Native SaaS Product The Hard Way. By Arthur Berezin
 
The Four Questions (Every Monitoring Engineer gets asked), by Leon Adato
The Four Questions (Every Monitoring Engineer gets asked), by Leon AdatoThe Four Questions (Every Monitoring Engineer gets asked), by Leon Adato
The Four Questions (Every Monitoring Engineer gets asked), by Leon Adato
 
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
 
Cloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-Shalom
Cloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-ShalomCloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-Shalom
Cloud Native: The Cattle, the Pets, and the Germs, by Avishai Ish-Shalom
 
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
 
Cloud native transformation patterns, by Pini Reznik
Cloud native transformation patterns, by Pini ReznikCloud native transformation patterns, by Pini Reznik
Cloud native transformation patterns, by Pini Reznik
 
Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...
Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...
Cloud and Edge: price, performance and privacy considerations in IOT, by Tsvi...
 
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
Two Years, Zero servers: Lessons learned from running a startup 100% on Serve...
 
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
12 Factor Serverless Applications - Mike Morain, AWS - Cloud Native Day Tel A...
 
Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...
Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...
Not my problem! Delegating responsibilities to the infrastructure - Yshay Yaa...
 
Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...
Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...
Brain in the Cloud: Machine Learning on OpenStack & Kubernetes Done Right - E...
 
A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...
A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...
A stateful application walks into a Kubernetes bar - Arthur Berezin, JovianX ...
 
The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...
The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...
The story of how KubeMQ was born - Oz Golan, KubeMQ - Cloud Native Day Tel Av...
 
I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018
I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018
I want it all: go hybrid - Orit Yaron, Outbrain - Cloud Native Day Tel Aviv 2018
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Avishay trager cinder-grizzly-deep-dive

  • 1. © 2013 IBM CorporationMay 2013 OpenStack Cinder Deep Dive Grizzly Release Avishay Traeger <avishay@il.ibm.com> IBM Research – Haifa OpenStack Cinder Core Team Member
  • 2. 2 © 2013 IBM Corporation Cinder Overview  Cinder manages persistent storage – Data volumes that are attached to VM instances – Boot from volume  Project exists since Folsom release, spun off from Nova-volume  Volumes have a lifecycle independent of VM instances  For example: – Cinder: create volume – Nova: boot VM instance – Nova: attach volume to instance (will call Cinder) – (More details later)
  • 3. 3 © 2013 IBM Corporation Architectural Overview cinder-api cinder-scheduler cinder-volume cinder-backup SQL DB cinder client REST AMPQAMPQ AMPQ
  • 4. 4 © 2013 IBM Corporation Architectural Overview cinder-api cinder-scheduler cinder-volume cinder-backup SQL DB cinder client REST AMPQAMPQ AMPQ
  • 5. 5 © 2013 IBM Corporation cinder-api  Volume create/delete/list/show – Create from volume, image, snapshot  Snapshot create/delete/list/show  Volume attach/detach (called by Nova)  Others: – Volume types (more later) – Quotas – Backups cinder-api
  • 6. 6 © 2013 IBM Corporation Architectural Overview cinder-api cinder-scheduler cinder-volume cinder-backup SQL DB cinder client REST AMPQAMPQ AMPQ
  • 7. 7 © 2013 IBM Corporation cinder-volume Main components:  API: for cinder-api to communicate with cinder-volume  Manager: Generic code to implement API  Drivers: Called by Manager, contains back-end-specific code to communicate with various storage types (e.g., Linux LVM, storage controllers from various vendors, distributed file systems, etc.) ➢ Admin can run multiple cinder-volume instances, each with its own configuration file describing settings and the storage back-end ➢ As of Grizzly, one cinder-volume instance can manage multiple back-ends ➢ Each back-end driver is generally configured to interact with one storage pool ➢ Multi-threading cinder-volume
  • 8. 8 © 2013 IBM Corporation Example: High-Level Data and Control Flow 1 Nova VM instance /dev/vda KVM iSCSI initiator Cinder /dev/hda Linux Volume Manager iSCSI target Legend Persistent volume control Persistent volume data
  • 9. 9 © 2013 IBM Corporation Example: High-Level Data and Control Flow 2 Storage Controller Nova VM instance /dev/vda KVM iSCSI initiator Cinder iSCSI target Legend Persistent volume control Persistent volume data Note that iSCSI is just an example – several additional protocols are supported (e.g., FC, NFS)
  • 10. 10 © 2013 IBM Corporation Example: Flow for attach a volume to instance 1. Nova calls Cinder via its API, passing connection information  e.g., host name, iSCSI initiator name, FC WWPNs 2. cinder-api passes message to cinder-volume 3. Manager does initial error checking and calls volume driver 4. Volume driver does any necessary preparation to allow the connection  e.g., give the nova host permissions to access the volume 5. Volume driver returns connection information, which is passed to Nova  e.g., iSCSI iqn and portal, FC WWPN 6. Nova creates the connection to the storage using the returned information 7. Nova passes the volume device/file to the hypervisor
  • 11. 11 © 2013 IBM Corporation Architectural Overview cinder-api cinder-scheduler cinder-volume cinder-backup SQL DB cinder client REST AMPQAMPQ AMPQ
  • 12. 12 © 2013 IBM Corporation cinder-scheduler  Chooses which back-end to place a new volume on  Configurable plugins for filters and weights 1. Starts with list of all back-ends 2. Filters according to capabilities  Drivers report capabilities and state (e.g., free space)  Admins create volume_types which specify requirements  Users optionally specify a volume_type when creating a volume 3. Sorts according to weights  e.g., available free space 4. Returns best candidate cinder-scheduler
  • 13. 13 © 2013 IBM Corporation Scheduler / volume_types example
  • 14. 14 © 2013 IBM Corporation Scheduler / volume_types example
  • 15. 15 © 2013 IBM Corporation Scheduler / volume_types example HDDs Compressed Flash/HDD Flash
  • 16. 16 © 2013 IBM Corporation Scheduler / volume_types example
  • 17. 17 © 2013 IBM Corporation Looking Forward to Havana: Features  Code cleanup and reorganization  Attach volume to multiple hosts  Read-only volumes  ACLs  Disk encryption  FC SAN Zone / Access Control management  Transfer volume ownership  Volume Migration  Work towards locality between instances and volumes  Scheduler hints  Volume rate limiting
  • 18. 18 © 2013 IBM Corporation Looking Forward to Havana: New Drivers  IBM GPFS  IBM zVM  EMC Isilon (iSCSI)  Local disk partitions  Hitachi HUS (DF850) (iSCSI)  Dell Equalogic  Violin Memory v6000 (iSCSI) Current drivers: Coraid (AoE) EMC VMAX/VNX (iSCSI) GlusterFS (GlusterFS) HP 3PAR (iSCSI/FC) HP LeftHand (iSCSI) Huawei T-series/Dorado (iSCSI) IBM Storwize family/SVC (iSCSI/FC) IBM XIV (iSCSI), LVM (iSCSI) NetApp (iSCSI/NFS) Nexenta (iSCSI) NFS (NFS) RBD (Ceph) Scality SOFS (scality) Sheepdog (sheepdog) Solaris (iSCSI) SolidFire (iSCSI) Windows Server 2012 (iSCSI) Zadara (iSCSI)
  • 19. 19 © 2013 IBM Corporation