AIX

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

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

  • Install Apache and RRDTool:
    yum install httpd rrdtool rrdtool-perl 
    
  • Complete LPAR2RRD on AIX yum/dnf installation in a single docu
    Manual installation of older version RRDTool 1.4.8
    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 lpar2rrd user under root:
    useradd -c "LPAR2RRD user" -m lpar2rrd
    chmod 755 /home/lpar2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    lpar2rrd        hard    stack           -1
    lpar2rrd        soft    stack           -1
    lpar2rrd        hard    data            -1
    lpar2rrd        soft    data            -1
    lpar2rrd        hard    nofile          32768
    lpar2rrd        soft    nofile          32768
    lpar2rrd        hard    nproc           5000
    lpar2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running STOR2RRD 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)'
      dnf config-manager --enable crb
      
  • 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-PDF-API2 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
    
  • Follow this for installing perl-PDF-API2 on RHEL/CentOS 8, note PDF reports are available only in the Enteprise edition

  • 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 lpar2rrd user under root:
    useradd -c "LPAR2RRD user" -m lpar2rrd
    chmod 755 /home/lpar2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    lpar2rrd        hard    stack           -1
    lpar2rrd        soft    stack           -1
    lpar2rrd        hard    data            -1
    lpar2rrd        soft    data            -1
    lpar2rrd        hard    nofile          32768
    lpar2rrd        soft    nofile          32768
    lpar2rrd        hard    nproc           5000
    lpar2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running STOR2RRD 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=6.04-2 libcrypt-ssleay-perl libio-socket-ssl-perl libmozilla-ldap-perl libxml-parser-perl libjson-xs-perl
    
    Note that liblwp-protocol-https-perl must be exactly at version 6.04-2!
    Other available versions like 6.07-2, 6.06-2 or 6.02-1 have a bug which prevents working it with latest SSL protocols.
    Only Debian based Linux distributions are affected.
    If you do not have access to the internet then get it from liblwp-protocol-https-perl 6.04-2
    Prevent updating it in operating system
    apt-mark hold liblwp-protocol-https-perl
    

SuSE

  • create lpar2rrd user under root:
    useradd -c "LPAR2RRD user" -m lpar2rrd
    chmod 755 /home/lpar2rrd
    
  • Increase user limits by editing /etc/security/limits.conf
    lpar2rrd        hard    stack           -1
    lpar2rrd        soft    stack           -1
    lpar2rrd        hard    data            -1
    lpar2rrd        soft    data            -1
    lpar2rrd        hard    nofile          32768
    lpar2rrd        soft    nofile          32768
    lpar2rrd        hard    nproc           5000
    lpar2rrd        soft    nproc           5000
    
    apache          hard    stack           -1
    apache          soft    stack           -1
    apache          hard    data            -1
    apache          soft    data            -1
    
  • If you have already running STOR2RRD 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 lpar2rrd user under root:
    useradd -c "LPAR2RRD user" -m lpar2rrd
    chmod 755 /home/lpar2rrd
    
  • If you have already running STOR2RRD 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