- 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)'
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 perl-Net-INET6Glue # it might not exist everywhere like RedHat 9.x, then ignore it
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