Installation

RAIDIX storage installation

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
STOR2RRD obtains all data through SSH.
RAIDIX 4.7+ and 5.x+ are supported.

Note: RAIDIX does not measure exact response time for each individual IO operation. It has eight buckets instead, each representing a range of response times, and it counts the number of IO operations completed within this range in each bucket. IO completed in less than 25 microseconds falls into bucket0, 25 - 100 microseconds into bucket1, and so on. (Please consult RAIDIX documentation for more information.) STOR2RRD calculates an average IO response time using a mean value of each bucket. This gives you very rough view of your RAIDIX system responsetime but it is far from accurate.

Storage connectivity

  • Allow access from the STOR2RRD host to all RAIDIX nodes on ports 22 (SSH).
    $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 22 
      Connection to "192.168.1.1" on port "22" is ok
    
  • Storage user:
    STOR2RRD collects data from each RAIDIX node separately.
    It is therfore necessary to create a STOR2RRD user for each RIADIX node in Dual Conteroller configuration.
    Log in to RAIDIX GUI ➡ Navigate to System ➡ Users ➡ Create User
    RADIX Storage User Management


    Assign "Operator" role and click create
    RADIX Storage User Management Role

  • Storage user access, select one authorisation method:
    • Password: put password into storage configuration properties, check next chapter

    • SSH keys: Exchange ssh keys to allow ssh-key based access
      Create ssh-keys on STOR2RRD host under stor2rrd user if do not exist yet.
      It should already exist on the Virtual Appliance, skip it there.
      Type enter instead of passphrase
      # su - stor2rrd # (use lpar2rrd user on the Appliance)
      $ ls -l ~/.ssh/id_rsa.pub
      $ ssh-keygen -t rsa -N ""
        Generating public/private rsa key pair.
        Enter file in which to save the key (/home/stor2rrd/.ssh/id_rsa):
        ...
      $ ls -l ~/.ssh/id_rsa.pub
        -rw-r--r-- 1 stor2rrd stor2rrd 382 Jun  1 12:47 /home/stor2rrd/.ssh/id_rsa.pub
      
    • Copy ssh-key into the RAIDIX under storage stor2rrd
      $ scp ~/.ssh/id_rsa.pub stor2rrd@<RAIDIX IP/hostname>:/tmp/id_rsa.pub
      $ ssh stor2rrd@<RAIDIX IP/hostname>
      stor2rrd@raidix1:/home/stor2rrd$ mkdir .ssh
      stor2rrd@raidix1:/home/stor2rrd$ chmod 700 .ssh
      stor2rrd@raidix1:/home/stor2rrd$ mv /tmp/id_rsa.pub .ssh/authorized_keys
      
    • Test connectivity, you should not be prompted for password:
      $ ssh stor2rrd@<RAIDIX IP/hostname> "date"
        Mon May 25 23:30:01 CEST 2020
      

STOR2RRD storage configuration

    Add storage into configuration from the UI:
    Settings icon ➡ Storage ➡ New ➡ Vendor:device ➡ RAIDIX
    Storage management

  • 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
    
  • Schedule to run storage agent from stor2rrd crontab (lpar2rrd on Virtual Appliance, it might already exist there)
    $ crontab -l | grep load_raidixperf.sh
    $
    
    Add if it does not exist as above
    $ crontab -e
    
    # RAIDIX
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_raidixperf.sh > /home/stor2rrd/stor2rrd/load_raidixperf.out 2>&1
    
    Assure there is already an entry with the UI creation running once an hour in crontab
    $ crontab -e
    
    # STOR2RRD UI (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 UI: http://<your web server>/stor2rrd/
    Use Ctrl-F5 to refresh the web browser cache.