AIX with yum

Document describes installation of STOR2RRD server prerequisites on AIX where is yum available.

  • Install Apache and RRDTool:
    yum install httpd rrdtool rrdtool-perl
    Do not use rrdtool-1.7.0-4, it has a bug, use older or newer RRDTool versions.

  • Configure Apache:
    vi /opt/freeware/etc/httpd/conf/httpd.conf
    Enable CGI (it is hashed by default):
    <IfModule mpm_prefork_module>
            LoadModule cgi_module /opt/freeware/lib/httpd/modules/
    Place there STOR2RRD cfg (it supposes that install home will be in /home/stor2rrd/stor2rrd):
    AddHandler cgi-script .sh
    # STOR2RRD
    Alias /stor2rrd  "/home/stor2rrd/stor2rrd/www/"
    <Directory "/home/stor2rrd/stor2rrd/www/">
        AllowOverride AuthConfig FileInfo
        Options Indexes FollowSymLinks
        Require all granted
    # CGI-BIN
    ScriptAlias /stor2rrd-cgi/ "/home/stor2rrd/stor2rrd/stor2rrd-cgi/"
    <Directory "/home/stor2rrd/stor2rrd/stor2rrd-cgi">
        AllowOverride AuthConfig FileInfo
        Options +ExecCGI +SymLinksIfOwnerMatch
        Require all granted
        SetHandler cgi-script
    Apache restart:
    /opt/freeware/sbin/apachectl restart
  • Create STOR2RRD user under root:
    useradd -c "STOR2RRD user" -m 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
  • Install STOR2RRD server:
    # su - stor2rrd
    tar xvf stor2rrd-7.XX.tar
    cd stor2rrd-7.XX
  • Assure all Perl modules are in place
    cd /home/stor2rrd/stor2rrd
    . etc/stor2rrd.cfg; $PERL bin/
    IF any problem then adjust following variables in etc/stor2rd.cfg
    Especially PERL must be set to /usr/bin/perl
  • Enable web authorisation
    # su - stor2rrd
    umask 022
    cd /home/stor2rrd/stor2rrd
    cp -p html/.htaccess www
    cp -p html/.htaccess stor2rrd-cgi
  • Go to Web UI, use admin/admin account, go to product configuration (settings icon), add HMCs, vCenters ...
    http://<your server IP/hostname>/stor2rrd/

  • If you upgrade from older Perzl RPM distribution then you will have to use 32-bit rrdtool for data compatibility.
    Set this in etc/stor2rrd.cfg