beautypg.com

7 event logging overview – HP Insight Control Software for Linux User Manual

Page 193

background image

1.

If you have installed the Insight Control for Linux management agents, select the following
menu item from the Insight Control user interface to remove the management agents from all
managed systems:

Deploy

→Deploy Drivers, Firmware and Agents→IC-Linux→Uninstall Agents...

2.

Run the following script to unconfigure syslog-ng on the CMS:

# /opt/hptc/etc/cconfig.d/C30syslogng_forward cunconfigure

3.

Remove the Insight Control for Linux SSH keys for pdsh, which are located in the /root/
.ssh/

directory. The file names are prefixed with the Insight Control for Linux collection name.

The following example uses the default collection name, icelx_:

# rm /root/.ssh/icelx_*

4.

Change directory to the uninstall directory, and run the uninstall script to remove all
Insight Control for Linux

RPM

s:

# cd /opt/hp/icelx/config/uninstall
# ./uninstall.sh

5.

Remove the following Insight Control for Linux monitoring directories. If you have any files in
these directories that you want to preserve, make sure you save a copy of the files before you
remove them.

# rm -Rf /opt/hptc
# rm -Rf /hptc_cluster
# rm -Rf /var/hptc
# rm -Rf /opt/repository/boot/pxelinux.cfg

NOTE:

System configuration files that Insight Control for Linux modifies (for example, /etc/

dhcpd.conf

, /etc/rsyncd.conf, and so on) are not removed during the uninstall process.

6.

Remove the following HP SIM directories. If you have any files in these directories that you
want to preserve, make sure you save a copy of the files before you remove them.

# rm -Rf /var/opt/hpsmdb
# rm -Rf /var/opt/mx
# rm -Rf /etc/opt/mx
# rm -Rf /opt/hpsmdb

7.

Verify that the HP SIM daemons are no longer running:

# ps -ef | grep mx

If any of the HP SIM daemons are running, record the process ID (PID) and use the PID to
terminate the process. In the following example, replace PID with the process ID of the daemon
(for example, kill -9 1234):

# kill -9 PID

8.

Reboot the CMS:

# reboot

23.6 Determining the installed Insight Control for Linux version

To determine the version of Insight Control for Linux that is installed on the CMS, look in the following
file:

# /opt/hp/icelx/etc/icelx-release

23.7 Event logging overview

This section describes how Insight Control for Linux uses the syslog and syslogng_forward
services to log managed system events and how these events are arranged according to the
syslog-ng.conf

rules file.

23.6 Determining the installed Insight Control for Linux version

193