HP Systems Insight Manager 5.2 Installation and Configuration Guide for Linux

9 Uninstalling HP Systems Insight Manager
Uninstalling HP Systems Insight Manager from a Linux system
CAUTION: Removing HP Systems Insight Manager permanently deletes the information in the database
unless you back it up before removing the software.
1. Stop the HP 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 HP 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 HP Systems Insight Manager software:
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 HP SIM and PostgreSQL directories:
rm -rf /var/opt/mx /etc/opt/mx /opt/mx /var/opt/hpsmdb/opt/hpsmdb
6. Restart the system.
Uninstalling HP Systems Insight Manager from a Linux system 57