60
Ceph for SMBs Are we there yet? Martin Gerhard Loschwitz © 2013 hastexo Professional Services GmbH. All rights reserved.

London Ceph Day: Ceph for SMBs: Are we there yet?

  • Upload
    inktank

  • View
    491

  • Download
    8

Embed Size (px)

DESCRIPTION

Martin Loschwitz, Co-Founder, Hastexo

Citation preview

Page 1: London Ceph Day: Ceph for SMBs: Are we there yet?

Ceph for SMBs Are we there yet?

Martin Gerhard Loschwitz

© 2013 hastexo Professional Services GmbH. All rights reserved.

Page 2: London Ceph Day: Ceph for SMBs: Are we there yet?

Who?

Page 3: London Ceph Day: Ceph for SMBs: Are we there yet?
Page 4: London Ceph Day: Ceph for SMBs: Are we there yet?
Page 5: London Ceph Day: Ceph for SMBs: Are we there yet?

SMBs? Why even bother?

Page 6: London Ceph Day: Ceph for SMBs: Are we there yet?

What is an SMB?

Page 7: London Ceph Day: Ceph for SMBs: Are we there yet?

Number of employees & revenue per year

Page 8: London Ceph Day: Ceph for SMBs: Are we there yet?

Do these work for IT?

Page 9: London Ceph Day: Ceph for SMBs: Are we there yet?

Cloud & Automation: Do more work

with less people

Page 10: London Ceph Day: Ceph for SMBs: Are we there yet?

Revenue: May be low, but high when compared to the actual work effort

Page 11: London Ceph Day: Ceph for SMBs: Are we there yet?

Long story short: Typical SMB definitions don’t work well for IT

Page 12: London Ceph Day: Ceph for SMBs: Are we there yet?

Also, IT is different from most

other businesses

Page 13: London Ceph Day: Ceph for SMBs: Are we there yet?

Storage is a perfect example for this!

Page 14: London Ceph Day: Ceph for SMBs: Are we there yet?

Ceph is interesting for both SMB providers and

SMB customers

Page 15: London Ceph Day: Ceph for SMBs: Are we there yet?

Which features make Ceph interesting for SMBs?

Page 16: London Ceph Day: Ceph for SMBs: Are we there yet?

Commodity Hardware

Page 17: London Ceph Day: Ceph for SMBs: Are we there yet?

No Vendor Lock-In

Page 18: London Ceph Day: Ceph for SMBs: Are we there yet?

Scale-Out

Page 19: London Ceph Day: Ceph for SMBs: Are we there yet?

Open Source

Page 20: London Ceph Day: Ceph for SMBs: Are we there yet?

Low price per Megabyte

Page 21: London Ceph Day: Ceph for SMBs: Are we there yet?

40TB, 3 replicas = € 21.000

Page 22: London Ceph Day: Ceph for SMBs: Are we there yet?

Typical situation: SMBs migrating

away from SANs

Page 23: London Ceph Day: Ceph for SMBs: Are we there yet?

Typical SMB use cases for storage

Page 24: London Ceph Day: Ceph for SMBs: Are we there yet?

Virtualization storage

Page 25: London Ceph Day: Ceph for SMBs: Are we there yet?

KVM/Qemu: Yay

Page 26: London Ceph Day: Ceph for SMBs: Are we there yet?

VMWare, HyperV: Ouch

Page 27: London Ceph Day: Ceph for SMBs: Are we there yet?

Backup storage

Page 28: London Ceph Day: Ceph for SMBs: Are we there yet?

MO

N

MO

N

MO

N

Users

Objects

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

Ceph Block Device Block-level interface

driver for Ceph

Ceph Object Gateway

ReSTful API to access Ceph

CephFS POSIX file system access to Ceph

Page 29: London Ceph Day: Ceph for SMBs: Are we there yet?

MO

N

MO

N

MO

N

Users

Objects

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

Ceph Block Device Block-level interface

driver for Ceph

Ceph Object Gateway

ReSTful API to access Ceph

CephFS POSIX file system access to Ceph

Page 30: London Ceph Day: Ceph for SMBs: Are we there yet?

But no specific backup features

Page 31: London Ceph Day: Ceph for SMBs: Are we there yet?

CDN-like storage

Page 32: London Ceph Day: Ceph for SMBs: Are we there yet?

MO

N

MO

N

MO

N

Users

Objects

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

OS

D

Ceph Block Device Block-level interface

driver for Ceph

Ceph Object Gateway

ReSTful API to access Ceph

CephFS POSIX file system access to Ceph

Page 33: London Ceph Day: Ceph for SMBs: Are we there yet?

May require application porting

Page 34: London Ceph Day: Ceph for SMBs: Are we there yet?

Cloud Computing

Page 35: London Ceph Day: Ceph for SMBs: Are we there yet?

Challenges

Page 36: London Ceph Day: Ceph for SMBs: Are we there yet?

File storage

Page 37: London Ceph Day: Ceph for SMBs: Are we there yet?

CIFS / NFS: Meh

Page 38: London Ceph Day: Ceph for SMBs: Are we there yet?

The Gateway problem

Page 39: London Ceph Day: Ceph for SMBs: Are we there yet?

iSCSI

Page 40: London Ceph Day: Ceph for SMBs: Are we there yet?

Looks good, eh? Well, it isn’t.

Page 41: London Ceph Day: Ceph for SMBs: Are we there yet?

Involves iSCSI on top of RBD

Page 42: London Ceph Day: Ceph for SMBs: Are we there yet?

Results in loopback RBD mappings

Page 43: London Ceph Day: Ceph for SMBs: Are we there yet?

RBD mappings are kernel processes

Page 44: London Ceph Day: Ceph for SMBs: Are we there yet?

Kernel processes may not move into Swap

Page 45: London Ceph Day: Ceph for SMBs: Are we there yet?

Now imagine this …

Page 46: London Ceph Day: Ceph for SMBs: Are we there yet?

Ceph needs memory, flushes cache

Page 47: London Ceph Day: Ceph for SMBs: Are we there yet?

Flushes stuff that belongs to the RBD mapping

Page 48: London Ceph Day: Ceph for SMBs: Are we there yet?

RBD tries to flush stuff by writing back to Ceph

Page 49: London Ceph Day: Ceph for SMBs: Are we there yet?

Deadlock (under heavy load)

Page 50: London Ceph Day: Ceph for SMBs: Are we there yet?

iSCSI

Page 51: London Ceph Day: Ceph for SMBs: Are we there yet?

iSCSI

Page 52: London Ceph Day: Ceph for SMBs: Are we there yet?

HDD efficiency

Page 53: London Ceph Day: Ceph for SMBs: Are we there yet?

3 2U-Server 22 HDDs 4TB each 2 Replicas

Page 54: London Ceph Day: Ceph for SMBs: Are we there yet?

“Don’t do that”

Page 55: London Ceph Day: Ceph for SMBs: Are we there yet?

8 HDDs 4TB each 2 Replicas

9 2U-servers

Page 56: London Ceph Day: Ceph for SMBs: Are we there yet?

OSDs need RAM & CPU

Page 57: London Ceph Day: Ceph for SMBs: Are we there yet?

Replication efficiency

Page 58: London Ceph Day: Ceph for SMBs: Are we there yet?

Multi-DC installations

Page 59: London Ceph Day: Ceph for SMBs: Are we there yet?

Summary

Page 60: London Ceph Day: Ceph for SMBs: Are we there yet?

goo.gl/S1sYZ (me on Google+)

twitter.com/hastexo

hastexo.com