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