SlideShare a Scribd company logo
1
An Overview
OpenStack BLR Meetup, June 2015
Deepak C Shetty (deepakcs)
Ceph & OpenStack
2
Why Ceph ?
3
Ceph in OpenStack -2014
Source: http://superuser.openstack.org/articles/openstack-user-survey-insights-november-2014
4
Ceph in OpenStack - 2015
Source:
http://superuser.openstack.org/articles/openstack-users-share-how-their-deployments-stack-up
5
What is Ceph ?
● Distributed storage system
● Algorithmic placement - CRUSH
● No single point of failure
● Self healing and self managing
● Runs on commodity hardware
– No vendor lockin!
● Opensource
– GPLv2 License
– Community driven
Probably, one of the best examples of
SDS (aka Software Defined Storage)
6
Storage that scales
7
Ceph - Architecture
- Not Production ready yet!
8
RADOS COMPONENTS
OSDs:
 10s to 10000s in a cluster
 One per disk (or one per SSD, RAID
group…)
 Serve stored objects to clients
 Intelligently peer for replication & recovery
Monitors:
 Maintain cluster membership and state
 Provide consensus for distributed decision-
making
 Small, odd number
 These do not serve stored objects to
clients
M
9
OBJECT STORAGE DAEMONS
FS
DISK
OSD
DISK
OSD
FS
DISK
OSD
FS
DISK
OSD
FS
btrfs
xfs
ext4
zfs?
M
M
M
10
CRUSH IS A QUICK CALCULATION
RADOS CLUSTER
OBJECT
1
0
0
1
0
1
1
0
1
0
0
1
1
1
0
1
1
0
0
1
0
1
1
0
1
0
0
1
1
1
0
1
11
CRUSH: DYNAMIC DATA PLACEMENT
CRUSH:
 Pseudo-random placement algorithm
 Fast calculation, no lookup
 Repeatable, deterministic
 Statistically uniform distribution
 Stable mapping
 Limited data migration on change
 Rule-based configuration
 Infrastructure topology aware
 Adjustable replication
 Weighting
12
ACCESSING A RADOS CLUSTER
APPLICATION
M M
M
RADOS CLUSTER
LIBRADOS
OBJECT
socket
13
L
LIBRADOS: RADOS ACCESS FOR
APPS
LIBRADOS:
 Direct access to RADOS for applications
 C, C++, Python, PHP, Java, Erlang
 Direct access to storage nodes
 No HTTP overhead
14
THE RADOS GATEWAY
M M
M
RADOS CLUSTER
RADOSGW
LIBRADOS
socket
RADOSGW
LIBRADOS
APPLICATION APPLICATION
REST
15
RADOSGW MAKES RADOS
WEBBY
RADOSGW:
 REST-based object storage proxy
 Uses RADOS to store objects
 API supports buckets, accounts
 Usage accounting for billing
 Compatible with S3 and Swift applications
16
STORING VIRTUAL DISKS
M M
RADOS CLUSTER
HYPERVISOR
LIBRBD
VM
17
SEPARATE COMPUTE FROM
STORAGE
M M
RADOS CLUSTER
HYPERVISOR
LIBRB
D
VM
HYPERVISOR
LIBRB
D
18
KERNEL MODULE FOR MAX
FLEXIBLE!
M M
RADOS CLUSTER
LINUX HOST
KRBD
19
RBD STORES VIRTUAL DISKS
RADOS BLOCK DEVICE:
 Storage of disk images in RADOS
 Decouples VMs from host
 Images are striped across the cluster
(pool)
 Snapshots
 Copy-on-write clones
 Support in:
 Mainline Linux Kernel (2.6.39+)
 Qemu/KVM, native Xen coming soon
 OpenStack, CloudStack, Nebula,
Proxmox
20
Ceph - Unified Storage for OpenStack
21
Ceph as Unified Storage for OpenStack - Adv.
● No storage silos
– Deploy/Manage 1 cluster with diff. pools
● Create image from volume and vice-versa optimizations
● Nova boot from volume optimizations
● Live migration
● Volume retype/migrate optimizations possible (WIP)
● Cinder Backup optimizations
– Full and differential
● Cinder Volume replication (DR) made efficient via RBD
mirroring (WIP)
22
Ceph & OpenStack Storage- Summary
● Object Storage like Swift
– Ceph RADOSGW as a drop-in replacement for OpenStack Swift
● Block Storage in Cinder
– Ceph RBD pool for storing Cinder volumes
● Ephemeral Storage in Nova
– Ceph RBD pool as backend for Ephemeral storage
– Nova boot from volume
● Image Storage in Glance
– Ceph RBD pool as a glance image store
● Backup target for Cinder-Backup
– Ceph RBD pool as a backup target for Cinder
– Backup / Restore cinder volumes to/from Ceph RBD pool
● File Storage in Manila (upcoming / future)
– CephFS as a backend for Manila FS shares
23
References
● Get the best configuration for your cloud
– Devil is in the details
– http://ceph.com/docs/master/rbd/rbd-openstack
● Ceph and openstack, current integration, roadmap
(Vancouver summit prez)
– http://www.slideshare.net/Red_Hat_Storage/open-
stack-ceph-liberty
24
Questions ?
● Disclaimer
– Most (if not all) content for this prez taken from
slideshare, youtube videos, ceph.com docs & other
publicly available presentations.

More Related Content

PDF
How to Survive an OpenStack Cloud Meltdown with Ceph
Sean Cohen
 
PDF
When disaster strikes the cloud: Who, what, when, where and how to recover
Sean Cohen
 
PDF
Protecting the Galaxy - Multi-Region Disaster Recovery with OpenStack and Ceph
Sean Cohen
 
PDF
Peanut Butter and jelly: Mapping the deep Integration between Ceph and OpenStack
Sean Cohen
 
PDF
Ceph and Mirantis OpenStack
Mirantis
 
PPT
Openstack Summit HK - Ceph defacto - eNovance
eNovance
 
PDF
Disaster Recovery and Ceph Block Storage: Introducing Multi-Site Mirroring
Jason Dillaman
 
PPTX
Jaspreet webinar-cns
Jaspreet Kaur
 
How to Survive an OpenStack Cloud Meltdown with Ceph
Sean Cohen
 
When disaster strikes the cloud: Who, what, when, where and how to recover
Sean Cohen
 
Protecting the Galaxy - Multi-Region Disaster Recovery with OpenStack and Ceph
Sean Cohen
 
Peanut Butter and jelly: Mapping the deep Integration between Ceph and OpenStack
Sean Cohen
 
Ceph and Mirantis OpenStack
Mirantis
 
Openstack Summit HK - Ceph defacto - eNovance
eNovance
 
Disaster Recovery and Ceph Block Storage: Introducing Multi-Site Mirroring
Jason Dillaman
 
Jaspreet webinar-cns
Jaspreet Kaur
 

What's hot (20)

PPT
Ceph Performance and Optimization - Ceph Day Frankfurt
Ceph Community
 
PDF
2015 open storage workshop ceph software defined storage
Andrew Underwood
 
PPTX
Introduction to rook
Rohan Gupta
 
PPTX
What is a Ceph (and why do I care). OpenStack storage - Colorado OpenStack Me...
Ian Colle
 
PDF
Gluster and Kubernetes
Gluster.org
 
PPTX
New Ceph capabilities and Reference Architectures
Kamesh Pemmaraju
 
PPTX
Using Rook to Manage Kubernetes Storage with Ceph
CloudOps2005
 
PPTX
OpenStack and Ceph case study at the University of Alabama
Kamesh Pemmaraju
 
PDF
Tutorial ceph-2
Tommy Lee
 
PDF
Quick-and-Easy Deployment of a Ceph Storage Cluster
Patrick Quairoli
 
PDF
TUT18972: Unleash the power of Ceph across the Data Center
Ettore Simone
 
PDF
Storage tiering and erasure coding in Ceph (SCaLE13x)
Sage Weil
 
PDF
Containarized Gluster Storage in Kubernetes
Neependra Khare
 
PPTX
Designing for High Performance Ceph at Scale
James Saint-Rossy
 
PDF
Red Hat Ceph Storage Roadmap: January 2016
Red_Hat_Storage
 
PDF
Gluster as Native Storage for Containers - past, present and future
Gluster.org
 
PDF
Introduction into Ceph storage for OpenStack
OpenStack_Online
 
PPTX
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Community
 
PDF
2021.02 new in Ceph Pacific Dashboard
Ceph Community
 
PDF
Scaling Ceph at CERN - Ceph Day Frankfurt
Ceph Community
 
Ceph Performance and Optimization - Ceph Day Frankfurt
Ceph Community
 
2015 open storage workshop ceph software defined storage
Andrew Underwood
 
Introduction to rook
Rohan Gupta
 
What is a Ceph (and why do I care). OpenStack storage - Colorado OpenStack Me...
Ian Colle
 
Gluster and Kubernetes
Gluster.org
 
New Ceph capabilities and Reference Architectures
Kamesh Pemmaraju
 
Using Rook to Manage Kubernetes Storage with Ceph
CloudOps2005
 
OpenStack and Ceph case study at the University of Alabama
Kamesh Pemmaraju
 
Tutorial ceph-2
Tommy Lee
 
Quick-and-Easy Deployment of a Ceph Storage Cluster
Patrick Quairoli
 
TUT18972: Unleash the power of Ceph across the Data Center
Ettore Simone
 
Storage tiering and erasure coding in Ceph (SCaLE13x)
Sage Weil
 
Containarized Gluster Storage in Kubernetes
Neependra Khare
 
Designing for High Performance Ceph at Scale
James Saint-Rossy
 
Red Hat Ceph Storage Roadmap: January 2016
Red_Hat_Storage
 
Gluster as Native Storage for Containers - past, present and future
Gluster.org
 
Introduction into Ceph storage for OpenStack
OpenStack_Online
 
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Community
 
2021.02 new in Ceph Pacific Dashboard
Ceph Community
 
Scaling Ceph at CERN - Ceph Day Frankfurt
Ceph Community
 
Ad

Similar to Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015 (20)

PDF
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019
Sean Cohen
 
PDF
3 ubuntu open_stack_ceph
openstackindia
 
PDF
Ceph Goes on Online at Qihoo 360 - Xuehan Xu
Ceph Community
 
PDF
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
Ceph Community
 
PDF
Cisco: Cassandra adoption on Cisco UCS & OpenStack
DataStax Academy
 
PDF
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Community
 
PDF
Cncf meetup-rook
Juraj Hantak
 
PDF
Cncf meetup-rook
Juraj Hantak
 
PDF
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
Dávid Kőszeghy
 
PPTX
Kubernetes Stateful Workloads on Legacy Storage
Akhil Mohan
 
PDF
Ceph storage for ocp deploying and managing ceph on top of open shift conta...
OrFriedmann
 
PDF
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
Rakuten Group, Inc.
 
PDF
Red Hat Storage 2014 - Product(s) Overview
Marcel Hergaarden
 
PDF
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
OpenStack
 
PPT
Open vStorage Road show 2015 Q1
wim_provoost
 
PDF
What's new in Jewel and Beyond
Sage Weil
 
PDF
Ceph and Apache CloudStack
ke4qqq
 
PDF
Webinar - Getting Started With Ceph
Ceph Community
 
PDF
OpenStack and Ceph: the Winning Pair
Red_Hat_Storage
 
PDF
Open Source Storage at Scale: Ceph @ GRNET
Nikos Kormpakis
 
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019
Sean Cohen
 
3 ubuntu open_stack_ceph
openstackindia
 
Ceph Goes on Online at Qihoo 360 - Xuehan Xu
Ceph Community
 
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
Ceph Community
 
Cisco: Cassandra adoption on Cisco UCS & OpenStack
DataStax Academy
 
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Community
 
Cncf meetup-rook
Juraj Hantak
 
Cncf meetup-rook
Juraj Hantak
 
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
Dávid Kőszeghy
 
Kubernetes Stateful Workloads on Legacy Storage
Akhil Mohan
 
Ceph storage for ocp deploying and managing ceph on top of open shift conta...
OrFriedmann
 
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
Rakuten Group, Inc.
 
Red Hat Storage 2014 - Product(s) Overview
Marcel Hergaarden
 
The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat
OpenStack
 
Open vStorage Road show 2015 Q1
wim_provoost
 
What's new in Jewel and Beyond
Sage Weil
 
Ceph and Apache CloudStack
ke4qqq
 
Webinar - Getting Started With Ceph
Ceph Community
 
OpenStack and Ceph: the Winning Pair
Red_Hat_Storage
 
Open Source Storage at Scale: Ceph @ GRNET
Nikos Kormpakis
 
Ad

Recently uploaded (20)

PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Doc9.....................................
SofiaCollazos
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 

Ceph & OpenStack talk given @ OpenStack Meetup @ Bangalore, June 2015

  • 1. 1 An Overview OpenStack BLR Meetup, June 2015 Deepak C Shetty (deepakcs) Ceph & OpenStack
  • 3. 3 Ceph in OpenStack -2014 Source: http://superuser.openstack.org/articles/openstack-user-survey-insights-november-2014
  • 4. 4 Ceph in OpenStack - 2015 Source: http://superuser.openstack.org/articles/openstack-users-share-how-their-deployments-stack-up
  • 5. 5 What is Ceph ? ● Distributed storage system ● Algorithmic placement - CRUSH ● No single point of failure ● Self healing and self managing ● Runs on commodity hardware – No vendor lockin! ● Opensource – GPLv2 License – Community driven Probably, one of the best examples of SDS (aka Software Defined Storage)
  • 7. 7 Ceph - Architecture - Not Production ready yet!
  • 8. 8 RADOS COMPONENTS OSDs:  10s to 10000s in a cluster  One per disk (or one per SSD, RAID group…)  Serve stored objects to clients  Intelligently peer for replication & recovery Monitors:  Maintain cluster membership and state  Provide consensus for distributed decision- making  Small, odd number  These do not serve stored objects to clients M
  • 10. 10 CRUSH IS A QUICK CALCULATION RADOS CLUSTER OBJECT 1 0 0 1 0 1 1 0 1 0 0 1 1 1 0 1 1 0 0 1 0 1 1 0 1 0 0 1 1 1 0 1
  • 11. 11 CRUSH: DYNAMIC DATA PLACEMENT CRUSH:  Pseudo-random placement algorithm  Fast calculation, no lookup  Repeatable, deterministic  Statistically uniform distribution  Stable mapping  Limited data migration on change  Rule-based configuration  Infrastructure topology aware  Adjustable replication  Weighting
  • 12. 12 ACCESSING A RADOS CLUSTER APPLICATION M M M RADOS CLUSTER LIBRADOS OBJECT socket
  • 13. 13 L LIBRADOS: RADOS ACCESS FOR APPS LIBRADOS:  Direct access to RADOS for applications  C, C++, Python, PHP, Java, Erlang  Direct access to storage nodes  No HTTP overhead
  • 14. 14 THE RADOS GATEWAY M M M RADOS CLUSTER RADOSGW LIBRADOS socket RADOSGW LIBRADOS APPLICATION APPLICATION REST
  • 15. 15 RADOSGW MAKES RADOS WEBBY RADOSGW:  REST-based object storage proxy  Uses RADOS to store objects  API supports buckets, accounts  Usage accounting for billing  Compatible with S3 and Swift applications
  • 16. 16 STORING VIRTUAL DISKS M M RADOS CLUSTER HYPERVISOR LIBRBD VM
  • 17. 17 SEPARATE COMPUTE FROM STORAGE M M RADOS CLUSTER HYPERVISOR LIBRB D VM HYPERVISOR LIBRB D
  • 18. 18 KERNEL MODULE FOR MAX FLEXIBLE! M M RADOS CLUSTER LINUX HOST KRBD
  • 19. 19 RBD STORES VIRTUAL DISKS RADOS BLOCK DEVICE:  Storage of disk images in RADOS  Decouples VMs from host  Images are striped across the cluster (pool)  Snapshots  Copy-on-write clones  Support in:  Mainline Linux Kernel (2.6.39+)  Qemu/KVM, native Xen coming soon  OpenStack, CloudStack, Nebula, Proxmox
  • 20. 20 Ceph - Unified Storage for OpenStack
  • 21. 21 Ceph as Unified Storage for OpenStack - Adv. ● No storage silos – Deploy/Manage 1 cluster with diff. pools ● Create image from volume and vice-versa optimizations ● Nova boot from volume optimizations ● Live migration ● Volume retype/migrate optimizations possible (WIP) ● Cinder Backup optimizations – Full and differential ● Cinder Volume replication (DR) made efficient via RBD mirroring (WIP)
  • 22. 22 Ceph & OpenStack Storage- Summary ● Object Storage like Swift – Ceph RADOSGW as a drop-in replacement for OpenStack Swift ● Block Storage in Cinder – Ceph RBD pool for storing Cinder volumes ● Ephemeral Storage in Nova – Ceph RBD pool as backend for Ephemeral storage – Nova boot from volume ● Image Storage in Glance – Ceph RBD pool as a glance image store ● Backup target for Cinder-Backup – Ceph RBD pool as a backup target for Cinder – Backup / Restore cinder volumes to/from Ceph RBD pool ● File Storage in Manila (upcoming / future) – CephFS as a backend for Manila FS shares
  • 23. 23 References ● Get the best configuration for your cloud – Devil is in the details – http://ceph.com/docs/master/rbd/rbd-openstack ● Ceph and openstack, current integration, roadmap (Vancouver summit prez) – http://www.slideshare.net/Red_Hat_Storage/open- stack-ceph-liberty
  • 24. 24 Questions ? ● Disclaimer – Most (if not all) content for this prez taken from slideshare, youtube videos, ceph.com docs & other publicly available presentations.