Top Banner
INTRO TO DISTRIBUTED STORAGE WITH CEPH AND GLUSTER RHUG Montreal Dustin L. Black, RHCA Principal Cloud Success Architect 2015-10-29
23

INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

May 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

INTRO TO DISTRIBUTED STORAGEWITH CEPH AND GLUSTER

RHUG Montreal

Dustin L. Black, RHCAPrincipal Cloud Success Architect2015-10-29

Page 2: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

DUSTIN L. BLACK

[email protected]@dustinlblacklinkedin.com/in/dustinblackpeople.redhat.com/dblack

Page 3: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

LET'S TALKDISTRIBUTED STORAGE

● Decentralize and Limit Failure Points● Scale with Commodity Hardware and

Familiar Operating Environments● Reduce Dependence on Specialized

Technologies and Skills

Page 4: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

GLUSTER

● Clustered Scale-out General Purpose Storage Platform

● Fundamentally File-Based & POSIX End-to-End● Familiar Filesystems Underneath (EXT4, XFS, BTRFS)● Familiar Client Access (NFS, Samba, Fuse)● No Metadata Server● Standards-Based – Clients, Applications, Networks● Modular Architecture for Scale and Functionality

Page 5: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity
Page 6: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity
Page 7: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

MORE ON GLUSTER LATER...

Page 8: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH

● Massively scalable, software-defined storage system● Commodity hardware with no single point of failure● Self-healing and Self-managing● Rack and data center aware● Automatic distribution of replicas● Block, Object, File● Data stored on common backend filesystems (EXT4,

XFS, etc.)● Fundamentally distributed as objects via RADOS● Client access via RBD, RADOS Gateway, and Ceph

Filesystem

Page 9: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity
Page 10: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity
Page 11: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH IN MORE DETAIL

Page 12: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH BASICS

Commodity Server Hardware

Standard X86-64 servers are typically used

Two major “node” types

- Monitor nodes (maintain and provide cluster map)

- OSD nodes (nodes that provide storage OSD's)

Graphical management

- Calamari host

Page 13: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH BASICS

Monitor nodes

Monitors should have of an odd number of servers for quorum

Either 3 or 5 monitors are typically used

Paxos protocol

Monitor nodes always work by consensus.

They will need to agree with each other, using Paxos.

Paxos is a family of protocols for solving consensus in a network of unreliable processors. Consensus is the process of agreeing on one result among a group of participants (source: Wikipedia)

Page 14: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH BASICS

Client Cluster Map

Pool CRUSH Ruleset

object

Retrieves

Writes

To

Selects

Page 15: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH OSD

Object Storage Daemon

Page 16: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH OSD

Page 17: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH RADOS

Reliable Autonomic Distributed Object Store

RADOS is an object storage service, able to scale to thousands of hardware devices by running Ceph software on each individual node.

RADOS is an integral part of the Ceph distributed storage system.

Page 18: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH LIBRADOS

RADOS Library

Page 19: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH CRUSH

Controlled Replication Under Scalable Hashing

Page 20: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH CRUSH

Page 21: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH POOLS & PLACEMENT GROUPS

Page 22: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

CEPH

Data

Objects

CRUSH Ruleset

RADOS

Interfaces with

Creates Pools

Assigned to

PGs

Defines# of

for

CRUSH

use

OSDsTo write to

*Disclaimer: Beta slide – Accuracy not guaranteed

Page 23: INTRO TO DISTRIBUTED STORAGE WITH CEPH AND ...people.redhat.com/.../oct2015/gluster_and_ceph-20151029.pdf2015/10/29  · CEPH Massively scalable, software-defined storage system Commodity

THANK YOUplus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews