Skip to Content

I forgot that second part of saprouter configuration for JAVA diagnostics agents, but thanks to Jeffrey Sterner I remember to finish it, 🙂

Remember that this problem is related and the second part of an scenario named on that post http://scn.sap.com/docs/DOC-45491 , That is on a VAR scenario where the managed systems are connected to Solution Manager outside of Solution Manager local networks trough firewalls, and 2 or more saprotuers… That’s is a real nightmare for saprouter remote connection for diagnostic agents.

Error message after diagnostic installation:

“Wilyhost Agent] Wilyhost Agent configuration finished without errors, but on Enterprise Manager (sapsolman:6001) no Wilyhost Agent was detected from host  aptest. Please check the log file jvm_smdagent.out whether the Wilyhost Agent could connect to the Enterprise Manager. If the Enterprise Manager configuration  as been changed recently please restart the SMD Agent on OS level and execute the Wilyhost Adapter setup step again”

If you look at jvm_smdagent.out  file, you will find:

“…10/17/11 09:02:56 PM CEST [WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at sapsolman:6001 ,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (1)…”

* The problem is than wilyhost agent try to conect to “sapsolman:6001”! host instead to use saprouter conection.

Steps to solve that problem:

1. Download the file IntroscopeSapAgent.profile from the Diagnostics agent administration for the diagnostics agent on the managed system

(Agent Administration -> Applications Configuration -> com.sap.smd.agent.application.wilyhost -> Application Resources -> IntroscopeSapAgent.profile )

Make sure to select the correct scope for your agent.

2. Edit the downloaded file IntroscopeSapAgent.profile:

a. comment out standard entries:

#introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT=localhost

#introscope.agent.enterprisemanager.transport.tcp.socketfactory.DEFAULT=com.wily.isengard.postofficehub.link.net.DefaultSocketFactory

#introscope.agent.enterprisemanager.transport.tcp.port.DEFAULT=6001

b. de-comment the saprouter entries and adapt the saprouter

introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT=/H/199.100.1.5/S/3299/H/solman.domain.com/S/3299/H/solmanserver

introscope.agent.enterprisemanager.transport.tcp.socketfactory.DEFAULT=com.sap.sup.wily.saprouter.SapRouterSocketFactory

introscope.agent.enterprisemanager.transport.tcp.port.DEFAULT=6001

3. Upload the modified file to the same scope.

4. Reboot the diagnostics agent to activate the changes.

5. Check in the Introscope Investigator if the agent is connected.

Thinks that you have to take in consideration:

  1. If you perform a managed system setup on this agent after changing the wilyhost settings you should skip the step for configuring the wilyhost in managed  system setup.  Otherwise the changes you did in agent admin are getting overwritten again.
  2. DEFAULT and SAPROUTER is the key for the other properties like introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT So for your setting SAPROUTER no corresponding properties like introscope.agent.enterprisemanager.transport.tcp.host.SAPROUTER were existing
  3. After a good setup you are able that no problems are registered on logs, but on E2E worload monitor you can’t see any data, that is because the extraction for the system need to be re-started to return some records. Verify in some days (after the InfoCube 0SMD_PE2H has been compressed ).

More Information:

About Diagnostic Agents:

http://scn.sap.com/community/it-management/alm/solution-manager/blog/2013/10/15/diagnostics-agents-verifications-post-solman-installation

Regards,

Luis

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Massimiliano De Mola

    Hi Lluis,

    when i try to download file IntroscopeSapAgent.profile fro my Scope,

    the following http page appears in my browser:

    Tue Jun 24 16:48:17 CEST 2014 log4j.appender.logfile.layout.ConversionPattern=%d{M/dd/yy hh\:mm\:ss a z} [%-3p] [%c] %m%n log4j.additivity.IntroscopeAgent=false introscope.agent.enterprisemanager.connectionorder=DEFAULT log4j.appender.console.layout.ConversionPattern=%d{M/dd/yy hh\:mm\:ss a z} [%-3p] [%c] %m%n introscope.agent.enterprisemanager.transport.tcp.port.DEFAULT=6002 introscope.agent.stalls.enable=false log4j.appender.logfile.MaxBackupIndex=4 log4j.logger.IntroscopeAgent=INFO, console log4j.appender.console.layout=com.wily.org.apache.log4j.PatternLayout log4j.appender.logfile.File=IntroscopeAgent.log log4j.appender.console.target=System.err introscope.agent.transactiontracer.sampling.enabled=false com.sap.hostagent.enable=true log4j.appender.console=com.wily.org.apache.log4j.ConsoleAppender introscope.agent.enterprisemanager.transport.tcp.socketfactory.DEFAULT=com.wily.isengard.postofficehub.link.net.DefaultSocketFactory log4j.appender.logfile.MaxFileSize=10MB introscope.agent.hostName=vfgitabwap02 introscope.agent.customProcessName=SAP HostAgent Process introscope.agent.extensions.directory=ext log4j.appender.logfile=com.wily.introscope.agent.AutoNamingRollingFileAppender log4j.appender.logfile.layout=com.wily.org.apache.log4j.PatternLayout introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT=vfgitasolman

    I suppose the download fails, but i don’t understand why it happens.

    Do you have an idea?

    Best regards,

    Massimiliano

    (0) 
  2. Dmitry Yasser

    Thank you, Lluis. Very helpful. I was fighting with this for a long time.

    However, onсe I’ve added corrections to IntroscopeSapAgent.profile with my saprouter details – it still didn’t connect.

    My config file was:

    introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT=/H/saprouter_hostname/W/saprouter_password/H/solman_hostname

    Apparently, Wily introscope agent can’t use saprouter password specified in config file. I had to remove saprouter password from config file, and from saproutertab to make it work.

    Dmitry

    (0) 

Leave a Reply