tag:blogger.com,1999:blog-582305513757664902024-03-14T17:34:02.608+01:00inkScope and cephUnknownnoreply@blogger.comBlogger14125tag:blogger.com,1999:blog-58230551375766490.post-33791252674171767012018-07-03T11:56:00.001+02:002019-10-31T16:23:55.769+01:00Ansible playbook for Inkscope<div center="" class="separator" style="text-align: center;" text-align:="">
<img border="0" data-original-height="315" data-original-width="256" height="200" src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Ansible_logo.svg/256px-Ansible_logo.svg.png" width="162" />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYFNpE7Ap4HVJl68FTNssDiEBAWkQk5EgpTXi21DP8zb8hfHzfR6Q2_3Uq8lqxPHIi-BJSIosslU94JMd-rWLT-_F8f6YAgXIMSINZhhhgBIxMsqAzmoUPpPYYDlaJJ4_dX73jGY87Uos/s1600/inkscope-vert.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="494" data-original-width="494" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYFNpE7Ap4HVJl68FTNssDiEBAWkQk5EgpTXi21DP8zb8hfHzfR6Q2_3Uq8lqxPHIi-BJSIosslU94JMd-rWLT-_F8f6YAgXIMSINZhhhgBIxMsqAzmoUPpPYYDlaJJ4_dX73jGY87Uos/s200/inkscope-vert.png" width="200" /></a></div>
<div style="text-align: center;">
<br />
<br />
To simplify the installation of Inkscope, an ansible playbook is now available:
<br />
see <a href="https://github.com/inkscope/inkscope-ansible">https://github.com/inkscope/inkscope-ansible</a>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-89642651769045939252016-05-02T10:42:00.002+02:002017-02-03T14:06:03.531+01:00Inkscope V1.4.0 is available A new release of Inkscope is available on Github. <br />
<br />
Installation from scratch is described <a href="http://inkscope.blogspot.fr/2015/12/inkscope-v13-installation-on-debian.html">here</a>.<br />
<br />
The main feature of this release is Monitoring Ceph with collectd and influxdb.<br />
This feature is optinal but can be activated following this <a href="https://github.com/inkscope/inkscope/wiki/Monitoring-in-Inkscope-with-collectd-and-influxDB" target="_blank">wiki page instructions</a>.<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4dLpplaBHZursfIMLCdCGWWWdphwiHOSeaIGy5b4uwEQEQzAz0Rc4n-eEvSGl0pzTrgC1tguW4zW7HdYmCZt05Pn2BQlvedJHhIB145nkiTQaJ4TLHLhab4Bn5ugnTSNhrNW4h2wfv8/s1600/Screenshot-ClusterMonitor.jpg" imageanchor="1"><img border="0" height="458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB4dLpplaBHZursfIMLCdCGWWWdphwiHOSeaIGy5b4uwEQEQzAz0Rc4n-eEvSGl0pzTrgC1tguW4zW7HdYmCZt05Pn2BQlvedJHhIB145nkiTQaJ4TLHLhab4Bn5ugnTSNhrNW4h2wfv8/s640/Screenshot-ClusterMonitor.jpg" width="640" /></a><br />
<br />
<br />
The complete list of changes is:<br />
<div class="markdown-body">
<ul>
<li>monitoring with Influxdb and collectd-ceph</li>
<li>fix pg chart</li>
<li>take cluster name for various functions in Inkscope controller</li>
<li>fix issue <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="129109186" data-permission-text="Issue title is private" data-url="https://github.com/inkscope/inkscope/issues/61" href="https://github.com/inkscope/inkscope/issues/61">#61</a>: display bug on osd pages with Firefox 43</li>
<li>fix path for ceph-rest-api in standalone mode</li>
<li>fix full refresh of data</li>
<li>fix typo, add info for a standalone ceph_rest_api</li>
<li>fix login issue</li>
<li>fix osd page: lookup hostids in db before using socket.fqdn</li>
<li>fix S3 object visualization bug on getChunkBaseName</li>
<li>fix issue <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="136611479" data-permission-text="Issue title is private" data-url="https://github.com/inkscope/inkscope/issues/67" href="https://github.com/inkscope/inkscope/issues/67">#67</a> add inkscope_root </li>
<li>delete redundent import and fix the style of import</li>
<li>add favicon</li>
</ul>
</div>
Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-58230551375766490.post-79621083145777023182016-01-22T10:30:00.000+01:002016-01-22T10:30:04.757+01:00Inkscope V1.3.1 is availableA new release of Inkscope is available on Github. This release is tested on Firefly, Hammer and Infernalis.<br />
<br />
Installation from scratch is described <a href="http://inkscope.blogspot.fr/2015/12/inkscope-v13-installation-on-debian.html">here.</a><br />
Migration from V1.2 is described <a href="http://inkscope.blogspot.fr/2015/12/inkscope-v13-migration-from-v12.html">here</a>. <br />
<br />
The complete list of changes is: <br />
<br />
Enhancements:<br />
<ul>
<li>change log path and make wsgi for ceph-rest-api the default</li>
<li>remove console</li>
<li>add date info on hosts and probes page</li>
<li>enhance flag management and compatibility with Hammer and Infernalis</li>
<li>enhance rhel71 compatibility (suggested by Paul Hewlett)</li>
<li>add ceph version detection</li>
<li>#58 new parameters in pool info (Hammer, Infernalis)</li>
<li>navigation enhancement</li>
</ul>
Fixes:<br />
<ul>
<li>fix issue #59 (Erasure code profile creation: error messages)</li>
<li>fix issue #60 (Infernalis: mtime format for bucket info has changed)</li>
<li>fix issue #55 (compatibility with 0.94)</li>
<li>fix non functional near and full indicators</li>
<li>fix text for invalid data</li>
<li>fix overlaying display of OSD on right panel</li>
<li>fix OSD space ratio filtering when no stat</li>
<li>manage ceph probe connection error</li>
</ul>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-58230551375766490.post-31160607224686872082015-12-23T14:00:00.002+01:002016-01-19T17:35:12.249+01:00Inkscope V1.3: migration from V1.2<u>edit: 18/01/2016 Inkscope 1.3.1 version </u><br />
<br />
One of the new features is the access control of Inkscope.<br />
<br />
On the Inkscope server, this needs a new python module that you can install with:<br />
<br />
pip install flask-login<br />
<br />
Then you can upgrade Inkscope packages with:<br />
<br />
apt-get update<br />
apt-get upgrade<br />
<br />
You'll also have to upgrade all the servers where cephprobes and sysprobes are installed.<br />
<br />
For the access control features, a new database (inkscope) is created in mongo at the first launch with two users:<br />
- one with the admin role (User 'admin' with password 'admin')<br />
- a second with supervizor role (User 'guest', no password)<br />
<i>Fill free to add your own admin user and delete the default one.</i><br />
<br />
If your mongoDB is authenticated, you'll have to connect to mongoDB as admin and grant access for your mongo inkscope user to an 'inkscope' database.<br />
<br />
For example:<br />
mongo -u <admin> -p <adminpwd> admin<br />
>use inkscope<br />
>db.system.users.insert(<Your_user_description>)<br />
<i><Your_user_description> can be found with the following:</i><br />
<i> >use <ceph fsid></i><br />
<i> >db.system.users.find()</i><br />
<br />
Then restart probes and then apache<br />
<br />
That's it ! Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-29617552017418741132015-12-23T14:00:00.001+01:002017-02-03T14:37:26.969+01:00 Inkscope V1.3 installation on debian servers <u>edit: 18/01/2016 Inkscope 1.3.1 version </u><br />
<h3>
Typical installation of Inkscope</h3>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGi5QymVHLvFP4TETaL98Fz4uqBd-e8fHmiE2MYPyCPBoej_kL7Sdj7g3hZ9nr6RtQ2E_T1ibI2I36OAcPLHwOoKR-nK7_dzPFxj_Dnzr3VtenLDBNPMoxvT_KpyYYCIiY0GcujwgpxQM/s1600/inkscope-platform.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="508" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGi5QymVHLvFP4TETaL98Fz4uqBd-e8fHmiE2MYPyCPBoej_kL7Sdj7g3hZ9nr6RtQ2E_T1ibI2I36OAcPLHwOoKR-nK7_dzPFxj_Dnzr3VtenLDBNPMoxvT_KpyYYCIiY0GcujwgpxQM/s1600/inkscope-platform.png" width="640" /></a></div>
Inkscope and its mongoDB database should be installed on an independent server from ceph.<br />
Inkscope provides probes to fetch metrics from the ceph cluster and its machines:<br />
<ul>
<li>Sysprobe is used to fetch system informations on each machine of the cluster.</li>
<li>Cephprobe fetches information on the cluster itself. It is intended to be installed on a machine accessing the ceph-rest-api.</li>
</ul>
<b>Before installing Inkscope, you'll need to install a mongoDB instance.</b><br />
The initialisation of the Mongo databases will be done at first launch.<b><br /></b><br />
<br />
<h3 class="tr_bq">
Add the Inkscope debian repository in your source list </h3>
Create /etc/apt/sources.list.d/inkscope.list: <br />
<blockquote class="tr_bq">
<div class="ace-line" id="magicdomid232">
<span class="author-a-z85zpz73zz88zz88zz88z5z76zxz74z4lpz122zrp i"><i>echo "deb </i></span><span class="author-a-z85zpz73zz88zz88zz88z5z76zxz74z4lpz122zrp i url"><a href="https://raw.githubusercontent.com/inkscope/inkscope-packaging/master/DEBS"><i>https://raw.githubusercontent.com/inkscope/inkscope-packaging/master/DEBS</i></a></span><span class="author-a-z85zpz73zz88zz88zz88z5z76zxz74z4lpz122zrp i"><i> ./"</i></span><span class="author-a-z85zpz73zz88zz88zz88z5z76zxz74z4lpz122zrp"> | sudo tee /etc/apt/sources.list.d/inkscope.list</span></div>
</blockquote>
Then <br />
<blockquote class="tr_bq">
<i><span class="author-a-z85zpz73zz88zz88zz88z5z76zxz74z4lpz122zrp i"><i>sudo apt-get updat</i></span>e </i></blockquote>
<br />
Packages for Inkscope are:<br />
<ul>
<li><b>inkscope-common </b>: install the configuration file for probes and web interface.
<br /> <b>inkscope-sysprobe </b>: installs sysprobe </li>
<li><b>inkscope-cephrestapi</b>: installs all script to start a ceph-rest-api </li>
<li><b>inkscope-cephprobe</b>: installs the cephprobe </li>
<li><b>inkscope-admviz</b> : installs inskcope web interface </li>
</ul>
<br />
<h3>
Install Inkscope server on one server :</h3>
<blockquote class="tr_bq">
sudo apt-get install inkscope-admviz<b> </b>inkscope-cephrestapi</blockquote>
<br />
Edit /opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and radosgw parameters<br />
<br />
In this file, you can also specify a description for your platform in the 'platform' field. This string will be shown on every page of Inkscope in the header.<br />
<br />
The configuration file is the same for every module and can be deployed on every machine.<br />
<br />
If the Inkscope server is not a ceph node, you'll have to copy the ceph.conf file of the cluster. <br />
<br />
Edit /etc/apache2/sites-available/inkScope.conf to fill parameters concerning <b>ceph-rest-api</b><br />
<br />
By default, conf files are provided with<b> </b>ceph-rest-api as a WSGI application<br />
This make ceph-rest-api a part of the inkscope server by launching ceph-rest-api as an apache wsgi application. You can also use the ceph-rest-api as a standalone server. For more details : see <a href="http://inkscope.blogspot.fr/2015/03/inkscope-and-ceph-rest-api.html" target="_blank">"Inkscope and ceph-rest-api"</a> <br />
In the following, we consider ceph-rest-api as a WSGI application.<br />
<br />
You need to create a ceph user named client.restapi with caps : [mds] allow, [mon] allow * , [osd] allow *<br />
<br />
<blockquote class="tr_bq">
sudo ceph auth get-or-create client.restapi mds 'allow' osd 'allow *' mon 'allow *' > /etc/ceph/ceph.client.restapi.keyring</blockquote>
<br />
Then you need to add the following section in your \<cluster\>.conf:<br />
<blockquote class="tr_bq">
[client.restapi]<br />
log_file = /dev/null<br />
keyring = /etc/ceph/ceph.client.restapi.keyring</blockquote>
<br />
<br />
Edit /etc/apache2/ports.conf to add<br />
<blockquote class="tr_bq">
Listen 8080 </blockquote>
<br />
<br />
Enable apache proxy or rewrite module according to your choice of access to ceph-rest-api (see <a href="http://inkscope.blogspot.fr/2015/03/inkscope-and-ceph-rest-api.html" target="_blank">"Inkscope and ceph-rest-api"</a>)<br />
<blockquote class="tr_bq">
sudo a2enmod proxy_http (for standalone server)</blockquote>
<blockquote class="tr_bq">
sudo a2enmod rewrite (for WSGI application)</blockquote>
Inkscope needs other python modules. To install them, use:<br />
<br />
pip install flask-login simple-json<br />
<br />
<br />
Enable inkscope <br />
<blockquote class="tr_bq">
sudo a2ensite inkScope </blockquote>
<br />
Restart apache<br />
<blockquote class="tr_bq">
sudo service apache2 restart </blockquote>
<br />
Now you can access inkscope in your browser<br />
<blockquote class="tr_bq">
http://<inkscope-server>:8080/
</blockquote>
On the first launch, two users are created :<br />
- one with the admin role (User 'admin' with password 'admin')<br />
- a second with supervizor role (User 'guest', no password)<br />
<i>Fill free to add your own admin user and delete the default one.</i><br />
<br />
At this stage, Inkscope is not fully operationnal
and needs the mongoDB database to be feed. For this, you'll have to
install Inkscope probes.<br />
<br />
<h3>
Install sysprobe on each server:</h3>
<blockquote class="tr_bq">
<i>sudo apt-get install inkscope-sysprobe </i></blockquote>
<br />
Edit /opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and
radosgw parameters or retrieve the one modified on the previous step.<br />
<br />
You'll have to install lshw and sysstat<br />
<br />
apt-get install lshw sysstat<br />
<br />
Also install psutil python module (don't use psutil 0.x or 3.x)<br />
<br />
pip install psutil==2.1.3 <br />
<br />
Start sysprobe:<br />
<blockquote>
/etc/init.d/sysprobe start</blockquote>
<br />
<h3>
Install cephprobe on one server:</h3>
<h3>
</h3>
<br />
<blockquote class="tr_bq">
sudo apt-get install inkscope-cephprobe </blockquote>
Edit
/opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and
radosgw parameters or retrieve the one modified on the previous step.<br />
<br />
Install psutil python module (don't use psutil 0.x or 3.x)<br />
<br />
pip install psutil==2.1.3 <br />
<br />
Start cephprobe:<br />
<blockquote class="tr_bq">
/etc/init.d/cephprobe start
</blockquote>
<br />
If your cluster is healthy, you'll have a first page like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZtjGgqGMjNDeRVkclLC2j6dMoLDQwv0jcjM7rBtR7c2XBhoc0KoSif52WqvKqFPTY1DjsVf4bwh5RTGr9A5flz6slGCnu7GMMg_IFwFTeMrF-uZpQk-ECqH38kWLbc32rgh6XTvrSxuM/s1600/Screen+Shot+2015-12-23+at+10.42.09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZtjGgqGMjNDeRVkclLC2j6dMoLDQwv0jcjM7rBtR7c2XBhoc0KoSif52WqvKqFPTY1DjsVf4bwh5RTGr9A5flz6slGCnu7GMMg_IFwFTeMrF-uZpQk-ECqH38kWLbc32rgh6XTvrSxuM/s640/Screen+Shot+2015-12-23+at+10.42.09.png" width="640" /></a></div>
<br />
Et voila!Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-58230551375766490.post-49223742467240282512015-12-23T14:00:00.000+01:002015-12-23T14:41:41.445+01:00Inkscope V1.3 is available<div class="markdown-body">
A new release of Inkscope is available on Github. This release is tested on Firefly and Hammer.<br />
<br />
Installation from scratch is described <a href="http://inkscope.blogspot.fr/2015/12/inkscope-v13-installation-on-debian.html">here.</a><br />
Migration from V1.2 is described <a href="http://inkscope.blogspot.fr/2015/12/inkscope-v13-migration-from-v12.html">here</a>. <br />
<br />
<br />
The main changes are the <b>Access control to Inkscope</b> with different roles<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-BkODU_mRimwEUVUFD_Ser-E0rgj2Higjb0AUCN1ED8s760u-tkKycTxBGjiIv69OR9dQhpOzQb-ADS_YGbr31kTKTMYxZy65etCeoKbPWgpNVdVJqmRcp5BtnVdgh30OBpbcPc_8O1c/s1600/Screen+Shot+2015-12-23+at+10.07.36.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-BkODU_mRimwEUVUFD_Ser-E0rgj2Higjb0AUCN1ED8s760u-tkKycTxBGjiIv69OR9dQhpOzQb-ADS_YGbr31kTKTMYxZy65etCeoKbPWgpNVdVJqmRcp5BtnVdgh30OBpbcPc_8O1c/s640/Screen+Shot+2015-12-23+at+10.07.36.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">New management page for Inkscope users</td></tr>
</tbody></table>
<br />
<br />
and the <b>management of Rados Block Devices.</b> <br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi34RNXWwO3tQ9-c_tbgDZinUSyWHd2MpYySHAHIeUFKHUq0ltwrEqzArNvNMAWZ1I0WfwVVNH9iRV7gWsDwgq3x7HcvBRcLg8y6fzqW17hz8WRkqv-eOk-TTliGIKnqq8Pj61eIJplV5Q/s1600/Screen+Shot+2015-12-23+at+10.03.47.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi34RNXWwO3tQ9-c_tbgDZinUSyWHd2MpYySHAHIeUFKHUq0ltwrEqzArNvNMAWZ1I0WfwVVNH9iRV7gWsDwgq3x7HcvBRcLg8y6fzqW17hz8WRkqv-eOk-TTliGIKnqq8Pj61eIJplV5Q/s640/Screen+Shot+2015-12-23+at+10.03.47.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">New management page for RBD</td></tr>
</tbody></table>
<br />
<br />
The complete list of changes is: <br />
<br />
Enhancements:<br />
<ul>
<li>add Inkscope access control and roles</li>
<li>add Inkscope user management page</li>
<li>add Block Device Images management </li>
<li>add about inkscope page</li>
<li>enhance osd info and selection regarding relative used space</li>
<li>enhance pool management errors</li>
<li>add view inkscope config page</li>
<li>add possibility to reweight osd in OSD status view</li>
<li>add osd info in osd perf page</li>
<li>enhance S3 bucket info</li>
<li>enhance S3 user info</li>
<li>add new pools graph in pool management</li>
<li>add details on selected pool and relevant rule</li>
<li>add pool distribution on osd map</li>
<li>allow search in osd maps</li>
<li>add the possibility to add a platform name on every screen just have to add "platform":"whatyouwant", in inkscope.conf</li>
<li>add status history graph for OSD</li>
</ul>
Fixes:<br />
<ul>
<li>fix issue when deleting cache tiering concerned pools</li>
<li>fix issue when deleting Swift key</li>
<li>fix issue on pools list</li>
<li>fix issues when inkscope is behind a firewall or proxy</li>
<li>fix stat_cat_sum missing in 0.94 and later (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="92599559" data-permission-text="Issue title is private" href="https://github.com/inkscope/inkscope/issues/53" title="cephprobe fails with ceph 0.94">#53</a>)</li>
<li>fix pb on logrotate</li>
<li>fix sort and search on erasure code table (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="75614531" data-permission-text="Issue title is private" data-url="https://github.com/inkscope/inkscope/issues/51" href="https://github.com/inkscope/inkscope/issues/51">#51</a>)</li>
<li>fix osd map issues when some informations are missing</li>
</ul>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-46035792810902920232015-04-13T14:00:00.000+02:002015-04-13T18:09:24.411+02:00Inkscope and ceph-rest-api (edited)<i>Edited 2015/04/13: found a better way for apache configuration (</i><i>proxypass</i><i> vs </i><i>rewrite</i><i>)</i> <br />
<br />
Inkscope is essentially based on the use of the ceph-rest-api.<br />
<br />
There are two ways to access the ceph-rest-api :<br />
<ul>
<li>as a standalone server.</li>
<li>as an Apache WSGI application. </li>
</ul>
<br />
<br />
<h4>
ceph-rest-api standalone server</h4>
You can start a standalone instance form the command line:<br />
<blockquote class="tr_bq">
nohup ceph-rest-api -i admin&
</blockquote>
<a name='more'></a><br />
<br />
In this case, inkscope configuration uses the proxy feature of apache. For this the typical inkscope.cong for apache is:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq9tKS5WA8Ym92Y5yaLrXFQ-zzILwfHVVMCxlUsEBiuyV1756wZQFQat1bsNhm5uqP9L6AxfQDzQeun0nlzoRz2EHssgce5Rq08stNAjycnWbI9809d6Y2TwAeGuvRFYYJtxGS6gAzqDY/s1600/ceph-rest-api-via-proxy-highlight.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq9tKS5WA8Ym92Y5yaLrXFQ-zzILwfHVVMCxlUsEBiuyV1756wZQFQat1bsNhm5uqP9L6AxfQDzQeun0nlzoRz2EHssgce5Rq08stNAjycnWbI9809d6Y2TwAeGuvRFYYJtxGS6gAzqDY/s1600/ceph-rest-api-via-proxy-highlight.png" height="505" width="640" /></a></div>
<br />
<br />
<h4>
ceph-rest-api as a WSGI application</h4>
A better way is to make ceph-rest-api part of the inkscope server by launching ceph-rest-api as an apache wsgi application.<br />
<br />
You need to create a ceph user named client.restapi with caps : [mds] allow, [mon] allow * , [osd] allow *<br />
<blockquote class="tr_bq">
sudo ceph auth get-or-create client.restapi mds 'allow' osd 'allow *' mon 'allow *' > /etc/ceph/ceph.client.restapi.keyring</blockquote>
<br />
Then you need to add the following section in your \<cluster\>.conf:<br />
<blockquote class="tr_bq">
[client.restapi]<br />
log_file = /dev/null<br />
keyring = /etc/ceph/ceph.client.restapi.keyring</blockquote>
<br />
After that, you need to add the following lines to your Apache inkscope.conf :<br />
<blockquote class="tr_bq">
WSGIScriptAlias /ceph_rest_api /var/www/inkscope/inkscopeCtrl/ceph-rest-api.wsgi<Directory "/var/www/inkscope/inkScopeCtrl"><br />
Require all granted<br />
</Directory></blockquote>
ProxyRequests Off # we want a "Reverse proxy"<br />
ProxyPass /ceph-rest-api/ http://<inkscope_host>:<inkscope_port>/ceph_rest_api/api/v0.1/<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivx7xyTRCUYOlNXVLs6Ap6M304tqpaM27x_AVw4ikgyWQ1pj0cxaggY7_je7grDJeBjQjEPVs8wc3X0mJViRF5njowEXh6Z_VRuPJVQHqnLHYPEjHlucuKSaH0bNhUx9sMChUWR3zZQdI/s1600/Screen-2015-04-13_11-40.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivx7xyTRCUYOlNXVLs6Ap6M304tqpaM27x_AVw4ikgyWQ1pj0cxaggY7_je7grDJeBjQjEPVs8wc3X0mJViRF5njowEXh6Z_VRuPJVQHqnLHYPEjHlucuKSaH0bNhUx9sMChUWR3zZQdI/s1600/Screen-2015-04-13_11-40.png" height="587" width="640" /></a></div>
<br />
<br />
You need to restart apache:<br />
<blockquote class="tr_bq">
service apache2 restart</blockquote>
<br />
When this is done, you will have to modify the file /opt/inkscope/etc/inkscope.conf:<br />
<br />
<blockquote class="tr_bq">
"ceph_rest_api": "ceph_rest_api_host:5000",<br />
"ceph_rest_api_subfolder": "",</blockquote>
to<br />
<blockquote class="tr_bq">
<b>"ceph_rest_api": "inkscope_host:inkscope_port",</b><br />
<b>"ceph_rest_api_subfolder": "ceph_rest_api",</b></blockquote>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-58230551375766490.post-13566363308277634992015-04-13T11:24:00.002+02:002015-04-13T11:24:43.084+02:00Inkscope V1.2 is available<div class="markdown-body">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSBkILhXgP5Mjmy96GqVWbRpzlTtOV4mAdl6_eLuA54YrIKULkNyL2vxi2LnTQdbQDmKwS8eSNCqUiqyIcyxIKcXSmgBLJemQMQ6Yo2dWfUmfBWAH935u4LLx22Wy8s_tpXY1ZwWjclzQ/s1600/inkscope-package.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSBkILhXgP5Mjmy96GqVWbRpzlTtOV4mAdl6_eLuA54YrIKULkNyL2vxi2LnTQdbQDmKwS8eSNCqUiqyIcyxIKcXSmgBLJemQMQ6Yo2dWfUmfBWAH935u4LLx22Wy8s_tpXY1ZwWjclzQ/s1600/inkscope-package.png" /></a></div>
Release 1.2 has been published and packaged. It comes with the following changes. <br />
<br />
Enhancements:<br />
<ul class="task-list">
<li>add OSD perf view</li>
<li>add pg stuck list and pg menu</li>
<li>add pool snapshot creation and deletion</li>
<li>add MDS page</li>
<li>enable more than one cephprobe</li>
<li>add status to sysprobe and cephprobe</li>
<li>add filters to Pool/PG/OSD display</li>
<li>update js libraries</li>
<li>allow use of https connexion to radosgw</li>
<li>add the possibility to pause/resume the automatic refresh of pg states pie on dashboard</li>
</ul>
Fixes:<br />
<ul class="task-list">
<li>fixes to probes (authentication with mongo, stat garbage time window)</li>
<li>fixes to S3 object view issues ( <a class="issue-link" href="https://github.com/inkscope/inkscope/issues/37" title="inkscopeCtrl/S3ObjectCtrl : getOsdDump() requests wrong URL">#37</a> , <a class="issue-link" href="https://github.com/inkscope/inkscope/pull/38" title="Fixes in inkscopeCtrl/S3ObjectCtrl.py">#38</a> ) </li>
<li>fix dashboard if great number of PGs (<a class="issue-link" href="https://github.com/inkscope/inkscope/issues/44" title="inkscopeCtrl barfs on large pg maps">#44</a>) </li>
</ul>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-79512344176846852422015-03-26T15:32:00.001+01:002015-03-26T15:32:35.903+01:00Talking about Inkscope at Ceph day San Francisco 2015Find a comparison of administration GUIs for ceph :
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="355" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/45996366" style="border-width: 1px; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;" width="425"> </iframe> <br />
<div style="margin-bottom: 5px;">
<b> <a href="https://fr.slideshare.net/Inktank_Ceph/07-ceph-days-sf2015-paul-evans-static" target="_blank" title="Ceph Day SF 2015 - SysAdmin's Toolbox: Tools for Running Ceph in Production ">Ceph Day SF 2015 - SysAdmin's Toolbox: Tools for Running Ceph in Production </a> </b> from <b><a href="https://www.slideshare.net/Inktank_Ceph" target="_blank">Ceph Community </a></b> </div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-7011815519926784592015-03-04T10:43:00.000+01:002015-03-09T10:28:27.886+01:00Inkscope installation on debian servers<h3>
Typical installation of Inkscope</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGi5QymVHLvFP4TETaL98Fz4uqBd-e8fHmiE2MYPyCPBoej_kL7Sdj7g3hZ9nr6RtQ2E_T1ibI2I36OAcPLHwOoKR-nK7_dzPFxj_Dnzr3VtenLDBNPMoxvT_KpyYYCIiY0GcujwgpxQM/s1600/inkscope-platform.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGi5QymVHLvFP4TETaL98Fz4uqBd-e8fHmiE2MYPyCPBoej_kL7Sdj7g3hZ9nr6RtQ2E_T1ibI2I36OAcPLHwOoKR-nK7_dzPFxj_Dnzr3VtenLDBNPMoxvT_KpyYYCIiY0GcujwgpxQM/s1600/inkscope-platform.png" height="508" width="640" /></a></div>
Inkscope and its mongoDB database should be installed on an independent server from ceph.<br />
Inkscope provides probes to fetch metrics from the ceph cluster and its machines:<br />
<ul>
<li>Sysprobe is used to fetch system informations on each machine of the cluster.</li>
<li>Cephprobe fetches information on the cluster itself. It is intended to be installed on a machine accessing the ceph-rest-api.</li>
</ul>
<b>Before installing Inkscope, you'll need to install a mongoDB database.</b><br />
<br />
<h3 class="tr_bq">
Add the Inkscope debian repository in your source list </h3>
Create /etc/apt/sources.list.d/inkscope.list and add line: <br />
<blockquote class="tr_bq">
<i>deb https://raw.githubusercontent.com/inkscope/inkscope-packaging/master/DEBS ./ </i></blockquote>
Then <br />
<blockquote class="tr_bq">
<i>apt-get update </i></blockquote>
<br />
Packages for Inkscope are:<br />
<ul>
<li><b>inkscope-common </b>: install the configuration file for probes and web interface.
<br /> <b>inkscope-sysprobe </b>: installs sysprobe </li>
<li><b>inkscope-cephrestapi</b>: installs all script to start a ceph-rest-api </li>
<li><b>inkscope-cephprobe</b>: installs the cephprobe </li>
<li><b>inkscope-admviz</b> : installs inskcope web interface </li>
</ul>
<br />
<h3>
Install Inkscope server on one server :</h3>
<blockquote class="tr_bq">
sudo apt-get install inkscope-admviz </blockquote>
<br />
Then you'll have to provide a running ceph-rest-api. <a href="http://inkscope.blogspot.fr/2015/03/inkscope-and-ceph-rest-api.html" target="_blank">"Inkscope and ceph-rest-api"</a> describes how to provide access to the ceph-rest-api as an Apache WSGI application or a standalone server.<br />
<br />
Edit /opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and radosgw parameters.<br />
<br />
The configuration file is the same for every module and can be deployed on every machine.<br />
<br />
Edit /etc/apache2/sites-available/inkScope.conf to fill parameters concerning <b>ceph-rest-api</b><br />
Edit /etc/apache2/ports.conf to add<br />
<blockquote class="tr_bq">
Listen 8080 </blockquote>
<br />
Enable apache proxy or rewrite module according to your choice of access to ceph-rest-api (see <a href="http://inkscope.blogspot.fr/2015/03/inkscope-and-ceph-rest-api.html" target="_blank">"Inkscope and ceph-rest-api"</a>)<br />
<blockquote class="tr_bq">
sudo a2enmod proxy_http (for standalone server)</blockquote>
<blockquote class="tr_bq">
sudo a2enmod rewrite (for WSGI application)</blockquote>
<br />
Enable inkscope <br />
<blockquote class="tr_bq">
sudo a2ensite inkscope </blockquote>
<br />
Restart apache<br />
<blockquote class="tr_bq">
sudo service apache2 restart </blockquote>
<br />
Now you can access inkscope in your browser<br />
<blockquote class="tr_bq">
http://<inkscope-server>:8080/
</blockquote>
At this stage, Inkscope is not fully operationnal and needs the mongoDB database to be feed. For this, you'll have to install Inkscope probes.<br />
<br />
<h3>
Install sysprobe on each server:</h3>
<blockquote class="tr_bq">
<i>sudo apt-get install inkscope-sysprobe </i></blockquote>
<br />
Edit /opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and
radosgw parameters or retrieve the one modified on the previous step.<br />
<br />
Start sysprobe:<br />
<blockquote>
/etc/init.d/sysprobe start</blockquote>
<br />
<h3>
Install cephprobe on one server:</h3>
<h3>
</h3>
<br />
<blockquote class="tr_bq">
sudo apt-get install inkscope-cephprobe </blockquote>
Edit /opt/inkscope/etc/inkscope.conf for mongoDB, ceph-rest-api and radosgw parameters or retrieve the one modified on the previous step.<br />
<br />
Start cephprobe:<br />
<blockquote class="tr_bq">
/etc/init.d/cephprobe start
</blockquote>
<br />
If your cluster is healthy, you'll have a first page like this:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl9gGjGjbSp4-avfBZs_ZRE_b-x83S7z1BCfFqyjhYRSsz_Qj9TlvV4oEj911e_F6Tp37O0sYBMcDqqaniAyDHWkEuPwwKpsceFU_feiIYerdsyzAte9NxtKua7ri7JaQVO6Li_JT8mi0/s1600/Screen+Shot+2015-03-04+at+10.37.50.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl9gGjGjbSp4-avfBZs_ZRE_b-x83S7z1BCfFqyjhYRSsz_Qj9TlvV4oEj911e_F6Tp37O0sYBMcDqqaniAyDHWkEuPwwKpsceFU_feiIYerdsyzAte9NxtKua7ri7JaQVO6Li_JT8mi0/s1600/Screen+Shot+2015-03-04+at+10.37.50.png" height="240" width="320" /></a></div>
<br />
Et voila!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-71725092151001566192015-03-03T15:02:00.000+01:002015-03-04T11:20:09.653+01:00Packages are now available for inkscope<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKDvWUfVBPHVfF5FTXFnyOCe8fMHvsdjyyNABo7UAjqWbfdPBzHl8kLa1fW9tLGeBIF67MlA6Sig8b4CUHqrTi2qG5OmmiaNT5NnhL7NdqHrVpY9JlcTkXfzR1dKSI65VSp9qDCoybcwo/s1600/inkscope-package.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKDvWUfVBPHVfF5FTXFnyOCe8fMHvsdjyyNABo7UAjqWbfdPBzHl8kLa1fW9tLGeBIF67MlA6Sig8b4CUHqrTi2qG5OmmiaNT5NnhL7NdqHrVpY9JlcTkXfzR1dKSI65VSp9qDCoybcwo/s1600/inkscope-package.png" height="200" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">inspired by <a href="http://www.softicons.com/system-icons/crystal-project-icons-by-everaldo-coelho">Crystal Project Icons</a></td></tr>
</tbody></table>
<br />
<span style="font-size: large;">We are proud to announce the availability of installation packages for Inkscope.</span><br />
<br />
You'll find RPM or DEB files on the project repository on <a href="https://github.com/inkscope/inkscope-packaging">Github</a>.<br />
<br />
An article describes <a href="http://inkscope.blogspot.fr/2015/03/inkscope-installation-on-debian-servers.html" target="_blank">how to install Inkscope on Debian servers</a>. <br />
<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-44154089337772607752015-02-06T15:50:00.001+01:002015-02-12T10:28:00.614+01:00inkscope lite<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6b3XyDq6NvBGjiQ3DfsFq8c3wDxJR4GeZdxymaYTE2ms0xebCRN_u7Fq7nJW91FMPoa0KqD3_A0DfviemiFOMwnzxAiUh2vYjzXNfr28mez53W1yDmkeTY8DQhcOQIn0rwDyu3Pcs7cs/s1600/inkscope-lite.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6b3XyDq6NvBGjiQ3DfsFq8c3wDxJR4GeZdxymaYTE2ms0xebCRN_u7Fq7nJW91FMPoa0KqD3_A0DfviemiFOMwnzxAiUh2vYjzXNfr28mez53W1yDmkeTY8DQhcOQIn0rwDyu3Pcs7cs/s1600/inkscope-lite.png" height="240" width="320" /></a>Inkscope lite is a visualization only version of Inkscope.<br />
<br />
All you need for it is Apache and a running ceph-rest-api. You don't need any database or probe.<br />
<br />
The installation proccess is very simple:<br />
1- download and unzip the inkscope-lite package (<a href="https://github.com/A-Dechorgnat/inkscope-lite/archive/master.zip" target="_blank">link</a>)<br />
2- start a ceph-rest-api <br />
2- configure Apache<br />
4- Enjoy!<br />
<br />
For more detail on InkScope lite , go <a href="https://github.com/A-Dechorgnat/inkscope-lite" target="_blank">there</a> .
<br><br>
<a data-icon="octicon-cloud-download" href="https://github.com/A-Dechorgnat/inkscope-lite/archive/master.zip" class="github-button">Download inkscope-lite</a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-58230551375766490.post-10785099579992317152015-02-04T10:18:00.004+01:002015-02-04T10:25:27.838+01:00Inkscope V1.1<div class="markdown-body">
A new release is available on <a href="https://github.com/inkscope/inkscope/releases/tag/V1.1" target="_blank">github</a>. <br />
<br />
For packaging reason, we go directly from 0.4 to 1.1.<br />
Here are the main changes in this release: <br />
<ul>
<li>unique config file for inkscopeCtrl and inkscope probes </li>
<li>pool management enhancement (categorized parameters, erasure coded pool, cache tiering)</li>
<li>erasure code profile management</li>
<li>Rados Gateway object visualization</li>
<li>fix compatibility issue with Giant</li>
<li>show overall status on every pages (title color)</li>
<li>allow to use the same mongo db for several ceph clusters</li>
<li>access to health details with filter from the dashboard</li>
<li>new colors for pg states</li>
<li>allow to launch ceph-rest-api as an apache wsgi application </li>
</ul>
<br />
It has been tested on Firefly and Giant.<br />
<br />
Manual installation is described <a href="https://github.com/inkscope/inkscope/wiki/Inkscope%20installation%20%28V1.1%29">here</a><br />
<br />
Installation packages (rpm or deb) will be available soon. <br />
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-58230551375766490.post-11729263984534184742015-02-02T15:43:00.002+01:002015-02-04T10:34:24.690+01:00Managing Crush map buckets with Ceph Rest APIPossibilities for managing buckets are: <br />
<ul>
<li>add-bucket</li>
<li>link</li>
<li>move</li>
<li>rm or remove </li>
</ul>
The URL syntax is :<br />
<br />
/api/v0.1/link?name=bucketname&args=buckettype=bucketname [args=buckettype=bucketname]<br />
<br />
exemple:<br />
<br />
R1- /api/v0.1/add-bucket?name=myhost&type=host <br />
<br />
R2- /api/v0.1/link?name=myhost&args=datacenter=houston&args=root=default<br />
<br />
R1 will create 'myhost' of type 'host' but with no link<br />
R2 will create or establish a tree for 'myhost' in crushmap<br />
<br />
root -> datacenter ->host <br />
default -> Houston -> myhostUnknownnoreply@blogger.com0