环境说明
CentOS Linux release 7.2 (Core)
主机名 | 客户连接 | 数据同步 | mon addr | data addr | osd journal | osd disk |
安装 ceph 软件命令
yum install -y pyOpenSSL python-webob libibverbs python-mako python-cherrypy python-webtest python-flask python-requests gdisk gperftools-libs fuse-libs
yum install ceph --disablerepo=repo_puppet --disablerepo=epel --disablerepo=extras --disablerepo=updates --disablerepo=base
计划:
以手动方式进行部署, 方便管理与控制
新特性
ceph-mgr
支持 resetful 接口, 预计可通过接口进行管理, 监控等功能
参数文件
cephuuid=xxxxxxx-5d4d-4d3a-a3b2-04e73eff4ccd
cephmonhost=cephsvr-128040,cephsvr-128214,cephsvr-128215
cephmonipaddr=xx.199.128.40,xx.199.128.214,xx.199.128.215
cephmonnetwork=xx.199.128.0/22
cephdatanetwork=xxx.30.128.0/21
cephpgnum=1024
cephpgpnum=1024
注意事项
Centos . 版本操作系统 (不支持 centos 6.2)
在 /etc/hosts 定义集群中所有主机名及 ip 地址或有 DNS 解析
保证时间同步 (chronyd)
确保 iptables, selinux 都处于关闭状态
参考文档
手动部署 ceph 环境说明 (luminous 版)
手动部署 ceph mon (luminous 版)
手动部署 ceph osd (luminous 版)
手动部署 ceph mgr (luminous 版)
ceph (luminous 版) 用户管理
ceph (luminous 版) pool 管理
ceph (luminous 版) primary affinity 管理
ceph (luminous 版) crush map 管理
ceph (luminous 版) journal disk 故障测试
ceph (luminous 版) data disk 故障测试
ceph (luminous 版) zabbix 监控
ceph recovery 参数调研
ceph (luminous 版) 故障修复记录