the future of cloud software defined storage with ceph: andrew hatfield, red hat

22
The Future of Cloud Software Defined Storage with Ceph

Upload: openstack

Post on 15-Apr-2017

1.307 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

The Future of Cloud Software Defined

Storage withCeph

Page 2: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

2

Andrew Hatfield

Practice Lead – Cloud Storage and Big Data (ANZ)

Red Hat

[email protected]

@andrewhatfield

/usr/bin/whoami

Page 3: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

3

Overview

● What is Ceph

● Integration with OpenStack

– Stuff you already know is cool

● New stuff coming

– Even more cool stuff!

Page 4: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

4

What is Ceph

Page 5: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

5

PROPRIETARY HARDWARE

PROPRIETARY SOFTWARE

SUPPORT & MAINTENANCE

COMPUTER DISK

COMPUTER DISK

COMPUTER DISK

STANDARDHARDWARE

OPEN SOURCE SOFTWARE

ENTERPRISEPRODUCTS & SERVICES

COMPUTER DISK

COMPUTER DISK

COMPUTER DISK

A Storage Revolution

Page 6: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

6

CEPH COMPONENTS

RGWweb services gateway

for object storage, compatible with S3 and

Swift

LIBRADOSclient library allowing apps to access RADOS (C, C++, Java, Python, Ruby, PHP)

RADOSsoftware-based, reliable, autonomous, distributed object store comprised of

self-healing, self-managing, intelligent storage nodes and lightweight monitors

RBDreliable, fully-distributed block device with cloud

platform integration

CEPHFSdistributed file system with POSIX semantics

and scale-out metadata management

APP HOST/VM CLIENT

Page 7: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

RADOS CLUSTER

7

APPLICATION

M M

M M

M

RADOS CLUSTER

Page 8: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

OBJECT STORAGE DAEMONS

8

FS

DISK

OSD

DISK

OSD

FS

DISK

OSD

FS

DISK

OSD

FS

M

M

M

Page 9: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

RADOS COMPONENTS

9

OSDs: 10s to 10,000s 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

Page 10: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

CRUSH: DYNAMIC DATA PLACEMENT

10

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 11: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

DATA IS ORGANIZED INTO POOLS

11

CLUSTER

OBJECTS

10

01

01

10

10

01 11

01

1001

0110 10 01

11

01

POOLS(CONTAINING PGs)

10

01

11

01

10

01

01

10

01

10

10

01

11

01

10

01

10 01 10 11

01

11

01

10

10

01

01

01

10

10

01

01

POOLA

POOLB

POOL C

POOLD

OBJECTS

OBJECTS

OBJECTS

Page 12: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

12

Integration with OpenStack

Page 13: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

THE RADOS GATEWAY

13

M M

M

RADOS CLUSTER

RADOSGWLIBRADOS

socket

RADOSGWLIBRADOS

APPLICATION APPLICATION

REST

Page 14: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

RADOSGW MAKES RADOS WEBBY

14

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

Page 15: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

RBD STORES VIRTUAL DISKS

15

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 16: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

KERNEL MODULE FOR MAX FLEXIBLE!

16

M M

RADOS CLUSTER

LINUX HOSTKRBD

Page 17: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

STORING VIRTUAL DISKS

17

M M

RADOS CLUSTER

HYPERVISORLIBRBD

VM

Page 18: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

CEPH AND OPENSTACK

18

RADOSGWLIBRADOS

M M

RADOS CLUSTER

OPENSTACKKEYSTONE CINDER GLANCE NOVASWIFT

LIBRBD LIBRBD

HYPER- VISOR

LIBRBD

Page 19: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

19

What is New()?

Page 20: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

20

Recent news

● Ceph continues to be the #1 storage choice for Open Stack (April User Survey)

● Ceph is now an openstack.org Reference Architecture (joining LVM & NFS)

● Ceph at Percona Live for MySQL Database-as-a-Service

● CephFS is now stable and ready for testing (Jewel release)

● ceph-ansible deployment in 2 commands

Page 21: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

21

● OpenStack Manila + CephFS for File-as-a-Service

● BlueStore – Direct to block device, no filesystem

● Active / Active Multi-master RGW for global object stores

● NFS Gateway for RGW (v4 only) for legacy access

● Active Directory support for RGW

● AWS4 Support

● Swift – Keystone v3, Object expiration, tenant namespaces, static large objects

● RBD mirroring

● Client IO prioritised over scrubbing

● Containerised Ceph

Work in Progress

Page 22: The Future of Cloud Software Defined Storage with Ceph: Andrew Hatfield, Red Hat

22

THANK YOU!

Andrew HatfieldPractice Lead - Cloud Storage and Big Data

[email protected]

@andrewhatfield