Ceph Workshop: Gridka School 2015
Ceph Workshop: Gridka School 2015
Diana Gudu
Uros Stevanovic
September 8, 2015
Karlsruhe Institute of Technology
introduction round
diana gudu
2
uros stevanovic
3
you
Your turn!
4
evolution of storage
evolution of storage
Human
Computer
Disk
6
evolution of storage
©trumpiot.co
6
evolution of storage
Computer
6
evolution of storage
Human Human
Computer
6
evolution of storage
Human Human
Computer
Big Expensive Computer
6
evolution of storage
6
evolution of storage
Storage appliance
6
storage appliance
Oracle http://www.e-business.com/zfs-7420-storage-appliance
7
future of storage
Proprietary software
Proprietary hardware
8
future of storage
Computer Computer Computer Computer Computer Computer Computer Computer Computer Computer
Disk Disk Disk Disk Disk Disk Disk Disk Disk Disk
8
ceph
ceph
Philosophy
∙ open-source
10
ceph
Philosophy
∙ open-source
∙ community focused
10
ceph
Philosophy
∙ open-source
∙ community focused
∙ software-defined
10
ceph
Philosophy
∙ open-source
∙ community focused
∙ software-defined
∙ scale-out hardware, no SPF
10
ceph
Philosophy
∙ open-source
∙ community focused
∙ software-defined
∙ scale-out hardware, no SPF
∙ self-managing
10
ceph
Philosophy
∙ open-source
∙ community focused
∙ software-defined
∙ scale-out hardware, no SPF
∙ self-managing
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused 2014
∙ software-defined 2012
2010
∙ scale-out hardware, no SPF
2006
∙ self-managing
2004
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused 2014
∙ software-defined 2012
2010
∙ scale-out hardware, no SPF
2006
∙ self-managing
PhD thesis at UCSC 2004
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused 2014
∙ software-defined 2012
2010
∙ scale-out hardware, no SPF
Project is open-sourced 2006
∙ self-managing
PhD thesis at UCSC 2004
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused 2014
∙ software-defined 2012
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused 2014
∙ failure is normal
10
ceph
Philosophy History
∙ open-source
∙ community focused RedHat acquisition 2014
∙ failure is normal
10
ceph architecture
11
ceph architecture
librados
RADOS
11
rados
12
ceph daemons
OSD MON
∙ serve objects to clients ∙ maintain cluster state and
∙ one per disk membership
∙ write-ahead journal
13
data placement
hotels
http://free-stock-illustration.com/hotel+key+card
15
hotels
http://2.bp.blogspot.com/-o-rlIrv094E/TXxj8D-B2LI/AAAAAAAAGh8/VEbrbHpxVxo/s1600/DSC02213.JPG
15
hotels
15
hotels
http://waltonian.com/news/eastern-library-renovations-continue/
15
hotels
Scale-up everything?
http://www.millenniumhotels.com/content/dam/global/en/the-heritage-hotel-manila/images/cons-photographics-lobby-reception-desk%2003062011_34-basicB-preview-2048.jpg
15
hotels
15
hotels
15
crush
011101010100011010101010
placement group
CRUSH
OSD
OSD OSD
16
crush
obj=’foo’
011101010100011010101010 pool=’bar’
OSD osd.2
16
crush
17
crush
rack bucket
17
ceph clients
librados
19
radosgw
∙ RESTful API
∙ unified object namespace
∙ S3 and Swift compatible
∙ user database and access control
∙ usage accounting, billing
20
rbd
21
CephFS
FS client
metadata data
22
CephFS
Metadata Server
23
dynamic subtree partitioning
24
tutorial
overview
26
cluster set-up
OSD
ceph-5 admin ceph-1 MON
/dev/vdb
OSD
ceph-2 MON
/dev/vdb
OSD
ceph-3 MON
/dev/vdb
MDS OSD
ceph-4
/dev/vdb
27
Questions?
28