Ubuntu14.04上安装calamari
网上查过很多资料,各自写关于ubuntu上14.04上安装calamari的文字,我基本都试过,然而,都有一些问题存在,其中主要有calamari、salt版本等的问题。这里记录我成功的配置过程。
当前calamari的UI就只能适配到1.3(支持jewel),官方解释如下:
1.4 was significantly redesigned for use with different web UI,not calamari-clients and serves mostly as a daemon. Please continue using version 1.3 with calamari-clients at least for now.
关于salt的版本,官方说明如下
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.
这里选择的版本是:
Calamari version 1.3.1
SaltStack version 2014-7
但是2014-x版本的saltstack packages已经不能从官网的源中获取了。以下是安装过程。
1、添加calamari源和key
echo "deb http://download.ceph.com/calamari/1.3.1/ubuntu/trusty/ trusty main" > /etc/apt/sources.list.d/calamari.list
wget --quiet -O - http://download.ceph.com/keys/release.asc | sudo apt-key add -
2、添加saltstack 2014-7 PPA
sudo add-apt-repository ppa:saltstack/salt2014-7
3、更新source lists
sudo apt-get update
4、安装SaltStack master 和 minion
sudo apt-get install salt-master
sudo apt-get install salt-minion
5、安装Calamari server 和 clients
sudo apt-get install calamari-server
sudo apt-get install calamari-clients
6、初始化calamari
sudo calamari-ctl initialize
然后输入calamari服务器的地址,就可以访问calamari监控界面了。