Stop the HP Systems Insight Manager daemons:
/opt/mx/bin/mxstop
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
(Optional) Back up the HP Systems Insight Manager database:
pg_dump -f directory/filename
where directory is a unique location for the file outside of the HP Systems Insight Manager directory structure and filename is the name of the back up file.
Note: If you plan to remove the HP Systems Insight Manager directories later in the process, save this back up in a location outside of the default product directories.
Remove the HP Systems Insight Manager software:
rpm -qa | grep hpsim | xargs rpm -e
(Optional) If other applications are not using PostgreSQL, you can remove it:
rpm -qa | grep postgresql | xargs rpm -e
To remove the PostgreSQL folder:
rm -rf /var/lib/pgsql