您的位置:首页 > 其它

将ceph与calamari相连(connect ceph servers to calamari)

2016-09-22 21:37 225 查看
前提:

已安装Calamari server,且the ceph servers are
accessible from the Calamari server using SSH。

方法1:

用 
ceph-deploy
 连接

ceph-deploy应该和calamari安装在同一个节点上


修改/root/.cephdeploy.conf文件:

[ceph-deploy-calamari]
master = {master}
# Repositories
[calamari-minion]
name=Calamari
baseurl={minion_url}
gpgkey={minion_gpg_url}
enabled=1
proxy=_none_


其中:

{master} should be the FQDN of the Calamari server, for example acme.mydomain.com
{minion_url} should be the URL to the local package repository, for example http://acme.mydomain.com/static/calamari-minions
{minion_gpg_url} should be the URL to the GPG key for your local package repository, for example http://acme.mydomain.com/static/calamari-minions/release.asc

使用如下命令将节点与calamari相连:

ceph-deploy calamari connect <node1> [<node2> ...]

方法2:

手动连接

①install a diamond package built from the calamari
branch of diamond at https://github.com/ceph/diamond/tree/calamari

②安装salt-minion,Follow the instructions at http://docs.saltstack.com/en/latest/topics/installation/ubuntu.html to
enable the SaltStack PPA package repository and install the 
salt-minion
 package.

Note: Calamari does not currently support 2015.5 salt please consider using 2014.7 instead Also it is important for salt-master and minion versions to match.

After installing 
salt-minion
, create a config file at 
/etc/salt/minion.d/calamari.conf
 with the following format:

master: {fqdn}


where 
{fqdn}
 is the fully qualified domain name of your Calamari server, for example acme.mydomain.com.

Finally, restart salt-minion with 
service salt-minion restart
.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息