2 removing the system reporter tools on linux, 3 removing the mysql database (optional), Removing the system reporter tools on linux – HP 3PAR System Reporter Software User Manual
Page 73: Removing the mysql database (optional)
3.37
Removing the System Reporter Components
System Reporter 2.8
3PAR System Reporter User’s Guide
9
(Optional). Go to the location where you installed Apache HTTP Server and locate the
cgi-
bin
directory (for example,
C:\Program Files\Apache Group\Apache2\cgi-bin
),
then delete the subdirectories
3par-policy
and
3par-rpts
.
3.12.2 Removing the System Reporter Tools on Linux
1
Stop the sampleloop daemon by running:
/etc/init.d/sampleloop stop
2
Remove the sampleloop and sysrptwebsrv packages by running:
rpm --erase sampleloop
rpm --erase sysrptwebsrv
Although these commands remove the files associated with the packages, user-modified
configuration files are saved with a .rpmsave suffix appended to their names. If you do not
plan to re-install these packages later with similar configuration settings you may delete
these configuration files.
3
If you used SQLite as the database, locate and remove the
inservstats.db
file, typically
in the /var/inservstats directory. Also remove the file
inservstats.db-journal
if
present in the same directory.
3.12.3 Removing the MySQL Database (Optional)
If you are using a MySQL database and you want to completely remove all 3PAR System
Reporter components, you should also remove the
inservstats
database using the MySQL
Administrator, as described in this section.
1
Log in to MySQL as root. You may need to do this on the machine on which MySQL is
installed since root login is typically restricted to local logins only.
mysql -uroot -p
2
Run the following command at the mysql prompt to delete (drop) the database (named
inservstats by default):
drop database inservstats;