SDS—cinder on ceph

22
SDS—cinder on ceph 王王王

description

SDS—cinder on ceph. 王凌志. 云存储概述. 云存储概述. 软件定义存储. 软件定义存储 ( Software defined Storage) 软件定义存储是把存储硬件或软件提供的控制能力抽象出来,并与数据层面的能力 ( 数据访问 ) 分开,这些控制能力包括卷管理, RAID , QoS ,数据复制,监控,快照和备份等等,这个举动意义在于这些控制能力抽象出来以后,任何厂商提供的存储能力控制都是接近的,避免对厂商的绑定。 WHY 单点失败问题 可靠性,而不需要昂贵的高端存储 高效的空间利用 QoS 问题. 软件定义存储. - PowerPoint PPT Presentation

Transcript of SDS—cinder on ceph

Page 1: SDS—cinder on  ceph

SDS—cinder on ceph

王凌志

Page 2: SDS—cinder on  ceph

云存储概述

Page 3: SDS—cinder on  ceph

云存储概述

Page 4: SDS—cinder on  ceph

软件定义存储

• 软件定义存储 (Software defined Storage)• 软件定义存储是把存储硬件或软件提供的控制能力抽象出来,并与数据层面的能力 ( 数

据访问 ) 分开,这些控制能力包括卷管理, RAID , QoS ,数据复制,监控,快照和备份等等,这个举动意义在于这些控制能力抽象出来以后,任何厂商提供的存储能力控制都是接近的,避免对厂商的绑定。

• WHY• 单点失败问题• 可靠性,而不需要昂贵的高端存储• 高效的空间利用• QoS 问题

Page 5: SDS—cinder on  ceph

软件定义存储

Page 6: SDS—cinder on  ceph

Openstack--cinder

Page 7: SDS—cinder on  ceph

Cinder 架构

Page 8: SDS—cinder on  ceph

Cinder 集成 ceph

Page 9: SDS—cinder on  ceph
Page 10: SDS—cinder on  ceph

Why ceph

Page 11: SDS—cinder on  ceph

ceph 架构

Ceph 一个 Linux PB 级分布式文件系统

Ceph 目标

可轻松扩展到数 PB 容量 对多种工作负载的高性能 高可靠性

Page 12: SDS—cinder on  ceph
Page 13: SDS—cinder on  ceph

ceph 存储数据

Page 14: SDS—cinder on  ceph

Ceph 中的 PG

PG 它可以看成是一致性哈希中的虚拟节点,维护了一部分数据并且是数据迁移和改变的最小单位。

Page 15: SDS—cinder on  ceph

故障恢复

临时性故障永久性故障

Page 16: SDS—cinder on  ceph

Ceph 写数据流程

Page 17: SDS—cinder on  ceph

crush

• CRUSH 算法• CRUSH 算法通过每个设备的权重来计算数据对象的分布

• 层级的 Cluster map• 副本分布• 冲突、故障、超载• 最少化 MAP 改变和数据迁移

Page 18: SDS—cinder on  ceph

Ceph: Snapshot

Copy-On-Write 在复制一个对象的时候并不是真正的把原先的对象复制到内存的另外一个位置上。

Page 19: SDS—cinder on  ceph

配置

• RBD 缓存配置• 在生产环境,建议在系统盘运行 OSD ,在另外的硬盘里

放数据。如果必须把数据和系统放在一个硬盘里,最好给数据分配一个单独的分区。

• 推荐部署生产系统时使用 xfs 文件系统

Page 20: SDS—cinder on  ceph

配置

Page 21: SDS—cinder on  ceph

读写测试

64 128 256 512 1024 2048 4096 8192 163840

20000

40000

60000

80000

100000

120000

140000

5242881048576

64 128 256 512 1024 2048 4096 8192 16384102000

104000

106000

108000

110000

112000

114000

10485762097152

Page 22: SDS—cinder on  ceph

谢谢