72
Ceph Intro & Architectural Overview Abbas Bangash Intercloud Systems

Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

  • Upload
    lehanh

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Ceph Intro & Architectural Overview

Abbas Bangash

Intercloud Systems

Page 2: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

About Me

2

Abbas Bangash

Systems Team Lead,

Intercloud Systems

[email protected]

intercloudsys.com

Page 3: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

3

CLOUD SERVICES

COMPUTE NETWORK STORAGE

the future of storage™

Page 4: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

4

HUMAN COMPUTER TAPE

Page 5: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

5

YOU TECHNOLOGY YOUR DATA

Page 6: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

6

How Much Store Things All Human

History?!writing

paper

computers

distributed storage

cloud computing

gaaaaaaaaahhhh!!!!!!

carving

Page 7: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

7

HUMAN COMPUTER DISK

DISK

DISK

DISK

DISK

DISK

DISK

HUMAN

HUMAN

Page 8: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

8

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMANHUMAN

HUMAN

HUMAN

HUMAN

HUMANHUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

COMPUTER

Page 9: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

9

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

DISK

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMANHUMAN

HUMAN

HUMAN

HUMAN

HUMANHUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

HUMAN

GIANT

SPENDY

COMPUTER

Page 10: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

10

DISKCOMPUTER

HUMAN

HUMAN

HUMAN

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

Page 11: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

11

HUMAN

HUMAN

HUMAN

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

Page 12: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

12

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

DISKCOMPUTER

“STORAGE APPLIANCE”

Page 13: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Storage Appliance13

Page 14: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

SUPPORT AND

MAINTENANCE

PROPRIETARY

SOFTWARE

14

PROPRIETARY

HARDWARE

DISKCOMPUTE

R

DISKCOMPUTE

R

DISKCOMPUTE

R

DISKCOMPUTE

R

34% of 2012 revenue

(5.2 billion dollars)

1.1 billion in R&D

spent in 2012

1.6 million square feet

of manufacturing space

Page 15: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

15

Page 16: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

16

OPEN SOURCE

COMMUNITY-

FOCUSED

SCALABLE

NO SINGLE POINT OF

FAILURE

SOFTWARE BASED

SELF-MANAGING

philosophy design

Page 17: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

17

CEPH

OBJECT GATEWAY

A powerful S3- and Swift-compatible gateway that brings the power of the Ceph Object Store to modern applications

CEPH

BLOCK DEVICE

A distributed virtual block device that delivers high-

performance, cost-effective storage for virtual machines and legacy applications

CEPH

FILE SYSTEM

A distributed, scale-out filesystem with POSIX

semantics that provides storage for a legacy and

modern applications

OBJECTS VIRTUAL DISKS FILES & DIRECTORIES

CEPH STORAGE CLUSTER

A reliable, easy to manage, next-generation distributed objectstore that provides storage of unstructured data for applications

Page 18: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

18

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

Page 19: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

19

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

Page 20: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

20

DISK

FS

DISK DISK

OSD

DISK DISK

OSD OSD OSD OSD

FS FS FSFSbtrfs

xfs

ext4

MMM

Page 21: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

21

M

M

M

HUMAN

Page 22: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

22

Monitors:

• Maintain cluster membership and state

• Provide consensus for distributed decision-making

• Small, odd number

• These do not serve stored objects to clients

M

OSDs:

• 10s to 10000s in a cluster

• One per disk• (or one per SSD, RAID group…)

• Serve stored objects to clients

• Intelligently peer to perform replication and recovery tasks

Page 23: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

23

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

Page 24: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

LIBRADOS

M

M

M

24

APP

socket

Page 25: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

LLIBRADOS

• Provides direct access to RADOS for applications

• C, C++, Python, PHP, Java, Erlang

• Direct access to storage nodes

• No HTTP overhead

Page 26: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

26

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

Page 27: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

27

M

M

M

LIBRADOS

RADOSGW

APP

socket

REST

Page 28: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

28

RADOS Gateway:

• REST-based object storage proxy

• Uses RADOS to store objects

• API supports buckets, accounts

• Usage accounting for billing

• Compatible with S3 and Swift applications

Page 29: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

29

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

Page 30: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

30

M

M

M

VM

LIBRADOS

LIBRBD

VIRTUALIZATION CONTAINER

Page 31: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

LIBRADOS

31

M

M

M

LIBRBD

CONTAINER

LIBRADOS

LIBRBD

CONTAINERVM

Page 32: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

LIBRADOS

32

M

M

M

KRBD (KERNEL MODULE)

HOST

Page 33: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

33

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

Page 34: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

34

RADOS

A reliable, autonomous, distributed object store comprised of self-healing, self-managing,

intelligent storage nodes

LIBRADOS

A library allowing

apps to directly

access RADOS,

with support for

C, C++, Java,

Python, Ruby,

and PHP

RBD

A reliable and fully-

distributed block

device, with a Linux

kernel client and a

QEMU/KVM driver

CEPH FS

A POSIX-compliant

distributed file

system, with a Linux

kernel client and

support for FUSE

RADOSGW

A bucket-based REST

gateway, compatible

with S3 and Swift

APP APP HOST/VM CLIENT

Page 35: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

35

M

M

M

CLIENT

01

10data

metadata

Page 36: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

36

Metadata Server

• Manages metadata for a POSIX-compliant shared filesystem• Directory hierarchy

• File metadata (owner, timestamps, mode, etc.)

• Stores metadata in RADOS

• Does not serve file data to clients

• Only required for shared filesystem

Page 37: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

What Makes Ceph Unique?Part one: CRUSH

37

Page 38: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

38

APP??

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

Page 39: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

How Long Did It Take You To Find Your Keys This Morning?azmeen, Flickr / CC BY 2.0 39

Page 40: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

40

APP

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

Page 41: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Dear Diary: Today I Put My Keys on the Kitchen CounterBarnaby, Flickr / CC BY 2.0 41

Page 42: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

42

APP

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

DC

A-G

H-N

O-T

U-Z

F*

Page 43: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

HOW DO YOU

FIND YOUR KEYS

WHEN YOUR HOUSE

IS

INFINITELY BIG

AND

ALWAYS CHANGING?

43

Page 44: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

The Answer: CRUSH!!!!!pasukaru76, Flickr / CC SA 2.0 44

Page 45: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

45

10 10 01 01 10 10 01 11 01 10

10 10 01 01 10 10 01 11 01 10

hash(object name) % num pg

CRUSH(pg, cluster state, rule set)

Page 46: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

46

10 10 01 01 10 10 01 11 01 10

10 10 01 01 10 10 01 11 01 10

Page 47: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

47

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

Page 48: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

48

CLIENT

??

Page 49: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

49

NAME: "foo"

POOL: "bar"

0101 1111

1001 0011

1010 1101

0011 1011 "bar" = 3

hash("foo") % 256 = 0x23

OBJECT PLACEMENT GROUP

24

3

12

CRUSH TARGET OSDsPLACEMENT GROUP

3.23

3.23

Page 50: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

50

Page 51: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

51

Page 52: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

52

CLIENT

??

Page 53: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

What Makes Ceph UniquePart two: thin provisioning

53

Page 54: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

LIBRADOS

54

M

M

M

VM

LIBRBD

VIRTUALIZATION CONTAINER

Page 55: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

HOW DO YOU

SPIN UP

THOUSANDS OF VMs

INSTANTLY

AND

EFFICIENTLY?

55

Page 56: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

144

56

0 0 0 0

instant copy

= 144

Page 57: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

4144

57

CLIENT

write

write

write

= 148

write

Page 58: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

4144

58

CLIENTread

read

read

= 148

Page 59: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

What Makes Ceph Unique?Part three: clustered metadata

59

Page 60: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

POSIX Filesystem MetadataBarnaby, Flickr / CC BY 2.0 60

Page 61: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

61

M

M

M

CLIENT

01

10

Page 62: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

62

M

M

M

Page 63: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

63

one tree

three metadata servers

??

Page 64: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

64

Page 65: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

65

Page 66: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

66

Page 67: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

67

Page 68: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

68

DYNAMIC SUBTREE PARTITIONING

Page 69: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

OpenStack + Ceph

Used for Glance Images, Cinder Volumes and Novaephemeral disk (coming soon)

Ceph + OpenStack offers compelling features:

• CoW clones, layered volumes, snapshots, boot from volume, live migration

• Cost effective with Thin Provisioning

• ~110TB “used”, ~45TB * replicas on disk

Ceph is the most popular network block storage backend for OpenStack

69

Page 70: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Deployment

Automated deployment using Cephdeploy

Automated machine commissioning and maintenance• Add a server to the hostgroup (osd, mon, radosgw)

• OSD disks are detected, formatted, prepared, auth’d• Also after disk replacement

• Auto-generated ceph.conf

• Last step is manual/controlled: service ceph start

Cephdeploy for bulk operations on the servers• Ceph rpm upgrades

• daemon restarts

70

Page 71: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Getting Started With Ceph

Read about the latest version of Ceph.

• The latest stuff is always at http://ceph.com/get

Deploy a test cluster using ceph-deploy.

• Read the quick-start guide at http://ceph.com/qsg

Deploy a test cluster on the AWS free-tier using Juju.

• Read the guide at http://ceph.com/juju

Read the rest of the docs!

• Find docs for the latest release at http://ceph.com/docs

71

Have a working cluster up quickly.

Page 72: Ceph Intro & Architectural Overview - GitHub Pagesopenstackpakistan.github.io/web/resources/meetup_2nd_ceph.pdf · Ceph is the most popular network block storage backend for OpenStack

Getting Involved With Ceph

Most project discussion happens on the mailing list.

• Join or view archives at http://ceph.com/list

IRC is a great place to get help (or help others!)

• Find details and historical logs at http://ceph.com/irc

The tracker manages our bugs and feature requests.

• Register and start looking around at http://ceph.com/tracker

Doc updates and suggestions are always welcome.

• Learn how to contribute docs at http://ceph.com/docwriting

72

Help build the best storage system around!