美文网首页
ceph部署速记

ceph部署速记

作者: 退休码农飞伯德 | 来源:发表于2021-03-26 01:40 被阅读0次

<meta name="source" content="lake">

镜像网站

  1. 网易云:http://mirrors.163.com/ceph/
  2. 清华tuna:https://mirrors.tuna.tsinghua.edu.cn/ceph/
  3. 阿里云:https://mirrors.aliyun.com/ceph/

安装ceph deploy

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">yum install -y https://mirrors.tuna.tsinghua.edu.cn/ceph/rpm-mimic/el7/noarch/ceph-deploy-2.0.1-0.noarch.rpm</pre>

创建Ceph集群

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">ceph-deploy new [monitor node] [monitor node] ...</pre>

安装ceph

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">ceph-deploy install [hostname] [hostname] ...</pre>

初始化monitor

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">ceph-deploy mon create-initial ceph-deploy admin [hostname]</pre>

添加mgr节点

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">ceph-deploy mgr create [hostname]</pre>

添加osd节点

<pre class="cm-s-default" style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; background: none 0% 0% / auto repeat scroll padding-box border-box rgba(0, 0, 0, 0);">ceph-deploy osd create --data <device> <hostname></pre>

相关文章

网友评论

      本文标题:ceph部署速记

      本文链接:https://www.haomeiwen.com/subject/esvdhltx.html