storage mit ceph (glt 2013)

84
Storage mit Ceph Scale-Out ganz einfach Martin Gerhard Loschwitz © 2013 hastexo Professional Services GmbH. All rights reserved.

Upload: hastexo

Post on 09-Jul-2015

300 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Storage mit ceph (glt 2013)

Storage mit Ceph Scale-Out ganz einfach

Martin Gerhard Loschwitz

© 2013 hastexo Professional Services GmbH. All rights reserved.

Page 2: Storage mit ceph (glt 2013)

Wer?

Page 3: Storage mit ceph (glt 2013)
Page 4: Storage mit ceph (glt 2013)
Page 5: Storage mit ceph (glt 2013)
Page 6: Storage mit ceph (glt 2013)
Page 7: Storage mit ceph (glt 2013)
Page 8: Storage mit ceph (glt 2013)
Page 9: Storage mit ceph (glt 2013)
Page 10: Storage mit ceph (glt 2013)
Page 11: Storage mit ceph (glt 2013)
Page 12: Storage mit ceph (glt 2013)

Skalierbares Storage

Page 13: Storage mit ceph (glt 2013)

2 Arten von Skalierbarkeit

Page 14: Storage mit ceph (glt 2013)

Scale-Up

Page 15: Storage mit ceph (glt 2013)

Scale-Up vorher:

Page 16: Storage mit ceph (glt 2013)

Scale-Up danach:

Page 17: Storage mit ceph (glt 2013)

Scale-Up stößt schnell an seine Grenzen

Page 18: Storage mit ceph (glt 2013)

Scale-Out

Page 19: Storage mit ceph (glt 2013)

Scale-Out vorher:

Page 20: Storage mit ceph (glt 2013)

Scale-Out danach:

Page 21: Storage mit ceph (glt 2013)

Scale-Out ist hip

Page 22: Storage mit ceph (glt 2013)

Webserver

Page 23: Storage mit ceph (glt 2013)

Datenbanken

Page 24: Storage mit ceph (glt 2013)

Sogar ich!

Page 25: Storage mit ceph (glt 2013)

Storage? Meh.

Page 26: Storage mit ceph (glt 2013)

Das Block-Problem

Page 27: Storage mit ceph (glt 2013)

HDD FS

User Space

Page 28: Storage mit ceph (glt 2013)

Blöcke für verteilte Systeme?

Page 29: Storage mit ceph (glt 2013)

Ich glaube nicht, Tim!

Page 30: Storage mit ceph (glt 2013)

Object Stores

Page 31: Storage mit ceph (glt 2013)
Page 32: Storage mit ceph (glt 2013)

User Space

Objects

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

Page 33: Storage mit ceph (glt 2013)

User Space

Objects

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

HDD

FS

Page 34: Storage mit ceph (glt 2013)
Page 35: Storage mit ceph (glt 2013)

Ursprünglich eine Dissertation

Page 36: Storage mit ceph (glt 2013)
Page 37: Storage mit ceph (glt 2013)

Object Store

Page 38: Storage mit ceph (glt 2013)

RADOS

Page 39: Storage mit ceph (glt 2013)

Redundant Autonomic Distributed Object Store

Page 40: Storage mit ceph (glt 2013)

2 Komponenten

Page 41: Storage mit ceph (glt 2013)

OSDs

Page 42: Storage mit ceph (glt 2013)

MONs

Page 43: Storage mit ceph (glt 2013)

Data Placement

Page 44: Storage mit ceph (glt 2013)
Page 45: Storage mit ceph (glt 2013)

MONs

Page 46: Storage mit ceph (glt 2013)

MONs

Page 47: Storage mit ceph (glt 2013)

MONs

Page 48: Storage mit ceph (glt 2013)

MONs

Page 49: Storage mit ceph (glt 2013)

MONs

Page 50: Storage mit ceph (glt 2013)

MONs

Page 51: Storage mit ceph (glt 2013)

MONs

Page 52: Storage mit ceph (glt 2013)

Parallelisierung

Page 53: Storage mit ceph (glt 2013)

2 2 1 1

MONs

Page 54: Storage mit ceph (glt 2013)

2 2 1 1

MONs

Page 55: Storage mit ceph (glt 2013)

2 2 1 1 1 2 2 1

MONs

Page 56: Storage mit ceph (glt 2013)

MONs

Page 57: Storage mit ceph (glt 2013)

CRUSH

Page 58: Storage mit ceph (glt 2013)

Controlled Replication Under Scalable Hashing

Page 59: Storage mit ceph (glt 2013)

Rack aware

Page 60: Storage mit ceph (glt 2013)

Clients?

Page 61: Storage mit ceph (glt 2013)

Block Device Driver

Page 62: Storage mit ceph (glt 2013)

RBD (RADOS Block Device)

Page 63: Storage mit ceph (glt 2013)

rbd

Page 64: Storage mit ceph (glt 2013)

Qemu-RBD

Page 65: Storage mit ceph (glt 2013)
Page 66: Storage mit ceph (glt 2013)

ReSTful API

Page 67: Storage mit ceph (glt 2013)

radosgw

Page 68: Storage mit ceph (glt 2013)

Kompatibel mit S3 und Swift

Page 69: Storage mit ceph (glt 2013)

POSIX file system

Page 70: Storage mit ceph (glt 2013)

CephFS

Page 71: Storage mit ceph (glt 2013)

CephFS: Leider noch Beta!

Page 72: Storage mit ceph (glt 2013)

Keinen passenden Client gefunden?

Page 73: Storage mit ceph (glt 2013)

librados

Page 74: Storage mit ceph (glt 2013)

Einsatzszenarien

Page 75: Storage mit ceph (glt 2013)

Gigantic Storage

Page 76: Storage mit ceph (glt 2013)

40TB, 3 Replikas = € 21.000

Page 77: Storage mit ceph (glt 2013)

Virtualisierung

Page 78: Storage mit ceph (glt 2013)

iSCSI Storage

Page 79: Storage mit ceph (glt 2013)

Cloud

Page 80: Storage mit ceph (glt 2013)

OpenStack

Page 81: Storage mit ceph (glt 2013)

Live-Demo

Page 82: Storage mit ceph (glt 2013)

24. Mai 2013

OpenStack DACH Tag 2013

http://openstackdach2013.eventbrite.com

Page 83: Storage mit ceph (glt 2013)

Mit besonderem Dank an:

Sage Weil (Twitter: @liewegas) & Crew für Ceph

Inktank (Twitter: @inktank)

für das Ceph-Logo

Page 84: Storage mit ceph (glt 2013)

goo.gl/S1sYZ (me on Google+)

twitter.com/hastexo

hastexo.com

2 2 1 1 1 2 2 1

MONS