Operating System - Linux
1834912 Members
3260 Online
110071 Solutions
New Discussion

Re: Insight Manager agents (configuration)

 
SOLVED
Go to solution
Jorge Carminati
Occasional Advisor

Insight Manager agents (configuration)

Hi,

Can someone point me in the right direction in order to install and configure the Insight Manager agents in a Linux Box ?

I've already installed 'hpasm-7.3.0-58' and have lot of processes running (ie: cmathreshd/cmahostd) but can't find any listening http socket on this machine.

Thanks in advance.
J. Carminati.
13 REPLIES 13
Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

Here is URL to start.

http://h18013.www1.hp.com/products/servers/management/hpsim/index.html?jumpid=go/hpsim

My belief is that if you got a ProLiant the PSP software is with it. (Or you can get it for free) All the plugs and hooks are built in to the HP ProLiant hardware and the HP SIM application.

If you have a Linux system on some other HW, configure the snmp on the client. This will allow the Linux system to communicate via snmp and you can have some management of the system.

The Linux system can be managed but you will not have the total control of the system like you would a HP ProLiant running Linux

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)


This server is a ProLiant DL360 G3, I've already configured the snmp service and it's working okey, but when I connect to this server from my IM console I only see from the 'Status Information' that it's healthy, but cannot check the 'Software Status' due that for some reason there's no service listening on port 2381 (Overall System Status).

I'll check that URL, thanks.
Jorge.
Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

There would bve a service that you would need to turn on (on the ProLiant/Linux) that will enable you to connect to port 2381

I think it may be the hpasm service.

Issue the command 'chkconfig --list | grep hpasm'

Does this output have the service starting at any of the run levels?

Issue the command 'service hpasm start'. Does the service start? Can you connect via pport 2381 now?

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)

Rick,

I'm attaching a small txt file, as you'll see the service is up and running but it's not listening on port 2381. I only see a service named 'cmapeerd' listening on loopback interface on port 25376, don't know what's that and how can I change it to accept remote connections.
Thanks.


Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

You do not seem to be running the hpasm service. Use the command '/etc/init.d/hpasm start' to start it.

If it will not run, what kind of errors are being reported? Does the /var/log/messages have any clues?


Info I have:

Doing the 'netstat -tunap | grep 2381' I get the output of
netstat -tunap | grep 2381
tcp 0 0 0.0.0.0:2381 0.0.0.0:* LISTEN 2209/cmawebd

Doing the 'lsof -i TCP:2381' I get the output of
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
cmawebd 2209 root 6u IPv4 17752 TCP *:2381 (LISTEN)
cmawebd 2211 root 6u IPv4 17752 TCP *:2381 (LISTEN)
cmawebd 2212 root 6u IPv4 17752 TCP *:2381 (LISTEN)
cmawebd 2605 root 6u IPv4 17752 TCP *:2381 (LISTEN)
cmawebd 2606 root 6u IPv4 17752 TCP *:2381 (LISTEN)
cmawebd 2607 root 6u IPv4 17752 TCP *:2381 (LISTEN)


Is something else running on port 2381? Can use lsof to find out. (lsof is default install on RH linux systems)

If port 2381 is clear, stop and restart the hpasm service.
/etc/init.d/hpasm stop
/etc/init.d/hpasm start


I do have cmapeered running on 25376 as well.
lsof | grep 25376
cmapeerd 2235 root 5u IPv4 11328 UDP localhost:25376
cmapeerd 2275 root 5u IPv4 11328 UDP localhost:25376
cmapeerd 2277 root 5u IPv4 11328 UDP localhost:25376


I am believing that the hpasm services are not running. If you are starting but they will not stay running, more info is needed to troubleshoot the issue.

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)

Rick,

Thanks for you reply.

The point is that you've a file/service named 'cmawebd' and I don't, I've just checked that, so don't know why that file is missed, any idea ? I'm using 'hpasm-7.3.0-58'.

Jorge.



Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

The 'cmawebd' is not a service.
It is a daemon that is running as part of the hpasm service.

The cmawebd executable exists in /opt/compaq/foundation/etc/cmawebd and in
/opt/compaq/foundation/bin/cmawebd.

This is on a RH AS 3.0 with
rpm -qa | grep -i asm
hpasm-7.1.1-87



Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

Why the file is missed - was the install OK? No error messages?

What version of RH?

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)

Rick:
This server runs RH ES 4 (update 1) and the rpm doesn't include any 'cmawebd' file, so something has been changed by HP, I suppose.

Tomorrow I'll continue investigating what's going on, thanks.
Rick Garland
Honored Contributor

Re: Insight Manager agents (configuration)

The rpm command was for the hpasm.

There will be no return for the cmawebd

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)

>The rpm command was for the hpasm.
>There will be no return for the cmawebd

so, where is this daemon supposed to be ? in which rpm file ?
Rick Garland
Honored Contributor
Solution

Re: Insight Manager agents (configuration)

The cmawebd file is part of the RPM package of hpasm.

Jorge Carminati
Occasional Advisor

Re: Insight Manager agents (configuration)

Well, today I found that I need to have 'hpsmh-2.0.2-109.linux.i386.rpm' installed, in order to be able to access the 'HP System Management Homepage'.

Thanks for all your help.
Regards.