Hmmm, don’t have any more ideas, there is my step-by step guide, to install calamari gui maybe this help, it works for me.
Install calamari:
#apt-get install python-software-properties
#add-apt-repository ppa:saltstack/salt
#apt-get update
#apt-get install salt-master
#apt-get install salt-minion
#apt-get install -y apache2 libapache2-mod-wsgi libcairo2 supervisor python-cairo libpq5 postgresql
#
dpkg -i calamari-server*.deb calamari-clients*.deb
#
calamari-ctl initialize
Install and add ceph nodes:
#dpkg -i diamond_3.4.67_all.deb
#apt-get -fy install
#
nano /etc/apt/sources.list
deb http://debian.saltstack.com/debian wheezy-saltstack main
#
wget -q -O- "http://debian.saltstack.com/debian-salt-team-joehealy.gpg.key" | apt-key add –
#
apt-get update
#
apt-get install salt-minion
#
nano /etc/salt/minion.d/calamari.conf
master: ip
#service salt-minion restart
С уважением,
Разорёнов Александр
Ведущий специалист отдела мониторинга и технической поддержки
тел.: +7 (495) 780-60-36
тел.: +7 (495) 780-60-35, доб. 340
e-mail: arazorenov@rutube.ru
http://rutube.ru/
129226, Москва
ул. Вильгельма Пика, д. 3, стр. 2
ЗАО «РУТЬЮБ», Газпром-Медиа Холдинг
From: idzzy [mailto:idezebi@xxxxxxxxx]
Sent: Tuesday, November 18, 2014 1:24 PM
To: Разоренов Александр
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: RE: Назад: RE: [ceph-users] calamari gui
Yes, There are 3x ceph nodes. I installed diamond in all those nodes.
13746 /usr/bin/python /usr/bin/diamond -p /var/run/diamond.pid
On November 18, 2014 at 6:16:37 PM, Разоренов Александр (arazorenov@xxxxxxxxx) wrote:
Do you install diamond pack on all nodes?
С уважением,
Разорёнов Александр
Ведущий специалист отдела мониторинга и технической поддержки
тел.: +7 (495) 780-60-36
тел.: +7 (495) 780-60-35, доб. 340
e-mail: arazorenov@rutube.ru
http://rutube.ru/
129226, Москва
ул. Вильгельма Пика, д. 3, стр. 2
ЗАО «РУТЬЮБ», Газпром-Медиа Холдинг
I tried that, but there is not inactive nodes
in cluster setting page like below.
when I push the button of host,cluster setting, config browser, but
it’s no response.
On November 18, 2014 at 3:38:52 PM, Разоренов Александр (arazorenov@xxxxxxxxx) wrote:
Hello, now you must go in settings tab in gui and you will see unactive nodes, you must activate this nodes after that your cluster will be connected to calamari
Пользователь idzzy <idezebi@xxxxxxxxx> писал:
Thank you for the advise.
I set manually on each ceph nodes like this.
# cat /etc/salt/minion.d/calamari.conf
master: {calamari server ip}
# service salt-minion restart
But when I access to gui, same error message is still being output.
----------------------------------
New Calamari Installation
This appears to be the first time you have started Calamari and there are no clusters currently configured.
3 Ceph servers are connected to Calamari, but no Ceph cluster has been created yet. Please use ceph-deploy to
create a cluster; please see the Inktank Ceph Enterprise documentation for more details.
----------------------------------
Hmm… Which point should I check further more?
On November 17, 2014 at 9:14:18 PM, Разоренов Александр (arazorenov@xxxxxxxxx) wrote:
Yes, like it say in this manual
http://calamari.readthedocs.org/en/latest/operations/minion_connect.html you must do this command on calamari server, but for me more easy connect ceph nodes to calamari server manually
С уважением,
Разорёнов Александр
Ведущий специалист отдела мониторинга и технической поддержки
тел.: +7 (495) 780-60-36
тел.: +7 (495) 780-60-35, доб. 340
e-mail: arazorenov@rutube.ru
http://rutube.ru/
129226, Москва
ул. Вильгельма Пика, д. 3, стр. 2
ЗАО «РУТЬЮБ», Газпром-Медиа Холдинг
I might misunderstand this. I executed this command on ceph node like this. [ceph node]# ceph-deploy calamari connect {Calamari Server}
But it seems this command should execute on calamari server.
[calamari server]# ceph-deploy calamari connect {Ceph Nodes}
Is this correct? I would like to know only this point.
On November 14, 2014 at 5:59:19 PM, idzzy (idezebi@xxxxxxxxx) wrote:
I see following message on calamari GUI.
----------------------------------
New Calamari Installation
This appears to be the first time you have started Calamari and there are no clusters currently configured.
3 Ceph servers are connected to Calamari, but no Ceph cluster has been created yet. Please use ceph-deploy to
create a cluster; please see the Inktank Ceph Enterprise documentation for more details.
----------------------------------
And as next step, I executed below command to add ceph node to calamari server.
But “no calamari-minion repo found” message is being output.
----------------------------------
# ceph-deploy calamari connect 10.32.37.44
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.9): /usr/bin/ceph-deploy calamari connect 10.32.37.44
[ceph_deploy][ERROR ] RuntimeError: no calamari-minion repo found
----------------------------------
(10.32.37.44 is calamari server)
So I added the repository to ~/.cephdeploy.conf of ceph node like this.
----------------------------------
name=ceph repo noarch packages
baseurl=http://ceph.com/rpm-emperor/el6/noarch
#baseurl=http://ceph.com/rpm-emperor/rhel6/x86_64/
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
----------------------------------
Then run again, but following error is being output.
----------------------------------
# ceph-deploy calamari connect 10.32.37.44
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.9): /usr/bin/ceph-deploy calamari connect 10.32.37.44
Warning: Permanently added '10.32.37.44' (RSA) to the list of known hosts.
[10.32.37.44][DEBUG ] connected to host: 10.32.37.44
[10.32.37.44][DEBUG ] detect platform information from remote host
[ceph_deploy][ERROR ] RuntimeError: ImportError: No module named ceph_deploy
----------------------------------
How can I proceed to add ceph node to calamari server and start to use calamari guy?
Sorry this may be basically question, any advise will helpful for me.
|