Monday, April 13, 2015

Inkscope V1.2 is available

Release 1.2 has been published and packaged. It comes with the following changes.
 
Enhancements:
  • add OSD perf view
  • add pg stuck list and pg menu
  • add pool snapshot creation and deletion
  • add MDS page
  • enable more than one cephprobe
  • add status to sysprobe and cephprobe
  • add filters to Pool/PG/OSD display
  • update js libraries
  • allow use of https connexion to radosgw
  • add the possibility to pause/resume the automatic refresh of pg states pie on dashboard
Fixes:
  • fixes to probes (authentication with mongo, stat garbage time window)
  • fixes to S3 object view issues ( #37 , #38 )
  • fix dashboard if great number of PGs (#44)

Wednesday, March 4, 2015

Inkscope installation on debian servers

Typical installation of Inkscope

Inkscope  and its mongoDB database should be installed on an independent server from ceph.
Inkscope provides probes to fetch metrics from the ceph cluster and its machines:
  • Sysprobe is used to fetch system informations on each machine of the cluster.
  • Cephprobe fetches information on the cluster itself. It is intended to be installed on a machine accessing the ceph-rest-api.
Before installing Inkscope, you'll need to install a mongoDB database.

Add the Inkscope debian repository in your source list

Create /etc/apt/sources.list.d/inkscope.list and add line:
deb https://raw.githubusercontent.com/inkscope/inkscope-packaging/master/DEBS ./ 
Then
apt-get update 

Packages for Inkscope are:
  • inkscope-common : install the configuration file for probes and web interface.
    inkscope-sysprobe : installs sysprobe
  • inkscope-cephrestapi: installs all script to start a ceph-rest-api 
  • inkscope-cephprobe: installs the cephprobe
  • inkscope-admviz : installs inskcope web interface 

Install Inkscope server on one server :

sudo apt-get install inkscope-admviz 

Then you'll have to provide a running ceph-rest-api. "Inkscope and ceph-rest-api" describes how to provide access to the ceph-rest-api as an Apache WSGI application or a standalone server.

Edit /opt/inkscope/etc/inkscope.conf  for mongoDB, ceph-rest-api and radosgw parameters.

The configuration file is the same for every module and can be deployed on every machine.

Edit /etc/apache2/sites-available/inkScope.conf to fill parameters concerning ceph-rest-api
Edit /etc/apache2/ports.conf to add
Listen 8080 

Enable apache proxy or rewrite module according to your choice of access to ceph-rest-api (see "Inkscope and ceph-rest-api")
sudo a2enmod proxy_http  (for standalone server)
sudo a2enmod rewrite (for WSGI application)

Enable inkscope
sudo a2ensite inkscope 

Restart apache
sudo service apache2 restart 

 Now you can access inkscope in your browser
http://<inkscope-server>:8080/
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.

Install sysprobe on each server:

sudo apt-get install inkscope-sysprobe 

Edit /opt/inkscope/etc/inkscope.conf  for mongoDB, ceph-rest-api and radosgw parameters or retrieve the one modified on the previous step.

Start sysprobe:
/etc/init.d/sysprobe start

Install cephprobe on one server:


sudo apt-get install inkscope-cephprobe 
Edit /opt/inkscope/etc/inkscope.conf  for mongoDB, ceph-rest-api and radosgw parameters or retrieve the one modified on the previous step.

Start cephprobe:
/etc/init.d/cephprobe start

If your cluster is healthy, you'll have a first page like this:


Et voila!

Tuesday, March 3, 2015

Packages are now available for inkscope

inspired by Crystal Project Icons

We are proud to announce the availability of installation packages for Inkscope.

You'll find RPM or DEB files on the project repository on Github.

An article describes how to install Inkscope on Debian servers.





Friday, February 6, 2015

inkscope lite

Inkscope lite is a visualization only version of Inkscope.

All you need for it is Apache and a running ceph-rest-api. You don't need any database or probe.

The installation proccess is very simple:
1- download and unzip the inkscope-lite package (link)
2- start a ceph-rest-api
2- configure Apache
4- Enjoy!

For more detail on InkScope lite , go there .

Download inkscope-lite

Wednesday, February 4, 2015

Inkscope V1.1

A new release is available on github.

For packaging reason, we go directly from 0.4 to 1.1.
Here are the main changes in this release:
  • unique config file for inkscopeCtrl and inkscope probes
  • pool management enhancement (categorized parameters, erasure coded pool, cache tiering)
  • erasure code profile management
  • Rados Gateway object visualization
  • fix compatibility issue with Giant
  • show overall status on every pages (title color)
  • allow to use the same mongo db for several ceph clusters
  • access to health details with filter from the dashboard
  • new colors for pg states
  • allow to launch ceph-rest-api as an apache wsgi application

It has been tested on Firefly and Giant.

Manual installation is described here

Installation packages (rpm or deb) will be available soon.


Monday, February 2, 2015

Managing Crush map buckets with Ceph Rest API

Possibilities for managing buckets are:
  • add-bucket
  • link
  • move
  • rm or remove
The URL syntax is :

/api/v0.1/link?name=bucketname&args=buckettype=bucketname [args=buckettype=bucketname]

exemple:

R1- /api/v0.1/add-bucket?name=myhost&type=host

R2- /api/v0.1/link?name=myhost&args=datacenter=houston&args=root=default

R1 will create 'myhost' of type 'host' but with no link
R2 will create or establish a tree for 'myhost' in crushmap

root -> datacenter ->host
default -> Houston -> myhost