In the last recipe, we compiled the packages required for Calamari, which includes the calamari-server
, calamari-client
, and diamond
. If you have not compiled these packages by yourself, you can download them from my GitHub repository at https://github.com/ksingh7/ceph-calamari-packages/tree/master/CentOS-el7.
In this demonstration, we will be configuring ceph-node1
as the Calamari master server, as well as the salt-minion
node, ceph-node2
, and ceph-node3
as salt-minion nodes only. At the time of writing this recipe, Calamari did not support salt version 2015, so I have intentionally used salt version 2014.
Let's now begin the installation of the Calamari server:
ceph-node1
, install the dependency packages required by salt and the Calamari server:# yum install -y python-crypto PyYAML systemd-python yum-utils m2crypto pciutils python-msgpack systemd-python python-zmq
# wget https://copr.fedoraproject.org/coprs/saltstack/salt/repo/epel-7/saltstack-salt-epel-7.repo -O /etc/yum.repos.d/saltstack-salt-epel-7.repo
# yum --disablerepo="*" --enablerepo="salt*" install -y salt-master-2014.7.5-1.el7.centos
# systemctl stop firewalld # systemctl disable firewalld
# yum install https://github.com/ksingh7/ceph-calamari-packages/raw/master/CentOS-el7/calamari-server-1.3.0.1-49_g828960a.el7.centos.x86_64.rpm
# yum install -y https://github.com/ksingh7/ceph-calamari-packages/raw/master/CentOS-el7/calamari-clients-1.2.2-32_g931ee58.el7.centos.x86_64.rpm
salt-master
service:# systemctl enable salt-master # systemctl restart salt-master
# calamari-ctl initialize
calamari-ctl
initialize command went fine. To fix this bug, edit the /opt/calamari/venv/lib/python2.7/site-packages/calamari_cthulhu-0.1-py2.7.egg/cthulhu/calamari_ctl.py
file and comment out line 255 that says update_connected_minions()
:http://192.168.1.101/dashboard/
, and provide the username as root
and the password as what you set in the last step.18.224.44.53