Managing ProLiant servers with Linux HOWTO
16
Component To verify installation To remove
NIC Agents
$ rpm –q cmanic #rpm -e cmanic
Note:
Remove cmanic and hprsm before removing hpasm, because of driver
dependencies.
If concurrent access on the RPM database is attempted, the following messages can result:
• rpmQuery: rpmdbOpen() failed
• cannot get shared lock on database
• rpmQuery: rpmdbOpen() failed
2-4 Updating drivers and agents
The following section provides information on updating the HP ProLiant Management Software for
Linux. Note that these instructions are only appropriate when upgrading from software with a version
greater than 8.1.0. For information on transitioning from pre-8.1.0 versions, see “Transitioning from
hpasm, hprsm, and cmanic packages” on page 15.
RPM provides the -U option to upgrade a package. For example, to upgrade hp-health to a newer
version you could use the command:
# rpm -Uvh hp-health-<version>.<distribution>.<platform>.rpm
See the rpm manpage in your Linux distribution for more information:
$ man rpm
3 Customization
This section includes advanced topics on data center customization.
3-1 Configuration files
The ProLiant Management Agents Configuration file /opt/hp/hp-snmp-agents/cma.conf is shared by
all HP ProLiant Management Agents. Currently, exclude directives, taint directives, trap interface, trap
email notification configuration, and base socket number (used by cmaX) are supported. The agents
are capable of sending email notifications in addition to SNMP traps. The trapemail entries in
/opt/hp/hp-snmp-agents/cma.conf configure the email commands, which are then read by the Peers
software during their initialization.
The exclude directives allow customization of which agents to start automatically. Any drivers and
agents included on this line will not be started by the run level scripts.
The exclude entries can be modified using the /sbin/hpsnmpconfig command.
If trapemail entries are edited, the Peers software must be restarted before the configuration
modification is effective. The command to restart the SNMP agents is:
#/etc/init.d/hp-snmp-agents restart
The syntax of the trapemail lines is:
trapemail mail_command