Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Insight Control for Linux
cancel
Showing results for 
Search instead for 
Did you mean: 

Please help me set my management tools install straight...

stardotstar_1
Occasional Contributor

Please help me set my management tools install straight...

Hi guys,

I must admit that I have made a series of assumptions about my ability with Debian and the new HP ProLiant DL360G5 I am building, assumptions that have left me searching far and wide for what is missing in getting the HP tools to work.

I have been reading widely but my knowledge of snmp and other background daemons is limited - I have good linux knowledge but not much in the way of snmpd and device monitoring.

So...

I have the debian tools from HP:

[root@jupiter hp_utils]# ls -l
total 46476
-r-xr-xr-x 1 root root 4289438 2009-08-31 17:27 cpqacuxe_8.28-13.0.8-6_amd64.deb
-r-xr-xr-x 1 root root 4289430 2009-08-31 17:27 cpqacuxe_8.28-13.0.8-8_i386.deb
-r-xr-xr-x 1 root root 4604150 2009-08-31 17:27 hpacucli_8.28-13.0.10-10_i386.deb
-r-xr-xr-x 1 root root 4604166 2009-08-31 17:27 hpacucli_8.28-13.0.10-9_amd64.deb
-r-xr-xr-x 1 root root 543588 2009-08-31 17:27 hp-health_8.2.5.47-11_amd64.deb
-r-xr-xr-x 1 root root 504646 2009-08-31 17:27 hp-health_8.2.5.47-26_i386.deb
-r-xr-xr-x 1 root root 11266862 2009-08-31 17:27 hpsmh_3.0.2-75_amd64.deb
-r-xr-xr-x 1 root root 10781720 2009-08-31 17:27 hpsmh_3.0.2-75_i386.deb
-r-xr-xr-x 1 root root 3496644 2009-08-31 17:27 hp-smh-templates_8.2.5.6-6_all.deb
-r-xr-xr-x 1 root root 1474794 2009-08-31 17:27 hp-snmp-agents_8.2.5.20-11_i386.deb
-r-xr-xr-x 1 root root 1529064 2009-08-31 17:27 hp-snmp-agents_8.2.5.20-18_amd64.deb

I have installed the i386 versions of each and then tried to ensure that the configuration is complete and necessary agents and so forth in place but when I visit the SMHP I see no useful information.

I have found various how-tos on the web but mostly for older versions of the software and using alien for rpms etc - Does anyone know a step by step that could point me in the right directions.

I can log in but the overall status shows "No items"
File System Space Used - none
Software version informations no details etc

Can some kind soul walk me through some basic diagnostics to see where I have missed a step and where I must focus my learning...

The only other thing I can say is that:
[root@jupiter hp_utils]# /etc/init.d/hp
hp-health hpsmhd hp-snmp-agents
[root@jupiter hp_utils]# /etc/init.d/hp-health status
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver


(hpasmlited) is running... [ SUCCESS ]

[root@jupiter hp_utils]# /etc/init.d/hpsmhd status
Usage: /etc/init.d/hpsmhd {start|stop|restart|force-reload}
[root@jupiter hp_utils]# /etc/init.d/hp
hp-health hpsmhd hp-snmp-agents
[root@jupiter hp_utils]# /etc/init.d/hp-snmp-agents status

cmahealthd is running... [ SUCCESS ]


cmastdeqd is running... [ SUCCESS ]


cmahostd is running... [ SUCCESS ]


cmathreshd is running... [ SUCCESS ]


cmasm2d is running... [ SUCCESS ]


cpqriisd is stopped... [ SUCCESS ]


cmarackd is stopped... [ SUCCESS ]


cmaperfd is running... [ SUCCESS ]


cmapeerd is dead... [ FAILED ]
[ SUCCESS ]


cmaeventd is running... [ SUCCESS ]


cmafcad is running... [ SUCCESS ]


cmasasd is running... [ SUCCESS ]


cmaidad is running... [ SUCCESS ]


cmaided is running... [ SUCCESS ]


cmascsid is running... [ SUCCESS ]


cmanicd is dead... [ FAILED ]

so some are not working probably due to misconfiguration or a missing step.

TIA for any help

Will
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: Please help me set my management tools install straight...

Shalom Will,

Look at the install script. It has logging options set. In the log should be details as to what failed.

Commonly this would be due to a missing Debian package. .deb

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
stardotstar_1
Occasional Contributor

Re: Please help me set my management tools install straight...

Thank you for your reply and suggestion - it has led to my taking the following notes:

_I am concerned to get this all installed because I have an amber light on one of my 6 disks!_

This is the section from the ISO I downloaded and it shows no sign of the "missing" packages as far as I can see...

[root@jupiter binary-i386]# pwd
/mnt/isos/dists/lenny/8.25/non-free/binary-i386
[root@jupiter binary-i386]# cat Packages
Package: hp-snmp-agents
Priority: optional
Section: admin
Installed-Size: 4832
Maintainer: dann frazier
Architecture: i386
Version: 8.2.5.20-11
Depends: hp-health, libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libsnmp15 (>= 5.4.1~dfsg), libstdc++6 (>= 4.1.1), bash, ethtool, pciutils, snmpd
Filename: pool/non-free/hp-snmp-agents_8.2.5.20-11_i386.deb
Size: 1474794
MD5sum: 93a289f65f016cf8a025428b577ecc62
SHA1: e5dca5f3ff523d0b175470a3cc0c771a57fbf029
SHA256: 628365901c7b53636b616aba17a84aefc42436d976a6287e3a3fd3d9ddb00a24
Description: Insight Management SNMP Agents for HP ProLiant Systems
This package contains the SNMP server, storage, and nic agents for all
hp Proliant systems with ASM, ILO, & ILO2 embedded management asics.

Package: hpacucli
Priority: optional
Section: admin
Installed-Size: 13092
Maintainer: dann frazier
Architecture: i386
Version: 8.28-13.0.10-10
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1)
Filename: pool/non-free/hpacucli_8.28-13.0.10-10_i386.deb
Size: 4604150
MD5sum: f4870e770f447a101dfc9a0a0b1234bd
SHA1: b42e055ecd63f049ad63851e261036680775fb8a
SHA256: c991b5ba87f6f852b1ff38da17e54e9cc0f1a96e2288cab596da92795454f7d6
Description: HP Command Line Array Configuration Utility
The HP Command Line Array Configuration Utility is the disk
array configuration program for Array Controllers.

Package: hp-health
Priority: optional
Section: admin
Installed-Size: 1468
Maintainer: dann frazier
Architecture: i386
Version: 8.2.5.47-26
Depends: libc6 (>= 2.7-1), binutils, dmidecode, pciutils
Recommends: logrotate
Filename: pool/non-free/hp-health_8.2.5.47-26_i386.deb
Size: 504646
MD5sum: f179af77a8f0b072af30725f761147e9
SHA1: e6f20fd306021180135407a611d42d6f3b356119
SHA256: c97148481e5efd553c76ba0b6b741030426f95a044dc72b11bf0497af5058c7d
Description: hp System Health Application and Command line Utility Package
This package contains the System Health Monitor for all hp Proliant systems
with ASM, ILO, & ILO2 embedded management asics. Also contained are the
command line utilities.

Package: cpqacuxe
Priority: optional
Section: admin
Installed-Size: 12988
Maintainer: dann frazier
Architecture: i386
Version: 8.28-13.0.8-8
Replaces: hpadu
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), hpsmh
Conflicts: hpadu
Filename: pool/non-free/cpqacuxe_8.28-13.0.8-8_i386.deb
Size: 4289430
MD5sum: 9885557ff36a65e94c4b51e376e4e8c8
SHA1: 293c4105d3ca8f68d2d58b207938d8d0cb18084d
SHA256: 4c424dc21e46f725169956981bd4a53f61c14ec3d71705923304eea19d1fed2c
Description: HP Array Configuration Utility
The HP Array Configuration Utility is the web-based disk array
configuration program for Array Controllers.

Package: hp-smh-templates
Priority: optional
Section: admin
Installed-Size: 11828
Maintainer: dann frazier
Architecture: all
Version: 8.2.5.6-6
Depends: hp-snmp-agents, hpsmh, sudo
Filename: pool/non-free/hp-smh-templates_8.2.5.6-6_all.deb
Size: 3496644
MD5sum: d37caf03446b16e03796cbde0adfc0b7
SHA1: a64ce7b7d9953e776af0228e6e0b1a9874fe62c9
SHA256: 4a011a42c9091c06ef8b77e60120dec2765e0ad98f13d7dc274308ee4e90a861
Description: HP System Management Homepage Templates
This package contains the System Management Homepage Templates for all
hp Proliant systems with ASM, ILO, & ILO2 embedded management asics.

Package: hpsmh
Priority: extra
Section: unknown
Installed-Size: 31500
Maintainer: dann frazier
Architecture: i386
Version: 3.0.2-75
Depends: libc6 (>= 2.7-1), libexpat1 (>= 1.95.8), libpam0g (>= 0.99.7.1), libuuid1 (>= 1.05)
Filename: pool/non-free/hpsmh_3.0.2-75_i386.deb
Size: 10781720
MD5sum: 754fe22847d60866a51cc31eb41969ce
SHA1: 54f3eb5a68e151c8117feb5b8331de974164a4e8
SHA256: 905cf88325cb6af491fc1f83a16abf376f30a8685316e626882a8015a0c6e161
Description: HP System Management Homepage
Provides HTTP infrastructure for HP Agent & Utility system packages.
Homepage: http://hp.com/go/proliantlinux



The logs show:
[root@jupiter log]# cd hp-snmp-agents/
[root@jupiter hp-snmp-agents]# ls
cma.log
[root@jupiter hp-snmp-agents]# cat cma.log
Starting Health agent (cmahealthd):
Starting Standard Equipment agent (cmastdeqd):
Starting Host agent (cmahostd):
Starting Threshold agent (cmathreshd):
Starting RIB agent (cmasm2d):
Starting Rack Infrastructure Info Srv (cpqriisd): Failed to detect rack, cpqriisd exiting....
Starting Rack agent (cmarackd): Aug 31 18:58:00 jupiter cmarackd[7767]: Failed to detect rack, cmarackd exiting....

Starting Performance agent (cmaperfd):
Starting SNMP Peer (cmapeerd):
Starting Storage Event Logger (cmaeventd): Aug 31 18:58:00 jupiter cmapeerd[7821]: Started hp Advanced Server Management Agents Peer Manager

Starting FCA agent (cmafcad):
Starting SAS agent (cmasasd): SAS agent (cmasasd) does not find any supported SAS controller
Aug 31 18:58:00 jupiter cmapeerd[7821]: [hpasmpeer] Connect agent: cmasasd

Starting IDA agent (cmaidad):
Aug 31 18:58:01 jupiter cmastdeqd[7589]: getISASystemID: Bypassed Obsolete code
Starting IDE agent (cmaided):
Starting SCSI agent (cmascsid):
Starting NIC Agent Daemon (cmanicd):
Copyright (c) 2005 Hewlett-Packard Development Company, L.P.
Copyright (c) 2001, NAI Labs

Aug 31 18:58:01 jupiter cmapeerd[7821]: [hpasmpeer] Connect agent: cmastdeqd
SCSI agent (cmascsid) does not find any supported dumb SCSI controller
Aug 31 18:58:01 jupiter cmapeerd[7821]: [hpasmpeer] Connect agent: cmascsid
cmanic started INFO: cpqnicd did not find any SNMP trap destinations in SNMP configuration file, cpqnic_trapd.c,2701
HP NIC Agent detected SELinux. Using messages file.
INFO: cmanic monitoring /var/log/messages for link changes, cpqnic_trapd.c,2727

[OK]
Aug 31 18:58:05 jupiter cmahostd[7619]: Failed to find a community_string, trying to continue...
Aug 31 18:58:05 jupiter cmahostd[7619]: Info: SM BIOS Structures present.
Aug 31 18:58:05 jupiter cmahostd[7619]: Info: SM BIOS record 1 (SYSTEM_INFORMATION) present.
Aug 31 18:58:05 jupiter cmahostd[7619]: Info: cpqHoGUID is obtained from SMBIOS 457927CN7838A1R4
Aug 31 18:58:05 jupiter cmahostd[7619]: cannot opendir(/var/spool/compaq/hpasm/registry/host/../threshold)
Aug 31 18:58:05 jupiter cmathreshd[7643]: Failed to find community_string, trying to continue...
Compaq CISS Driver version 3.6.20
Restarting network management services: snmpd.

cmahealthd is running...

cmastdeqd is running...

cmahostd is running...

cmathreshd is running...

cmasm2d is running...

cpqriisd is stopped...

cmarackd is stopped...

cmaperfd is running...

cmapeerd is dead...

cmaeventd is running...

cmafcad is running...

cmasasd is running...

cmaidad is running...

cmaided is running...

cmascsid is running...

cmanicd is dead...

So I seem to be missing or needing to recussitate cmanicd and cmapeerd and find out what is going on with:
cpqriisd is stopped...
cmarackd is stopped...

That, plus an hp-health directory is all that is in /var/log

---8<
[root@jupiter log]# cd hp-health/
[root@jupiter hp-health]# ls
hpasmd.log
[root@jupiter hp-health]# cat hpasmd.log
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited):
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited):
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited):
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited):
(hpasmlited) may be in use. Please stop all agents before stopping hp-health
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited):
(hpasmlited) may be in use. Please stop all agents before stopping hp-health
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited):
(hpasmlited) may be in use. Please stop all agents before stopping hp-health
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited):
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Usage: /etc/init.d/hp-health {start|stop|restart|status}
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver


(hpasmlited) is running...
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver


(hpasmlited) is running...
...>8

Now, to try and proceed - I did an apt-get upgrade and noted that

[root@jupiter log]# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package hp-health needs to be reinstalled, but I can't find an archive for it.


so I thought to reinstall hp-health and went about stopping all the init scripts that have been installed:
This was a slow process but may show some useful things to those who know what is going on with these scripts and daemons:


[root@jupiter init.d]# ./hp-health stop
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ FAILED ]

(hpasmlited) may be in use. Please stop all agents before stopping hp-health
[root@jupiter init.d]# ./hp
hp-health hpsmhd hp-snmp-agents
[root@jupiter init.d]# ./hp
hp-health hpsmhd hp-snmp-agents
[root@jupiter init.d]# ./hpsmhd stop
Stopping HP System Management Homepage...[root@jupiter init.d]# ./hp-snmp-agents stop
Shutting down NIC Agent Daemon (cmanicd): [ FAILED ]

Shutting down Storage Event Logger (cmaeventd): [ SUCCESS ]

Shutting down FCA agent (cmafcad): [ SUCCESS ]

Shutting down SAS agent (cmasasd): [ SUCCESS ]

Shutting down IDA agent (cmaidad): [ SUCCESS ]

Shutting down IDE agent (cmaided): [ SUCCESS ]

Shutting down SCSI agent (cmascsid): [ SUCCESS ]

Shutting down Health agent (cmahealthd): [ SUCCESS ]

Shutting down Standard Equipment agent (cmastdeqd): [ SUCCESS ]

Shutting down Host agent (cmahostd): [ SUCCESS ]

Shutting down Threshold agent (cmathreshd): [ SUCCESS ]

Shutting down RIB agent (cmasm2d): [ SUCCESS ]

Shutting down Rack Infrastructure Info Srv (cpqriisd): [ FAILED ]

Shutting down Rack agent (cmarackd): [ FAILED ]

Shutting down Performance agent (cmaperfd): [ SUCCESS ]

Shutting down SNMP Peer (cmapeerd): [ FAILED ]

[root@jupiter init.d]#


So we can see some important failures.

The reinstall replacement hp-health seemed to go ok...

[root@jupiter hp_utils]# dpkg -i hp-health_8.2.5.47-26_i386.deb
(Reading database ... 41173 files and directories currently installed.)
Preparing to replace hp-health 8.2.5.47-26 (using hp-health_8.2.5.47-26_i386.deb) ...
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Shutting down Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ SUCCESS ]

Unpacking replacement hp-health ...
Setting up hp-health (8.2.5.47-26) ...
Using Proliant Standard
IPMI based System Health Monitor
Using standard Linux IPMI device driver
Starting Proliant Standard
IPMI based System Health Monitor (hpasmlited): [ SUCCESS ]

Processing triggers for man-db ...
[root@jupiter hp_utils]#


Am I missing some config scripts or way of installing these packages?

Will
Daniel Frazier
Frequent Advisor

Re: Please help me set my management tools install straight...

Note that some packages require manual configuration. See the installation notes here:

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=3884082&swItem=MTX-799829d8271f455d9367978b5a&prodNameId=3884083&swEnvOID=4033&swLang=13&taskId=135&mode=4&idx=1

Specifically the note about running hpsnmpconfig.

Also make sure you have the hp-smh-templates package installed. It is not an i386.deb, but it is required to view all of the snmp agent information in SMH.