ceph introduce

简介:
ceph 存储集群主要包含osd, mon, mds组件.
osd组件负责存储数据, 数据复制, 恢复, 均衡, 提供监控数据等.
mon组件负责维护集群状态, 包括monitor map, osd map, pg(placement group) map, crush map等. 所有状态的变更都被记录.
mds是可选组件, 只有在使用ceph 文件系统是才需要用到, 负责userspace接口.

用户数据被切分成objects, 经crush算法决定存储在哪些placement group, 并计算出了placement group存储在哪些OSD, CRUSH算法同时负责计算ceph集群的扩展, 均衡, 动态恢复等.

ceph存储集群至少需要1个监控节点, 2个OSD节点(如果配置了2份数据拷贝到话, 2个OSD才能使集群到达active+clean的状态)才能运转起来.
要使用ceph 对象存储, 块设备为云平台(如openstack)提供服务, 或者使用ceph文件系统的话, 首选要部署ceph storage cluster.
部署ceph storage cluster, 必须先部署ceph node.


[参考]

INTRO TO CEPH

Whether you want to provide Ceph Object Storage and/or Ceph Block Device services to Cloud Platforms, deploy a Ceph Filesystem or use Ceph for another purpose, all Ceph Storage Cluster deployments begin with setting up each Ceph Node, your network and the Ceph Storage Cluster. A Ceph Storage Cluster requires at least one Ceph Monitor and at least two Ceph OSD Daemons. The Ceph Metadata Server is essential when running Ceph Filesystem clients.

ceph introduce - 德哥@Digoal - PostgreSQL research

  • Ceph OSDs: A Ceph OSD Daemon (Ceph OSD) stores data, handles data replication, recovery, backfilling, rebalancing, and provides some monitoring information to Ceph Monitors by checking other Ceph OSD Daemons for a heartbeat. A Ceph Storage Cluster requires at least two Ceph OSD Daemons to achieve an active + clean state when the cluster makes two copies of your data (Ceph makes 2 copies by default, but you can adjust it).
  • Monitors: A Ceph Monitor maintains maps of the cluster state, including the monitor map, the OSD map, the Placement Group (PG) map, and the CRUSH map. Ceph maintains a history (called an “epoch”) of each state change in the Ceph Monitors, Ceph OSD Daemons, and PGs.
  • MDSs: A Ceph Metadata Server (MDS) stores metadata on behalf of the Ceph Filesystem (i.e., Ceph Block Devices and Ceph Object Storage do not use MDS). Ceph Metadata Servers make it feasible for POSIX file system users to execute basic commands like lsfind, etc. without placing an enormous burden on the Ceph Storage Cluster.

Ceph stores a client’s data as objects within storage pools. Using the CRUSH algorithm, Ceph calculates which placement group should contain the object, and further calculates which Ceph OSD Daemon should store the placement group. The CRUSH algorithm enables the Ceph Storage Cluster to scale, rebalance, and recover dynamically.

目录
相关文章
|
安全 JavaScript 前端开发
QML信号与信号槽实践指南:轻松掌握现代软件开发的关键技术(三)
QML信号与信号槽实践指南:轻松掌握现代软件开发的关键技术
612 0
|
3月前
|
消息中间件 缓存 监控
分布式架构评审:从核心维度到风险清零,全流程质量保障实战
本文系统阐述分布式架构评审的核心方法论,涵盖CAP/BASE理论、七大评审维度(业务适配、高可用、一致性、性能、可观测性、安全、可维护性)、FMEA风险评估及全流程质量保障体系,强调从业务出发、风险前置、可落地的原则,助力构建稳定、安全、可演进的分布式系统。
290 4
|
10月前
|
安全 Windows 内存技术
应用程序无法正常启动(0xc0000185)怎么解决?
遇到应用程序无法正常启动并显示错误代码0xc0000185时,可以尝试以下解决方法
|
网络安全 开发工具 git
Git仓库创建与代码上传指南
本教程介绍了将本地项目推送到远程Git仓库的完整流程,包括初始化本地仓库、添加和提交文件、创建远程仓库、关联远程地址及推送代码。同时,还提供了`.gitignore`配置、分支管理等可选步骤,并针对常见问题(如认证失败、分支不匹配、大文件处理及推送冲突)给出了解决方案。适合初学者快速上手Git版本控制。
|
安全 Linux
CentOS下载ISO镜像的方法
访问CentOS官方网站(https://www.centos.org/download/),在“Downloads”页面找到ISO镜像下载链接,选择所需版本和架构(如x86_64)开始下载。CentOS分为Linux版和Stream版,前者每两年发行一次并提供10年安全维护,后者为滚动更新。旧版本可在Vault(https://vault.centos.org/)下载。建议选择DVD格式镜像,包含完整系统和常用软件。
32430 16
CentOS下载ISO镜像的方法
|
运维 物联网 网络虚拟化
网络功能虚拟化(NFV):定义、原理及应用前景
网络功能虚拟化(NFV):定义、原理及应用前景
1962 3
|
存储 小程序 API
oss防盗链设置(Referer Configuration)
oss防盗链设置(Referer Configuration)
3439 5
|
存储 分布式计算 运维
大白话讲讲分布式存储系统的架构设计以及容错架构
分布式存储系统的架构设计旨在实现数据的分布式存储和负载均衡,通常采用数据分片和多节点存储的方式。容错架构则是为了提高系统的鲁棒性和可用性。在分布式存储系统中,容错架构常采用数据的冗余备份来应对节点故障或网络异常问题。通过复制数据到多个节点,即使某个节点发生故障,系统仍可以提供数据的可靠访问。此外,容错架构还包括故障检测和自动故障转移机制,用于及时检测节点故障,并将故障节点的任务转移给其他正常节点。这样可以保证系统在故障情况下仍能正常运行,并提供不间断的数据访问。通过合理的架构设计和有效的容错机制,分布式存储系统可以实现高可用性和数据可靠性,满足大规模数据存储和访问的需求。
2897 0
大白话讲讲分布式存储系统的架构设计以及容错架构
|
存储 算法 数据挖掘
软件体系结构 - 架构风格(11)黑板架构架构风格
【4月更文挑战第21天】软件体系结构 - 架构风格(11)黑板架构架构风格
2266 0
|
存储 编解码 JSON
第 7 章 Google Protobuf
第 7 章 Google Protobuf
253 0

热门文章

最新文章