Free storage, SAN and LAN performance and capacity monitoring

Ceph storage installation


Back to storage installation home.

In case of usage of Virtual Appliance
  • Use local account lpar2rrd for hosting of STOR2RRD on the virtual appliance
  • Use /home/stor2rrd/stor2rrd as the product home
It is already implemented. It will be released in Q3 2018.
Anyone willing to test it? Contact us at support@stor2rrd.com.


The product uses REST API interfaces provided by the storage.

Prerequisites

  • Start up REST API on some Ceph node under root user:
    [root@ceph1 ~]# nohup ceph-rest-api -n client.admin > /dev/null 2>&1 &
    
  • Storage connectivity:
    Allow access from the STOR2RRD host to the storage on port 5000.
    Test if porti is open:
    $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 5000
      Connection to "192.168.1.1" on port "5000" is ok
    

STOR2RRD storage configuration

  • All actions below under stor2rrd user (lpar2rrd on Virtual Appliance)

  • Uncomment (remove the hash) example line and adjust it:
    $ vi /home/stor2rrd/stor2rrd/etc/storage-list.cfg
    
    #
    # Ceph
    #
    # Storage Alias:CEPH:Storage IP address or hostname:PORT:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS
    #Ceph-alias01:CEPH:ceph01.example.com:5000:1024:10:
    
    Ceph-alias01:CEPH:ceph01.example.com:5000
    
    Above shows the storage with IP 192.168.1.1 which will be visible in the GUI as Ceph-alias01

  • Assure you have enough of disk space on the filesystem where is STOR2RRD installed
    Roughly you might count 2 - 30 GB per a storage (it depends on number of volumes, 30GB for 5000 volumes)
    $ df -g /home   # AIX
    $ df -h /home   # Linux
    
  • Check storage connectivity
    $ cd /home/stor2rrd/stor2rrd
    $ ./bin/config_check.sh 
      =====================
      STORAGE: Ceph-alias01 : CEPH   
      =====================
      connection ok
    
  • Schedule to run storage agent from stor2rrd crontab (lpar2rrd on Virtual Appliance, it might already exist there)
    $ crontab -l | load_cephperf.sh
    $
    
    Add if it does not exist as above
    $ crontab -e
    
    # Ceph 
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_cephperf.sh > /home/stor2rrd/stor2rrd/load_cephperf.out 2>&1
    
    Assure there is already an entry with the GUI creation running once an hour in crontab
    $ crontab -e
    
    # STOR2RRD GUI (just ONE entry of load.sh must be there)
    5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
    
  • Let run the storage agent for 15 - 20 minutes to get data, then:
    $ cd /home/stor2rrd/stor2rrd
    $ ./load.sh
    
  • Go to the web GUI: http://<your web server>/stor2rrd/
    Use Ctrl-F5 to refresh the web browser cache.