HP Systems Insight Manager 7.2 Installation and Configuration Guide for HP-UX

6 Uninstalling HP SIM
Uninstalling HP SIM from an HP-UX system
CAUTION: Removing HP SIM permanently deletes the information in the database unless you
back it up before removing the software.
Procedure 9 Uninstalling HP SIM
1. Stop the HP SIM daemons:
mxstop
2. Verify that the daemons are no longer running:
ps -ef | grep mx
If any of the HP SIM daemons are running, note their process IDs (PIDs) in the ps -ef output,
and kill them:
kill -9 PID
where PID is the process ID of the daemon. For example, if the ps -ef | grep mx command
displays a line that looks like:
root 18582 1 0 Jan 12 ? 00:13:18 /opt/mx/lbin/mxinventory
then the command to kill this daemon is:
kill -9 18582
3. (Optional) Back up the HP SIM database:
/opt/hpsmdb/pgsql/bin/pg_dump -f filename
where filename is the name of the backup file.
To restore HP SIM using the database, see the http://www.hp.com/go/insightmanagement/
sim/docs.
4. Remove the HP SIM software:
NOTE: If a registered plug-in is installed, which is dependent on HP SIM, then you must first
un-install the dependent plug-in before un-installing HP SIM.
swremove -x enforce_dependencies=false HPSIM-HP-UX
5. Remove the directories installed by the HP SIM software:
rm -rf /opt/mx /var/opt/mx /etc/opt/mx
40 Uninstalling HP SIM