Installation


AIX

  • Preferably use any Linux for hosting the tool (it is all much easier), if you have no such option then use AIX.

  • create stor2rrd user under root:
    useradd -c "STOR2RRD user" -m stor2rrd
    chmod 755 /home/stor2rrd
    chdev -l sys0 -a maxuproc=2000
    chuser  nofiles=32768 data=-1  stack=-1 rss=-1 stor2rrd
    chuser  data=-1  stack=-1 rss=-1 apache
    
  • If you have already running LPAR2RRD on the same host then skip to Web tab.

  • Install Apache, RRDTool and SNMP utils
    yum install httpd rrdtool rrdtool-perl net-snmp-perl
    
  • Complete LPAR2RRD installation on via yum/dnf in a single docu

  • Manual installation of older version prerequisite RRDTool 1.4.8, they are quite old, do not use it unless you have any particular reason for that

  • If you already use older rpm packages not Linux Tool based and you want to upgrade to the latest in AIX Linux Tool Box then follow this

Red Hat, CentOS, Rocky Linux ...

  • create stor2rrd user under root:
    useradd -c "STOR2RRD user" -m stor2rrd
    chmod 755 /home/stor2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    stor2rrd        hard    stack           -1
    stor2rrd        soft    stack           -1
    stor2rrd        hard    data            -1
    stor2rrd        soft    data            -1
    stor2rrd        hard    nofile          32768
    stor2rrd        soft    nofile          32768
    stor2rrd        hard    nproc           5000
    stor2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running LPAR2RRD on the same host then skip to Web tab.

  • Per platform:
    • RHEL 8: enable the codeready-builder-for-rhel-8-*-rpms repository
      ARCH=$( /bin/arch )
      subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
      
    • CentOS 8: enable the PowerTools repository
      yum config-manager --set-enabled PowerTools
      or
      dnf config-manager --set-enabled powertools
      
      You can also just open /etc/yum.repos.d/CentOS-Linux-PowerTools.repo with a text editor and set enabled= to 1 instead of 0

    • RHEL 9: enable config-manager and the PowerTools repository
      dnf install 'dnf-command(config-manager)'
      
      Based on your operating system enable one of following (crb was renamed to codeready-builder-for-rhel-9-x86_64-rpms)
      dnf config-manager --enable crb
      or
      dnf config-manager --enable codeready-builder-for-rhel-9-x86_64-rpms
      
  • Install prerequsites:
    yum install perl rrdtool rrdtool-perl httpd mod_ssl
    yum install epel-release
    yum install perl-TimeDate perl-HTTP-Date perl-Env perl-CGI perl-Data-Dumper perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty
    yum install perl-JSON-XS perl-XML-Simple perl-XML-NamespaceSupport perl-URI perl-XML-SAX-Base perl-XML-SAX perl-XML-LibXML
    yum install ed bc libxml2 sharutils
    
  • RHEL 6.x and olders:
    Note that rrdtool-perl and epel-release (this is necessary only for PDF reporting) might not be in your RedHat base repository especially for RHEL 6.x and olders.
    Install CentOS package instead rrdtool-perl-1.4.8-9.el7.x86_64.rpm and epel-release-7-11.noarch.rpm

Debian, Ubuntu ...

  • create stor2rrd user under root:
    useradd -c "STOR2RRD user" -m stor2rrd
    chmod 755 /home/stor2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    stor2rrd        hard    stack           -1
    stor2rrd        soft    stack           -1
    stor2rrd        hard    data            -1
    stor2rrd        soft    data            -1
    stor2rrd        hard    nofile          32768
    stor2rrd        soft    nofile          32768
    stor2rrd        hard    nproc           5000
    stor2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running LPAR2RRD on the same host then skip to Web tab.

  • Install prerequsites:
    umask 0022
    apt-get install apache2 perl rrdtool ed bc 
    apt-get install librrdp-perl libxml-sax-perl libxml-simple-perl libtimedate-perl libenv-sanctify-perl libcgi-pm-perl libdata-dumper-simple-perl libpdf-api2-perl libxml2-utils
    apt-get install liblwp-protocol-https-perl libcrypt-ssleay-perl libio-socket-ssl-perl libmozilla-ldap-perl libxml-parser-perl libjson-xs-perl libio-pty-perl
    

SuSE

  • create stor2rrd user under root:
    useradd -c "STOR2RRD user" -m stor2rrd
    chmod 755 /home/stor2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    stor2rrd        hard    stack           -1
    stor2rrd        soft    stack           -1
    stor2rrd        hard    data            -1
    stor2rrd        soft    data            -1
    stor2rrd        hard    nofile          32768
    stor2rrd        soft    nofile          32768
    stor2rrd        hard    nproc           5000
    stor2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running LPAR2RRD on the same host then skip to Web tab.

  • Install prerequsites:
    zypper install rrdtool perl-rrdtool apache2
    zypper install perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-CGI perl-LWP-Protocol-https perl-libwww-perl perl-IO-Tty
    zypper install perl-PDF-API2 perl-JSON-XS
    zypper install ed bc libxml2-2 sharutils
    

Solaris

  • create stor2rrd user under root:
    useradd -c "STOR2RRD user" -m stor2rrd
    chmod 755 /home/stor2rrd
    
  • If you have already running LPAR2RRD on the same host then skip to Web tab.

  • Install prerequsites:
    /opt/csw/bin/pkgutil -y -i pm_xml_simple pm_libxml_perl pm_xml_sax rrdtool
    

Troubleshooting

    If you get error during device connection test or in STOR2RRD error logs like:
    • Missing LWP::Protocol::https
    • Connection reset by peer
    • SSL negotiation failed
    then follow this docu to fix it