在 ubuntu 14.04 上安装ceph calamari时,遇到calamari web界面中node server可以正常添加,但cluster 集群无法显示的问题。

经过定位,是因为saltstack master/minion 版本不匹配问题。 特记录正确的安装过程。

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.

参考英文文档

http://calamari.readthedocs.org/en/latest/operations/server_install.html#installing-calamari-server

http://calamari.readthedocs.org/en/latest/operations/minion_connect.html

在ceph admin node执行如下步骤

1. 添加salt apt 源 并安装 salt master/minion

https://docs.saltstack.com/en/latest/topics/installation/ubuntu.html

wget -O - https://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
sudo echo "deb http://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main" >> /etc/apt/sources.list
sudo apt-get update && apt-get install salt-master salt-minion

2. 安装依赖包

sudo apt-get update && sudo apt-get install -y apache2 libapache2-mod-wsgi libcairo2 supervisor python-cairo libpq5 postgresql

3. 下载calamari-clients 和 calamari-server Deb安装包 并安装

wget http://download.ceph.com/calamari/1.3.1/ubuntu/trusty/pool/main/c/calamari-clients/calamari-clients_1.3.1.1-1trusty_all.deb
wget http://download.ceph.com/calamari/1.3.1/ubuntu/trusty/pool/main/c/calamari/calamari-server_1.3.1.1-1trusty_amd64.deb
sudo dpkg -i calamari-server*.deb calamari-clients*.deb
sudo calamari-ctl initialize

4. ceph-deploy 安装 calamari

Create a ceph-deploy configuration file at ~/.cephdeploy.conf

[ceph-deploy-calamari]
master = {master}

{master} should be the FQDN of the Calamari server, for example acme.mydomain.com or 10.10.9.8

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

5. 访问web界面

http://113.107.161.207/dashboard/#workbench

最新文章

  1. 前端学PHP之PDO基础操作
  2. scala 学习笔记
  3. Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/i
  4. JSP或HTML命名规范
  5. 【笨嘴拙舌WINDOWS】设备无关图(*.bmp)
  6. js广告浮动
  7. 关于 submit 按钮的 onclick 验证事件,第一次验证失败,第二次 submit 按钮失效的原因解析
  8. C语言学习笔记frist---输入两个数比较大小
  9. java日期处理函数
  10. Spring-webflow基础讲解
  11. 防XSS攻击解决方法
  12. 背水一战 Windows 10 (96) - 选取器: ContactPicker
  13. jquery日常使用总结
  14. IDEA Exception in thread &quot;main&quot; java.lang.ClassNotFoundException: com.streamax.servicecore.business.FileManageServApplication
  15. Simple Sort
  16. php-fpm 配置文件检测
  17. hive中的几个参数:元数据配置、仓库位置、打印表字段相关参数
  18. [SQL]SQL Server 事务及回滚事务
  19. 一:怎样运行python程序
  20. PHP 调试工具Xdebug安装配置

热门文章

  1. 150922-写写博客监督下不自觉的自己-PPT,Linux,HTML
  2. 【转】selenium学习路线
  3. 网络之TCP/IP四层模型
  4. android listView嵌套gridview的使用心得
  5. js+JQuery实现返回顶部功能
  6. Json 基于jQuery+JSON的省市联动效果
  7. centos7下彻底卸载LibreOffice方法【转载】
  8. Web APP开发技巧总结
  9. 布局 - layout
  10. Linux 网络编程详解九