VMware Cloud Community
selkad
Contributor
Contributor

Unidirectional set to true but server seems to try to connect to the agent and fails

I am using Hyperic server 5.7.1.

In the agent.properties file, I have set:

agent.setup.unidirectional=yes

The platform comes up in the auto-discovery pane on the HQ dashboard. However in the server logs, I see this error message:

19-02-2015 02:51:41,226 UTC ERROR [aiSendReport-3588669] [org.hyperic.lather.server.LatherServlet@320] error while invoking LatherDispatcher from ip=107.189.81.12, method=aiSendReport: org.hyperic.hq.common.SystemException: org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

org.hyperic.hq.common.SystemException: org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

Could someone explain why the server is trying to "invoke a method on the agent" under unidirectional mode ?

When I click on Add to Inventory on the auto-discovery pane, I get this error message:

Unable to import platform : org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

As soon as I set unidirectional to no, my server can be added to the inventory without any issues.

Thanks in advance for any hints!

Tags (2)
0 Kudos
6 Replies
admin
Immortal
Immortal

Hi,

The unidirectional feature is an enterprise feature.

It is not supported in the open source edition.

Thanks,

Tal

0 Kudos
selkad
Contributor
Contributor

Hi Tal,

Thanks for your response.

I am using Hyperic "server-5.7.1-EE" which does look like the Enterprise edition. Is there any other way to check ?

Thanks!

0 Kudos
admin
Immortal
Immortal

Hi,

I recommend to use Hyperic 5.8.4.

Can you reproduce this and attach the server + agent log files?

Thanks,

Tal

0 Kudos
selkad
Contributor
Contributor

Hi Tal,

Thanks much for your response.

At this point we may not be able to update the version - but we can keep note of this for our next deployment.

I have attached the log files. In the final run, I started the agents in bidirectional mode (working fine and reporting metrics) and then changed to unidirectional using the procedure here:

vFabric Documentation Center (Ideally we want to be able to start with unidirectional mode and not have to change to it)

I got a certificate_unknown exception for this (although i have set both of these):

agent.setup.acceptUnverifiedCertificate=Yes

accept.unverified.certificates=true

I am wondering if using the default certificates generated by Hyperic won't work for unidirectional mode.

Thanks!

0 Kudos
admin
Immortal
Immortal

Hi,

This issue needs deep investigation including DB information.

Therefore, opening an SR for Hyperic support team is the recommended way to continue analyzing this issue.

Thanks,

Tal

0 Kudos
admin
Immortal
Immortal

Hi,

When did you set the parameter to true? during the installation or after in the properties file?

If you did the change after the installation in the property file you have to resetup the agent and set this option as true in the setup process.

Thanks,

Yaron

0 Kudos