3PAR System Reporter User’s Guide

System Reporter 2.8

4For MySQL and Oracle databases, create/edit the /etc/sampleloop_dbpwfile file to include a single line that has the database user name and password separated by a space.

5Start the sampleloop daemon by running:

/etc/init.d/sampleloop start

Look at the sampleloop.log file in the /var/log/sampleloop/ directory to see status and progress of the sampleloop daemon. If this is a new installation, the sampleloop daemon will create all the required tables and initialize the policy table. Since no InServ systems have yet been added to the sampling list, none will be sampled.

If this is an upgrade of an existing installation, sampleloop will automatically convert tables to the newer versions required for System Reporter 2.8. Then it will resume sampling.

If errors are reported in the sampleloop.log file (for example due to incorrect database setup, or incorrect sampleloop.conf parameters) correct those error and restart the sampleloop daemon:

/etc/init.d/sampleloop restart

6Install the sysrptwebsrv package by mounting the System Reporter CD, changing to the directory on the CD that includes the rpm packages and running:

rpm --install sysrptwebsrv-2.8-1.i386.rpm

7Edit the /var/www/cgi-bin/3par-rpts/config.tcl and /var/www/cgi-bin/3par- policy/config.tcl files following the directions in those files. If previous versions of the file were saved, you may keep the previous settings and simply replace the files with the saved versions. If the configuration files are correct, you should be able to open the web page http://hostname/3par.

Once all the tables have been created, the main web page for system reporter should be accessible at http://<host_name>/3par where <host_name> is the name of the server where Apache and System Reporter are installed.

3.30

Installing or Upgrading the System Reporter Tools