install ceph by ceph-deploy

Posted Elar的博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了install ceph by ceph-deploy相关的知识,希望对你有一定的参考价值。

1、在每台ceph节点上都生成一个ceph-deploy用户,密码也为ceph-deply

sudo useradd -d /home/ceph-deploy -m ceph-deploy

passwd ceph-deploy   

(ceph-deploy)

 

echo "ceph-deploy ALL = (root) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/ceph-deploy

sudo chmod 0440 /etc/sudoers.d/ceph-deploy

 

2、在其中一台节点上生成ssh key,并将ssh key 拷贝至其余ceph节点

su ceph-deploy

ssh-keygen 一路回车

ssh-copy-id [email protected]

ssh-copy-id [email protected]

ssh-copy-id [email protected]

 

以上是关于install ceph by ceph-deploy的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 14.04下单节点Ceph安装(by quqi99)

CEPH-DEPLOY INSTALL时,远端节点在执行APT-GET UPDATE命令时失败

debug glance(by quqi99)

openstack K版本和ceph对接

ceph 安装

高可用OpenStack(Queen版)集群-16.Nova集成Ceph