【实践】使用本地源搭建ceph集群

1  需求

使用本地源搭建ceph集群

规划参加《[CEPH]基于CentOS7部署Ceph集群(版本10.2.2)》


作者:Younger Liu,

本作品采用知识共享署名-非商业性使用-相同方式共享 3.0 未本地化版本许可协议进行许可。

原文地址:http://blog.csdn.net/younger_china/article/details/73656309


2  方案

2.1   配置ceph本地源

配置文件

[root@node0cluster]# cat /etc/yum.repos.d/ceph.repo
[Ceph-local] 
name=Cephlocal packages 
baseurl=file:///opt/repos/ceph-11.2.0
enabled=1 
gpgcheck=0
priority=1

rpms保存在目录/opt/repos/ceph-11.2.0中

额外的源

[root@node0 cluster]# cat/etc/yum.repos.d/extra.repo
[Extra] 
name=extra packages 
baseurl=file:///opt/repos/extra
enabled=1 
gpgcheck=0

如何配置本地源,参加文档《配置本地源》

软件包作者已经整理,如果需要请索要

http://pan.baidu.com/s/1eRYfmsM

 

搭建ceph的步骤参见文档《[CEPH]基于CentOS7部署Ceph集群(版本10.2.2)》

但在步骤<设置Monitor节点>中需要更改为

ceph-deploy install node0 node1 node2 --local-mirror=/opt/repos/ceph-11.2.0/ --no-adjust-repos --release=kraken

其中--local-mirror的值为本地ceph rpms包的地址;release是安装的版本。

其他步骤均相同

 

安装rgw环境,同样如此:

[root@node0 cluster]# ceph-deploy install --rgw node2 --local-mirror=/opt/repos/ceph-11.2.0/ --no-adjust-repos --release=kraken

作者:Younger Liu,

本作品采用知识共享署名-非商业性使用-相同方式共享 3.0 未本地化版本许可协议进行许可。

原文地址:http://blog.csdn.net/younger_china/article/details/73656309

 

你可能感兴趣的:(数据存储,深入理解CEPH系统)