Server Management - Systems Insight Manager
1752815 Members
5847 Online
108789 Solutions
New Discussion юеВ

Re: registering agent error. The VMM agent connot be connected (Max Points)

 
SOLVED
Go to solution
Rob Buxton
Honored Contributor

Re: registering agent error. The VMM agent connot be connected (Max Points)

The install should have opened those. I didn't need to open any ports manually.

Maybe it's worth removing and reinstalling the VMM Agent.
Mazda
Regular Advisor

Re: registering agent error. The VMM agent connot be connected (Max Points)

Have done that as well..

When pushing out the agent from the SIM GUI what credentials does it use? I have configured the system protocol settings but again, I am not running SSH on CMS.
Santhosh Ramesh
Advisor

Re: registering agent error. The VMM agent connot be connected (Max Points)

Can you try the following steps -

1. Install OpenSSH on the HP SIM CMS.

2. Configure OpenSSH on the ESX host using the "mxagentconfig" tool - execute the following commands:
mxagentconfig -r -n
mxagentconfig -a -n -u -p

3. Deploy the VMM Agent from the HP SIM Menu (Deploy->Deploy Drivers, Firmware and Agents->Install VMM
Agent, and then select Linux)

This should ensure that the task completes in HP SIM. These steps are taken from the User Guide (Pages 26-27).

Note: You have mentioned that you have set the System Protocol Settings (for the ESX host). You would require root-level access to for the VMM Agent deployment to be successful.
Rob Buxton
Honored Contributor

Re: registering agent error. The VMM agent connot be connected (Max Points)

We've just rebuilt our ESX Servers using ESX 3.5 Update 2. Now getting a similar issue.

The ports are listed as open in ESX although the VmmService is not listed in the main Security Page of the ESX Configuration. It is listed in the ESX 3.0.2 version.

These have been previously registered / licensed so that side shoule be okay. It just seems to be the final HPSIM to VMM communication isn't working as expected. A bit more digging to do yet.
Rob Buxton
Honored Contributor

Re: registering agent error. The VMM agent connot be connected (Max Points)

It's not the firewall - same behaviour with the ESX firewall stopped.
If I re-identify the server I get the following in the hpvmmsvc.log on the HPSIM/VMM Server;
2008/08/07 10:38:09 | INFO - Host 10.x.x.x has the following virtualization layers installed:[[[manufacturer=VMware name=ESX3 version=3.0.2 productVersion=null] numberOfVMs=0]]
Which is nonsense as the server is now ESX 3.5.
Rob Buxton
Honored Contributor

Re: registering agent error. The VMM agent connot be connected (Max Points)

What fixed it for me was rerunning the importcert.sh script. This must be done after the VMM Agents has been installed on the server.

I copied the .ks files and the import script to the /root directory and ran it.
As well as copying the keystore files to the correct directory it also seems to set up some path info that is quite crucial.

I also found that there was quite a bit of info in the /var/log/vmm/hpvmmcnt.log file.
Mazda
Regular Advisor

Re: registering agent error. The VMM agent connot be connected (Max Points)

Rob, thanks for your presistence and testing. I have run importcert.sh from root. Here is what happened -

[root@ESX01 root]# ./importcert.sh
Restarting the agent, after importing the certificate
Stopping hpvmmcnt: [ OK ]
Starting hpvmmcnt: [ OK ]
Sleep for 10 Seconds to make sure the agent is started completely
[root@ESX01 root]#

I then select the ESX01 server from the SIM GUI and ran an Identify task. Here are the results -

Starting identification process...
Checking for known running web servers.
Checking for System Management Home Page and other HP web agents.
Received a response from the system management homepage, this system supports SMH.
Checking for WBEM support on system.
This system has WBEM protocol support
This system has at least one SMI-S CIMOM installed
This system has a server CIMOM installed
Running WBEM rules based identification.
Cannot get ComputerSystem WBEM/WMI data from the system
Running VM Identification
The system is a VMware ESX Host and has guests running on it
Running WS-Man identification.
The system did not respond to WS-Management, verify credentials.
Checking for SNMP support on system.
The system responded to a SNMP request, it supports SNMP.
Running SNMP base Cluster identification using common cluster MIB.
This was not a system with the common cluster MIBs supported.
Running HP ProLiant management agent identification
System has the SNMP ProLiant server (foundation) agents installed, adding system type.
Running HP NetServer identification.
System supports the NetServer SNMP agent, adding system type
Running HP-UX SNMP identification.
System does not have the HPUX SNMP agents installed.
Running SNMP System Type Manager identification.
Found matching SNMP System Type Manager rule, added as possible system type
Checking for DMI protocol support.
The Windows CMS cannot communicate with HP-UX or other DMI, skipping.
Running DMI System Type Manager identification.
The system does not have Windows DMI support.
Running HP-UX DMI identification.
The system does not have HP-UX DMI support.
Running HP/Compaq Desktop identification.
The system does not have Windows DMI support.
Running HP DMI Desktop identification.
The system does not have HP DMI Desktop support.
Running Generic DMI identification.
The system does not have Generic DMI support.
Checking for SSH protocol support.
The system supports SSH protocol
Running Storage identification.
There were no storage profiles found on this system.
Storage identification completed.
Running HP Service Guard Identification.
The system is not part of HP Service Guard cluster
Checking if this system is supported by Insight Power Manager.
Insight Power Manager is supported.
Running VM identification.
VMM is installed, but the system is not a VM Host or may not be configured in VMM
Building system relationships.
Running limited data collection for common attribute.
Done with limited data collection, checking retrieved data.
The SSH is not configured on this system
SMH trust status is true.
Running node communication diagnosis
System identification done with this system.


Should I be able to see VMMAgent in the SIM agent GUI https://ESX01:2381 under Integrated Agents? Because I can't at the moment.
Mazda
Regular Advisor

Re: registering agent error. The VMM agent connot be connected (Max Points)

This is the line of the above Identify task that is of some concern -

VMM is installed, but the system is not a VM Host or may not be configured in VMM
Mazda
Regular Advisor

Re: registering agent error. The VMM agent connot be connected (Max Points)

OK I also just tried to Register VM Host and the process does not stop.....stays in the running state until I close the window.
Rob Buxton
Honored Contributor
Solution

Re: registering agent error. The VMM agent connot be connected (Max Points)

I'm guessing that's because it's not registered.
You could try registering it from the command line.
Looking at the file;
C:\Program Files\HP\Systems Insight Manager\bin\vmm_registerlin.bat
Redo the third line something like:
mxexec -t "Run vmcli tool for register" -n ESX01

Anoher thought is SNMP is not quite correct, but then I would have though the ESX would not have been id'd correctly.