Server Management - Systems Insight Manager
1748150 Members
3684 Online
108758 Solutions
New Discussion юеВ

Re: ESX + System Management Homepage+ Agents

 
SIT
Regular Advisor

ESX + System Management Homepage+ Agents

Hi,

i have the following problem :
I have a Linux ESX 3.0 with the "HP Advanced Server Management Package for VMware
ESX Server (V7.91)" > System Management Homepage, agents, snmp ...
The install finish successfully

On my SIM 5.2, the "Health Staus" link refer to the SMH windows but none agents is recognized (see attachement)and System Model = NULL.
In the "Tools & links" tab, i have links to HP Server Agent, HP NIC Agent,HP Storage Agent and HP Foundation Agent but same result

The result of "Config or repair agents" return :
Setting admin password/Trust for Insight Management Agents 7.1/earlier (START)..
Setting admin password/Trust for legacy HP Server Management Agents..[SKIPPED] HP Server Management Drivers and Agents, is not installed.

Any solutions please ?

Thanks
9 REPLIES 9
Rob Buxton
Honored Contributor

Re: ESX + System Management Homepage+ Agents

How did you do the install on the ESX Server.
It looks like some of the sub-agents have been excluded.
I edit the hpmgmt.conf file and use that in a silent install. That seems to give a nice clean install for me.

The command service hpasm status should show what services are actually running. That might give a clue.

SIT
Regular Advisor

Re: ESX + System Management Homepage+ Agents

Hi,

1-For the Install : I setup ESX via the CD then the "HP Advanced Server Management Package for VMware" by
./installvm791.sh --install

2-The "service hpasm status" command return the following result (it appear to be OK) :

hpasmd is running... [ OK ]
Status of Foundation Agents (cmafdtn): cmathreshd cmahostd cmapeerd

cmathreshd is running... [ OK ]

cmahostd is running... [ OK ]

cmapeerd is running... [ OK ]
Status of Server Agents (cmasvr): cmastdeqd cmahealthd cmaperfd

cmastdeqd is running... [ OK ]

cmahealthd is running... [ OK ]

cmaperfd is running... [ OK ]
Status of Storage Agents (cmastor): cmaeventd cmaidad cmafcad cmaided cmascsid c masasd

cmaeventd is running... [ OK ]

cmaidad is running... [ OK ]

cmafcad is running... [ OK ]

cmaided is running... [ OK ]

cmascsid is running... [ OK ]

cmasasd is running... [ OK ]

3- The port hpim and snmp seems to be open
SIT
Regular Advisor

Re: ESX + System Management Homepage+ Agents

For the firewall, the status return :
"service firewall status">
Chain INPUT (policy ACCEPT 8029K packets, 2068M bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 8971K packets, 4392M bytes)
pkts bytes target prot opt in out source destination


Neither incoming nor outgoing blocked by default
Enabled services: CIMSLP ntpClient VmmService CIMHttpsServer snmpd vpxHeartbeats AAMClient LicenseClient ftpClient sshServer CIMHttpServer

Opened ports:
hpim : port 2381 tcp.in
sim-cert : port 280 tcp.out
Haridas
Respected Contributor

Re: ESX + System Management Homepage+ Agents

Can you try the following ?

1. Uninstall the management Agents.

rpm -e hpasm
rpm -e hprsm
rpm -e hpsmh

2. Then try installing the agents again using. This time, do not use the existing snmpd.conf file. Create a new one. This is done with the install wizard and it will ask you if you want to use the existing configuration.

Hope it works.
Rob Buxton
Honored Contributor

Re: ESX + System Management Homepage+ Agents

You can check the snmpd.conf file manually and see if that looks okay.

There have been previous postings that show how this file should look for ESX.

For agent installs I edit the hpmgmt.conf file and use that for a silent install. Details are in the README file supplied as part of the tar file.
SIT
Regular Advisor

Re: ESX + System Management Homepage+ Agents

Hi,
I'have uninstall the agents using agents ./installvm791.sh --uninstall

Then re-installing using
./installvm791.sh --silent --inputfile hpmgmt.conf (the example file)

But no prompt for snmp, just : "Agents successfully installed"

I run "Repair or config agent" then the snmpd.conf file have bee modified (trapsink) :
------------------------------------------
# Sample snmpd.conf containing VMware MIB module entries.

# This is a simple snmpd.conf that may help you test SNMP.
# It is not recommended for production use. Consult the
# snmpd.conf(5) man pages to set up a secure installation.

syscontact root@localhost (edit snmpd.conf)
syslocation room1 (edit snmpd.conf)
rocommunity public
trapcommunity public
trapsink localhost

# VMware MIB modules. To enable/disable VMware MIB items
# add/remove the following entries.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
trapsink MYSIM.domain.fr
------------------------------------------

But i still have the issue...

The "identify system" task return :
Checking for SNMP support on system.
The system responded to a SNMP request, it supports SNMP.
Running HP ProLiant management agent identification
System does not have the SNMP ProLiant Server (foundation) agents installed. !!!

It seems that SIM doesn't see the installed agents ...

Thanks
Rob Buxton
Honored Contributor

Re: ESX + System Management Homepage+ Agents

If you configure and use the hpmgmt.conf file then you will not be asked any snmp questions. But you do need to make changes to the example file before you use it.

Here's an example of our file, I have changed the global RO and RW community names. mycomp.myco.com is the FQDN of the HPSIM server.

rwcommunity insightManager 127.0.0.1
rocommunity mypublic 127.0.0.1
rwcommunity myprivate mycomp.myco.com
rocommunity mypublic mycomp.myco.com
trapcommunity myprivate
trapsink mycomp.myco.com mypublic
syscontact root@localhost (edit snmpd.conf)
syslocation Our Computer Room

You can manually edit the snmp.conf file. Not sure if you need to restart snmp or not after the change.
SIT
Regular Advisor

Re: ESX + System Management Homepage+ Agents

1-Here, my modified snmp.conf file
--------------snmp.conf-------------------
syscontact root@localhost (edit snmpd.conf)
syslocation room1 (edit snmpd.conf)
rocommunity public 127.0.0.1
rwcommunity public 127.0.0.1
rocommunity public MySIM.MyDomain.fr
rwcommunity public MySIM.MyDomain.fr
trapcommunity public
trapsink MySIM.MyDomain.fr public

# VMware MIB modules. To enable/disable VMware MIB items
# add/remove the following entries.
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
---------------------End-------------------

2- Then i've restart snmpd service

3- Then i have launch a "Configure or repair" task :
-----------------Begin----------------------
Configuration of agents started, waiting for it to be completed.
Configure Agents and Providers (START) ...
Configuring SSH authentication (START)...
Configure SSH for host based authentication (DONE)................. [SUCCESS]

LINUX configuration command (START)...
Configuring SNMP Settings (START)...
Stopping SNMP daemon...
Stopping snmpd: [ OK ]
Adding read community string public
Trap destination address MySIM.MyDomain.fr already in /etc/snmp/snmpd
.conf
Restarting SNMP Daemon...
Starting snmpd: [ OK ]
Setting SNMP trap destination / SNMP read community string (DONE)....[SUCCESS]


Set Trust relationship to "Trust by Certificate" (START) ...
Setting Trust for System Management Home Page.
Stopping System Management Home Page
Stopping hpsmhd:
Copying /var/opt/mx/tmp/MySIM.MyDomain.fr.pem to /opt/hp/hpsmh/certs
Restarting System Management Home Page
Starting hpsmhd:
Problem receiving data: Connection reset by peer (104)
Connected to 127.0.0.1:2301....
sent /proxy/reconnect...counter=1, status=104
*** GOT PORT 2301...i=0 ****
Connected to 127.0.0.1:2301....
sent /proxy/reconnect...counter=1, status=104
*** GOT PORT 2301...i=0 ****
[ OK ]
Set Trust relationship to "Trust by Certificate" (DONE)............. [SUCCESS]


Setting admin password/Trust for Insight Management Agents 7.1/earlier (START)..
Setting admin password/Trust for legacy HP Server Management Agents..[SKIPPED] H
P Server Management Drivers and Agents, is not installed.


Linux configuration commands (DONE)................................. [SUCCESS]

Re-identifying system to get update information (START) ...
Re-Identification of system (DONE).............................. [SUCCESS].
----------------END------------------

You really think it's a snmp issue becauseI sitll have the pb, any ideas ?

Thks a lot for your help and your time
SIT
Regular Advisor

Re: ESX + System Management Homepage+ Agents

I used an older Server Management Package for VMware and it works fine ...