cancel
Showing results for 
Search instead for 
Did you mean: 

Wily Agents could not be retrieved from EM for host. Reason: cannot get ...

Vivek_Hegde
Active Contributor
0 Kudos

Hi,

While performing diagnostic configuration we are getting below error.

""Wily Agents could not be retrieved from EM for host. Reason: cannot get physical hostname from SMDAgent"

Trace file:

================================================================================

Step Wilyhost Agent Details

Created destination SapStartSrv_sapbiwdev01_BD5_01

Created destination BD5_JC01_server0

Created destination BD5_J01_server0

Created destination SapHostAgent_sapbiwdev01.isus.emc.com

Created destination BD1|sapbiwdev01_BD1_00

Created action BD5|sapbiwdev01_BD5_01 - SapStartSrv_sapbiwdev01_BD5_01

Created action SAP GC|BD5_JC01_server0 - SAP GC|BD5_JC01_server0

Created action SAP GC|BD5_J01_server0 - SAP GC|BD5_J01_server0

Created action SAP OsCol - SapHostAgent_sapbiwdev01.isus.emc.com

Created action BD1|sapbiwdev01_BD1_00 - BD1|sapbiwdev01_BD1_00 AbapInstance

Created action BD1 - BD1 AbapSystem

Created 6 action(s).

Wily Agents could not be retrieved from EM for host sapbiwdev01! Reason: cannot get physical hostname from SMDAgent

Exceptions

com.sap.sup.admin.wily.jdbc.ConfigurationException: cannot get physical hostname from SMDAgent

at com.sap.sup.admin.wily.jdbc.PhysicalHostAgentMappingStrategy.getAgentsByLogicalHost(PhysicalHostAgentMappingStrategy.java:78)

at com.sap.sup.admin.wily.jdbc.AgentHelper.getAgentsForLogicalHost(AgentHelper.java:626)

at com.sap.sup.admin.wily.hostagent.Setup.getWilyAgentsForSmdAgentsHost(Setup.java:388)

at com.sap.sup.admin.wily.hostagent.Setup.retrieveIsAgents(Setup.java:224)

at com.sap.sup.admin.wily.hostagent.Setup.executeSetup(Setup.java:95)

at com.sap.sup.admin.setup.AppCfgTasks.configureEPAgent(AppCfgTasks.java:110)

at com.sap.sup.admin.setup.SetupStep.runExec(SetupStep.java:423)

at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:335)

at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:559)

at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:1700)

at com.sap.sup.admin.setup.SapCluster.access$000(SapCluster.java:35)

at com.sap.sup.admin.setup.SapCluster$SetupRunner.run(SapCluster.java:1971)

at java.lang.Thread.run(Thread.java:770)

Caused by: Time out occurred when calling method 'getService' on object [com.sap.smd.api.IAgentContext_Stub@74477447] after 10000 ms.

possible cause: com.sap.smd.server.util.concurrent.TimeoutException

at com.sap.smd.server.exec.asio.AsioInvocationHandler.invoke(AsioInvocationHandler.java:130)

at $Proxy44.getService(Unknown Source)

at com.sap.smd.local.AgentContextWrapper.getService(AgentContextWrapper.java:509)

at com.sap.smd.SMDManager.internalGetRemoteService(SMDManager.java:1633)

at com.sap.smd.SMDManager.getRemoteService(SMDManager.java:1555)

at com.sap.sup.admin.wily.jdbc.PhysicalHostAgentMappingStrategy.getAgentsByLogicalHost(PhysicalHostAgentMappingStrategy.java:75)

... 12 more

Caused by: com.sap.smd.server.util.concurrent.TimeoutException

at com.sap.smd.server.util.concurrent.FutureResult.timedGet(FutureResult.java:159)

at com.sap.smd.server.exec.asio.AsioInvocationHandler.invoke(AsioInvocationHandler.java:122)

... 17 more

=================================================================================

This error has come into picture after we have installed new Wily EM.All the systems were earlier registered with the old EM.

After installing new Wily EM host I am trying to perform managed system configuration again for all the system using new EM details.

Can anybody pls help me !

Regards

Vivek

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the SMD Agent Administration do you see a physical name under the hostname for the agent?

Also try to unassign it and re-assign the new agent under the Managed System Config.

Thanks

Srikanth M