User Tools

Site Tools


monitoring:lpar2rrd:stor2rrd_install

Stor2rrd Installation

Prerequisites

Redhat 8.9 or more

[root@lnx01] /work # groupadd -g 2500 stor2rrd
[root@lnx01] /work # useradd -u 2500 -g stor2rrd stor2rrd

[root@lnx01] /work # cat /etc/security/limits.conf
# STOR2RRD
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
[root@lnx01] /work # yum install perl rrdtool rrdtool-perl httpd mod_ssl
[root@lnx01] /work # yum install epel-release

Add perl modules

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
yum install graphviz perl-Want
[stor2rrd@lnx01 ~]$ tar xvf /work/stor2rrd-7.80-1.tar
stor2rrd-7.80-1/
stor2rrd-7.80-1/perl_aix_ssl.tar.Z
stor2rrd-7.80-1/version.txt
stor2rrd-7.80-1/Copyright.txt
stor2rrd-7.80-1/install.sh
stor2rrd-7.80-1/README
stor2rrd-7.80-1/scripts/
stor2rrd-7.80-1/scripts/update.sh
stor2rrd-7.80-1/scripts/install.sh
stor2rrd-7.80-1/update.sh
stor2rrd-7.80-1/stor2rrd.tar.Z
stor2rrd-7.80-1/files.sum

[stor2rrd@lnx01 ~]$ ll
drwxr-x--- 3 stor2rrd stor2rrd 175 Oct 19  2023 stor2rrd-7.80-1

[stor2rrd@lnx01 ~]$ cd stor2rrd-7.80-1/

[stor2rrd@lnx01 stor2rrd-7.80-1]$ ll
-rw-r----- 1 stor2rrd stor2rrd    25663 Oct 19  2023 Copyright.txt
-rw-r----- 1 stor2rrd stor2rrd      166 Oct 19  2023 files.sum
-rwxr-x--- 1 stor2rrd stor2rrd      450 Oct 19  2023 install.sh
-rw-r----- 1 stor2rrd stor2rrd  2066499 Oct 19  2023 perl_aix_ssl.tar.Z
-rwxr-x--- 1 stor2rrd stor2rrd      176 Oct 19  2023 README
drwxr-x--- 2 stor2rrd stor2rrd       41 Oct 19  2023 scripts
-rw-r----- 1 stor2rrd stor2rrd 16833127 Oct 19  2023 stor2rrd.tar.Z
-rwxr-x--- 1 stor2rrd stor2rrd      560 Oct 19  2023 update.sh
-rw-r----- 1 stor2rrd stor2rrd        7 Oct 19  2023 version.txt

[stor2rrd@lnx01 stor2rrd-7.80-1]$ ./install.sh
STOR2RRD installation under user: "stor2rrd"
 make sure it is really the user which should own it

Where STOR2RRD will be installed [/home/stor2rrd/stor2rrd]:

Creating /home/stor2rrd/stor2rrd
Extracting distribution
Copy distribution to the target location: /home/stor2rrd/stor2rrd
Copy GUI files : /home/stor2rrd/stor2rrd/www
Configuring /home/stor2rrd/stor2rrd/etc/stor2rrd.cfg

WARNING, directory : /home/stor2rrd/ has probably wrong rights
          dir and its subdirs have to be executable&readable for WEB user
drwx------ 6 stor2rrd stor2rrd 143 May 17 18:24 /home/stor2rrd/


ERROR: Perl module has not been found: Date::Parse
       Check its existence via: /usr/bin/perl -e 'use Date::Parse'
ERROR: Perl module has not been found: XML::Simple
       Check its existence via: /usr/bin/perl -e 'use XML::Simple'
ERROR: Perl module has not been found: LWP::UserAgent
       Check its existence via: /usr/bin/perl -e 'use LWP::UserAgent'
ERROR: Perl module has not been found: LWP::Protocol::http
       Check its existence via: /usr/bin/perl -e 'use LWP::Protocol::http'
ERROR: Perl module has not been found: LWP::Protocol::https
       It is a must for VMAX, VPLEX, Huawei, Compellent, NetApp, PureStorage, Infinibox, Isilon, BNA
       and some others which use HTTPS protocol if is configured in GUI
       Note that it does not affect storages where is not used HTTPS API for getting data
       Refer here how to resolve it: http://www.stor2rrd.com/https.htm
       Check its existence via: /usr/bin/perl -e 'use LWP::Protocol::https'

Install all missing Perl modules and do this test again, check http://www.stor2rrd.com/https.htm:
Usage: cd <STOR2RRD WORK DIR>; . etc/stor2rrd.cfg; $PERL bin/perl_modules_check.pl



Installation has finished
Follow detailed installation instructions at :
  http://www.stor2rrd.com/install.htm
monitoring/lpar2rrd/stor2rrd_install.txt · Last modified: 2024/05/30 14:21 by manu