Free SAN and storage performance and capacity monitoring

Dell storage installation

Back to storage installation home.

It is under development, release is planned for Q2 2017.
Anyone willing to test it? Contact us at support@stor2rrd.com

Full support will be released in v2.00 (Apr 2017).
You can use it even now, just replace this code after installation in /home/stor2rrd/stor2rrd/bin: ds5perf.pl.gz.
$ ls -l bin/ds5perf.pl
-rwxr-xr-x    1 stor2rrd staff         55445 Apr 12 13:41 bin/ds5perf.pl
It is a LSI rebranded storage. Configure it like IBM DS5k storage in the product.

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
  • Use lpar2rrd account on storages as it is configured in /home/stor2rrd/stor2rrd/etc/stor2rrd.cfg (STORAGE_USER)
  • Replace lpar2rrd by stor2rrd user in all examples below.

SMcli installation

  • You can find SMcli install package inside Resourse DVD
    Download DELL_MDSS_Consolidated_RDVD_6_5_0_1.iso
    Dell MD3000 storage
  • You can download SMcli package even from the IBM site (you need to know storage serial and have IBM ID free account)
    Go to IBM fix central and follow this:
    Product Group [System Storage] ➡
      Select from System Storage [Disk systems] ➡
        Select from Entry level disk systems [DS3000] ➡
            Release [All] ➡
              Platform [AIX/Linux ...]

    Download only *SMIA* package like:
    SM10.86_Linux_64bit_x86-64_SMIA-10.86.x5.43.tgz
    SM10.86_AIX_SMIA-10.86.x5.43.tgz

    Note actual IBM page does not seem to contain SMIA package, use Storage manager which should contain SMCli: Disk-SM-AIX-Dec-2013-version-10.86.x5.43
  • AIX prerequisites:
    Install X11 packages from your AIX install media:
    • X11.adt
    • X11.base
    • X11.motif
    # lslpp -L |egrep "X11.adt|X11.base|X11.motif"
      X11.adt.bitmaps            6.1.0.0    C     F    AIXwindows Application
      X11.adt.ext                6.1.6.0    C     F    AIXwindows Application
      X11.adt.imake              6.1.6.0    C     F    AIXwindows Application
      X11.adt.include            6.1.4.0    C     F    AIXwindows Application
      X11.adt.lib                6.1.2.0    C     F    AIXwindows Application
      X11.adt.motif              6.1.6.0    C     F    AIXwindows Application
      X11.base.common            6.1.0.0    C     F    AIXwindows Runtime Common
      X11.base.lib               6.1.6.0    C     F    AIXwindows Runtime Libraries 
      X11.base.rte               6.1.6.0    C     F    AIXwindows Runtime Environment
      X11.base.smt               6.1.6.0    C     F    AIXwindows Runtime Shared
      X11.base.xpconfig          6.1.0.0    C     F    Xprint Configuration Files 
      X11.motif.lib              6.1.6.0    C     F    AIXwindows Motif Libraries 
      X11.motif.mwm              6.1.6.0    C     F    AIXwindows Motif Window
    
  • Install SMcli under root user
    # umask 022
    # gunzip SM10.86_AIX_SMIA-10.86.x5.43.tgz  
    # tar xvf SM10.86_AIX_SMIA-10.86.x5.43.tar   
    # cd AIX10p86/AIX 
    # sh SMIA-AIX-10.86.0605.0043.bin -i console
      (accept the license agreement, type "enter" many times )
    
      Please choose the Install Set to be installed by this installer.
    
      1- Typical (Full Installation)
      --> 2- Management Station
      3- Host
    
      4- Customize...
    
      ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      : 2
      ......
      Congratulations. IBM System Storage DS Storage Manager 10 has been successfully installed to:
      /opt/IBM_DS
    
    # lslpp -L|grep SMclient
      SMclient.aix.rte      10.86.6543.0    C     F    IBM DS Storage Manager Client
    # ls -l /usr/SMclient/SMcli
      -r-x------    1 root     system         1008 Oct 10 2013  /usr/SMclient/SMcli
    
    Check install log below for errors if you do not see "Congratulations ..." message after the installation.
    /opt/IBM_DS/IBM_System_Storage_DS_Storage_Manager_10_InstallLog.log

  • Note: you might hit into the IBM installer bug during rpm install of SMclient-10.86.0G05.0043-1.noarch. Below is the workaround. Then try installation again.
    # ln -s /opt/IBM_DS/ia/jre/ /opt/IBM_DS/jre
    
  • When you have Debian based Linux (Ubuntu etc) which does not support rpm packaging then you will find uninstalled packages in /opt/IBM_DS
    Convert them in debian packages and install them as root:
    # cd /opt/IBM_DS
    # alien SMclient.rpm 
    # alien SMesm.rpm 
    # alien SMruntime.rpm 
    # dpkg -i smclient_10.86.0G05.0043-2_all.deb 
    # dpkg -i smesm_10.86.0G05.0007-2_all.deb 
    # dpkg -i smruntime_10.86.0A05.0001-2_amd64.deb 
    # ls -l /usr/SMclient/SMcli
      -r-x------    1 root     system         1008 Oct 10 2013  /usr/SMclient/SMcli
    
  • Stop SMmonitor service
    AIX:
    # SMmonitor stop
    # rmitab smmonitor
    
    Linux:
    # /opt/SMgr/client/SMmonitor stop
    # chkconfig --list SMmonitor
    # chkconfig --level 2345 SMmonitor off
    alternatively:
      # rm -f /etc/rc2.d/S99SMmonitor /etc/rc.d/init.d/SMmonitor
    
    Linux systemd:
    # systemctl stop smmonitor.service
    # systemctl disable smmonitor.service
    
  • Allow user stor2rrd run SMcli API (lpar2rrd user on Virtual Appliance)
    Under root execute following:
    # rm -f /var/opt/SM/emwdata_v04_bin.lock /var/opt/SM/pref_01_bin.lock
    # chown stor2rrd /opt/IBM_DS/client/SMcli /var/opt/SM/prefbackup_01.bin 
    # chown stor2rrd /var/opt/SM/emwback_v04.bin /var/opt/SM /var/opt/SM/emwdata_v04.bin
    # chown stor2rrd /var/opt/SM /var/opt/SM/pref_01.bin
    # chmod -f 755 /opt/IBM_DS/client/lib/*
    
    If you do not do it then you get such error by running it under someone else than root:
    (Do not forget to deactivate SMmonitor as above as it can change file rights back to root itself)
    # su - stor2rrd
    $ SMcli -d
      An internal error, error code 12, has occurred.  This is possibly due to
      initialization problems when loading the necessary internal files.  Please check
      your installation of the storage management client. If problems continue 
      to persist, re-install the storage management client.
    

Storage configuration

  • Open TCP port 2463 to the storages if there is firewall between (your host ➞ storage:2463 )

  • Connect new storage
    # su - stor2rrd
    $ SMcli -d
      There are currently no storage subsystems listed in the configuration file. Add
      storage subsystems using the Add Storage Subsystem option in the storage management
      software or by command line.
    $ SMcli -A 1.1.1.2 1.1.1.3
      New storage subsystem was discovered at address 1.1.1.2
      New storage subsystem was discovered at address 1.1.1.3
      SMcli completed successfully
    $ SMcli -d
      MD3800_01 ControlerA_hostname  ControlerB_hostname
    
    Use "MD3800_01" further for etc/storage-list.cfg configuration

  • Check if the storage needs user authorization (new firmwares allows to specify password for monitor user role):
    $ SMcli -n MD3800_01 -e -c "show storageSubsystem summary;"
    
    When it fails then use "monitor" role credetials (password can be set in the storage GUI):
    $ SMcli -n MD3800_01 -e -c "show storageSubsystem summary;"
      The operation needs either the 'Administrator' or 'Monitor' password to be set.
    $ SMcli -n MD3800_01 -p <password> -R monitor -e -c "show storageSubsystem summary;"
    
    Use that credentials in future etc/storage-list.cfg configuration

STOR2RRD storage configuration

  • Configure storages in etc/storage-list.cfg
    Under stor2rrd account create config entry. Uncomment (remove the hash) example line and adjust it:
    $ vi /home/stor2rrd/stor2rrd/etc/storage-list.cfg  
    
    #
    # Dell PowerVault MD3000 (use DS5K as storage type)
    # NetApp E-series (use DS5K as storage type)
    # IBM DS3000/4000/5000 & DSC3700
    #
    #storage_alias:DS5K:storage user:user_password:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS
    #new storages can be configured to use username/password (use "monitoring" account), old ones do not have this option
    #
    #MD3800:DS5K:monitor:password:256:10:5
    #MD3800:DS5K:
    MD3800_01:DS5K:
    
  • 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
    
  • Test the storage connectivity:
    $ cd /home/stor2rrd/stor2rrd
    $ ./bin/config_check.sh 
      =========================
      STORAGE: MD3800_01: DS5K
      =========================
      /usr/SMclient/SMcli -n MD3800_01 -e -c "storageSubsystem summary;"
      connection ok
    
  • Schedule to run storage agent from stor2rrd crontab (lpar2rrd on Virtual Appliance)
    $ crontab -e  
    
    # LSI rebrands like Dell MD3000, IBM DS3000/4000/5000 and NetApp E-series
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_ds5perf.sh > /home/stor2rrd/stor2rrd/load_ds5perf.out
    
    Assure there is already an entry with the GUI creation running once an hour in crontab
    $ crontab -e
    
    # STOR2RRD GUI
    0 * * * * /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.

 

Links

Download

Others

Contact