HP Systems Insight Manager 6.3 Installation and Configuration Guide for Linux

6 Uninstalling Systems Insight Manager
Uninstalling Systems Insight Manager from a Linux system
CAUTION: Removing Systems Insight Manager permanently deletes the information in the database
unless you back it up before removing the software.
Procedure 6 Removing Systems Insight Manager
1. Stop the Systems Insight Manager daemons:
/opt/mx/bin/mxstop
2. Verify that the daemons are no longer running:
ps -ef | grep mx
If any of the Systems Insight Manager daemons are running, record the PID and kill the
process:
kill -9 pid
where pid is the PID of the daemon. For example,
kill -9 3456
3. Remove the Systems Insight Manager software:
NOTE: If a registered plug-in is installed and dependant on Systems Insight Manager. If any
registered plug-ins with dependencies on Systems Insight Manager are installed, uninstall them
first.
rpm -qa | grep hpsim | xargs rpm -e
4. Stop hpsmdb:
For Red Hat:
/etc/rc.d/init.d/hpsmdb stop
For SUSE:
/etc/init.d/hpsmdb stop
5. Now remove the hpsmdb database:
rpm -qa | grep hpsmdb | xargs rpm -e
If any packages with dependencies on hpsmdb are installed, uninstall them first. Alternatively,
you can run rpm with the following options:
rpm -qa | grep postgresql | xargs rpm -e --nodeps
Run the following command to remove the Systems Insight Manager and PostgreSQL directories:
rm -rf /var/opt/mx /etc/opt/mx /opt/mx /var/opt/hpsmdb/opt/hpsmdb
6. Restart the system.
38 Uninstalling Systems Insight Manager