Skip to Content
Author's profile photo Yogesh Patel

Part 8 : SAP Solution Manager 7.2 SR1 (+ SPS03) : Install the Diagnostics Agent 7.45

Hello Friends,

 

You have SLD up and running now Document

 

Now its time to install SAP Diagnostic Agent and configure it with SLD and register it in SAP Solution Manager

 

Start SWPM and navigate to General Option >> Diagnostics in SAP Solution Manager >> Install – Diagnostics Agent with 7.45 Kernal

 

Note: Make sure you have kernal DVD available (You already have it at the time of SPS 03 upgrade)

 

Provide Media files as required for installation

 

Provide your SAP Solution Manager host name (Local Server name)

 

Provide Instance name

 

Make sure you select Local Domain as for users

 

Provide Instance number

 

SLD Destination : Select Register in Existing Central SLD and Use HTTPS

 

 

Provide SLD connection information

 

 

Connection to solution manager is also HTTPS

 

Provide hostname and port of your solution manager

 

Note: We previously configured P4SEC port : Adding in in SCS  profile

Note: Please remove username and password

Note: In some cases we found that HTTPS port on SLD is not working properly to push system data. Please change it to HTTP and see its working for you or not.

Wait till installation finish

 

 

Once installation complet open : JAVA https://host:port/smd/AgentAdmin

 

You will see one agent is waiting to be connected under Non-authanticates Agents

 

Go to Non-authanticates Agents TAB and first Update Agents

 

 

After update comnplete Trust Agents

 

Filally you will find 1 agent online as below

Note: For Diagnostics Agent and HA Support

Now next step to Configure SAP Solution Manager system

 

Please continue reading next blog

 

Thank you for reading

Yogesh

Assigned Tags

      60 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Akintunde Odenuga
      Akintunde Odenuga

      Hi,

      Thank You for document.

      When I click trust agents I get an error which says  "Authentication mode set to certificate but certificate has not been generated."
      Please how do I resolve this issue?

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hi,

      You can find it under : Cross Scenario Configuration >> Mandatory Configuration >> Infrastructure Preparation >> Step 2.3 Diagnostics Agents Authentication

      Regards,
      Yogesh

      Author's profile photo Dmitriy Medved
      Dmitriy Medved

      Thank you! Three years past solman installation your post help me! 🙂

      Author's profile photo Akintunde Odenuga
      Akintunde Odenuga

      Hi Yogesh,

      I have resolved the issue.

      Thank You

      Author's profile photo Former Member
      Former Member

      Hi Yogesh,

      can you tell, how i can change data supplier user credenteils to another, from what i set in installation.

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Arent you able to just type it in the user you want to pass?

      -Yogesh

       

      Author's profile photo Former Member
      Former Member

      Yogesh, i mean if I typed it within the installation, but I want to change it after... I Find https://blogs.sap.com/2015/02/24/sap-diagnotics-agent-registration/, and use smdsetup sldconf hostname:”mySLDhost.domain.corp port:Port> user:”SLDDSUSER pwd:”xxxxxx, but thanks anyway, I'll think there will be more questions later))!

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello,

      Running that command you can register your DAA in to any SLD you want

       

      smdsetup sldconf hostname:”mySLDhost.domain.corp” port:”<SLD HTTP Port>” user:”SLDDSUSER” pwd:”xxxxxx”

      This is the only way to register DAA in multiple SLD or change user.

      Thanks

      Yogesh

       

      Author's profile photo Jairo Acevedo
      Jairo Acevedo

      Hello, Yogesh.

       

      You know what is the SWPM you use? I have SWPM SP19, but the option "Install Diagnostic Agent with Kernel 7.45" is missing!

       

      Best regards and thank you so much

       

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello Jairo,

      I use SWPM 10 SP17

      -Yogesh

      Author's profile photo I.T. Center Caddie.Kang
      I.T. Center Caddie.Kang

       

      Which Diagnostic Agent version can we use on Netweaver 7.0? The newest Diagnostic Agent version with 7.49 can be used?

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello,

      Please go through SAP note: 1365123 - Installation of Diagnostics Agents

      Read attachment : AgentInstallationStrategy.pdf

      For your answer : DAA 7.3 on NW 7.0

      Thanks

      Yogesh

      Author's profile photo Sami Mohammed
      Sami Mohammed

       

      Hello Yogesh,

      I have installed solution Manager 7.2 SP06

       

      when I am the step infrastructure preparation http connectivity

       

      ICM for External Access for Java I am not able to select the https.

      eventhough I have configured scs parameter for msport it is still not allowing.

      I have configured via parameter port for java scs 444$$ but it is not activating I have checked using telnet as well .

      In my case I tried registering the agent using smdagent.sh  for the 444$$ port it is getting successful . but it is still activating the following service at the os level.

      in my case I am using self-signed certificate .

       

      2: second question : for sending to the CA authority do I need to send the system export pse file or server standard pse.for ABAP

      3: For JAVA do I need to import any certificate in ABAP system for Solution Manager is it required or not.

      3: pertaining to Root certificate do I need to import in ABAP and JAVA as well to make ssl works .

      can you please put some light on this issue.

       

       

       

      Author's profile photo Former Member
      Former Member

      Hi All,

      I have all Agents installed in my systems, but in "Agent Administration" they appear with status OFF. My SolMan is 7.2 with NW 7.4.

      Can anyone help?

      Best regards.
      Jerry Weiss

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello Jerry,

      Did you connect them to SLD?

      Once you connect them to SLD perform host system configuration wizard

      Thanks

      Yogesh

       

      Author's profile photo Former Member
      Former Member

      Hi Yogesh,

      Yes, I already connected to SLD. Sorry, but how to perform host system configuration wizard? In SolMan >  Mandatory Configuration?

      Thanks

      Jerry

      Author's profile photo Former Member
      Former Member

      Hello !

      I have follow the step by step but whem I try to update the diag agent I have an issue.

      The Diag agent entry disapear and I have this error :

      The diagnostic agent can no longer be updated automatically and will stop working. Install it again

      Can you help me ?

      Best Regards !

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Can you share some logs?

       

      Author's profile photo Former Member
      Former Member

      Yes of course.

      What logs do you want?

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      diagnostic agent Logs please

      Author's profile photo Former Member
      Former Member

      Where can I find this log ? Have you a path where is it ? On the work directory of the instance DAA ?

      Author's profile photo Imtiaz Karedia
      Imtiaz Karedia

      GO to JAVA stack https://host:port/smd/AgentAdmin, select your diagnostic agent and then you find logs in Tab Agent Log Viewer. You can Download logs from there as well.

       

       

      Author's profile photo Former Member
      Former Member

      I think i have a issue beacause they haven't root certificat :

      Who can I generate this certificats ? I already read the SAP note but that say how to renew the certicat but not how to generate it

      Thank you !

      Author's profile photo Former Member
      Former Member

      I have resolved my Issue.

      Thank you.

      Author's profile photo sunilkumar cherate
      sunilkumar cherate

      Hi Yogesh,

       

      My solution manager is 7.2 sp5 When I click trust agents I get an error which says  “Authentication mode set to certificate but certificate has not been generated.”
      Please how do I resolve this issue?

      Also its saying my root certificate is not configured.

       

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Have a look at this document : https://blogs.sap.com/2017/02/22/part-11-sap-solution-manager-7.2-sr1-sps03-basic-system-setupinfrastructure-preparation/

      Author's profile photo Imtiaz Karedia
      Imtiaz Karedia

      You can generate certificate in step 2.3 Diagnostics Agents Connections of Infrastructure Preparation.

       

      Author's profile photo Former Member
      Former Member

      Hi Yogesh,

       

      I finish the configuration of my Solman thank you for your guide step by step.

      Now I install the DAA on my managed system but I have an issue when I want to put the collect data of SLD.

      In my RZ70 the configuration is good :

      When I execute I have an error on RFC connection SLD_UC and in SM59 when I test :

      Thank you in advance !

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Please look in to SAP note below...

      1976188 - 748 not found error creating PI RFC's SAPSLDAPI and LCRSAPRFC

      Thank you

      Yogesh

      Author's profile photo Former Member
      Former Member

       

      Hi Yosgesh,

      I already follow this note but same issue and my error on RFC isn't Error (Msg EGW                  748 not found) but Internal error, session terminated

      I have open a case on sap support but actually not yet resolve. If I find the solution, I will post it here.

      Best regards
      Johan

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello Johan,

      What if you follow SAP note : 1843782 - GW: Installation changes default from gw/acl_mode to 1

      Kindly share your reginfo file (Mask private data)

      -Yogesh

       

       

      Author's profile photo Former Member
      Former Member

      Hello Yogesh,

      Finaly my problem is resolved !
      II have maintained the reginfo for the GW of the ABAP instance but I miss to maintain the reginfo for the GW of the JAVA instance. After this it’s works ?

      Best Regards

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Nice to see that your issue resolved.

      -Yogesh

      Author's profile photo Tan Michael
      Tan Michael

      Hi Yogesh Patel

      I am using your blogs as guide to install SOLMAN 7.2 in Windows Server OS/Oracle12c/SWPMSP21/KERNEL745

      During installation of DiagnosticAgent, I have encountered the step where I will locate the file path of the following below

      I have entered the path to kernel-DBINDEP and got status of still missing

       

      Do you have any idea regarding my concern?

       

      Thank you.

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Creating one new folder copy all files in it, give folder path and re-try.

      -Yogesh

      Author's profile photo Tan Michael
      Tan Michael

      Hi Yogesh Patel

      Good day!

      Sadly, file is still missing . =(

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      What error message you received?

      -Yogesh

      Author's profile photo Tan Michael
      Tan Michael

      Hi,

      If I locate the folder where this SAR file located it throws me a status of "STILL MISSING" and if I locate the specific file I get this warning.

      Archive file 'G:\solman\DAA\SAR\SAPDIAGNOSTICSAGENT.SAR' did not match. See info file.

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Download new version of SAPDIAGNOSTICSAGENT.SAR and copy in to folder.

      -Yogesh

      Author's profile photo Jose Enrique Sepulveda
      Jose Enrique Sepulveda

      Note  1858920 - Diagnostics Agent installation with SWPM is misleading. If you check the scan log:

      You will be able to find out what the scan is complaining about:

      For example, you are trying to use Kernel 7.45 (last release offered as "KERNEL FOR INSTALLATION/SWPM") but you can see that only kernels 721, 722 and 749 are allowed.

       

      You have to provide last patches for SAP Kernel (DB independent part), SAP JVM 6.1 and SAP Diagnostics agent. (they have filenames like: SAPEXE_401-70001625.SAR, SAPJVM6_106-10006989.SAR, SMDA710_SP11_5-80002931.SAR)

      Regards,

      José Enrique

      Author's profile photo Tan Michael
      Tan Michael

      Hi Jose Enrique Sepulveda

      It did not work for me

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      As per question below issue is resolved. Posting here to give ref. other community members.

      https://answers.sap.com/questions/402443/still-missing-for-package-path-in-installation-of.html

      Thank you

      Yogesh

      Author's profile photo Rupali Sutar
      Rupali Sutar

      Hi Jose/Yogesh,

      Please suggest if you know any solution to the Diagnostic Agent install..I tried 745 & 749 Kernel. But unable to understand / interpret the Info link

      Notes – 1365123 / 2465430 / 1858920 are quiet misleading.

      Regards,

      Rupali S

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Kindly please go through question below

      https://answers.sap.com/questions/402443/still-missing-for-package-path-in-installation-of.html

      Thank you

      Yogesh

      Author's profile photo Rupali Sutar
      Rupali Sutar

      Thanks it worked, downloaded latest version of SAPJVM6

      Download new SWPM SP22 and manually these files

      SAPJVM6 = SAPJVM6_106-10006998.SAR

      SAPEXE = SAPEXE_1000-10011367.SAR

      SAPDIAG = SMDA710_SP11_5-80003511.SAR

      Thanks Yogesh Patel 🙂

       

      Author's profile photo Former Member
      Former Member

      Hello Yogesh,

      Thank you very much for your blog. In "Provide SLD connection information" section, you use the sld user "SLD_DS_<SID>". I don't find this user? Do we have to create it first? If yes,  what are the role type to define for this user ?

      Thank you for your help.

      Amine.

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello Former Member

      Please create uses below.

      user: SLD_DS_<SID> role : SAP_SLD_DATA_SUPPLIER

      user :SLD_CL_<SID> role : SAP_SLD_CONFIGURATOR

      -Yogesh

       

       

      Author's profile photo Former Member
      Former Member

      Hello Yogesh,

      Thank you for your help 🙂 I will perform again the SMD installation and I will inform you about the result.

      Best regards,

      Farid

       

      Author's profile photo HCL Himanshu Singh
      HCL Himanshu Singh

      Hello Yogesh,

       

      Thanks for detailed step, this helps greatly in configuration.

      I have an issue connecting Diagnostic agent to /smd/AgentAdmin.

      In the step connection information for the Diagnostic Agent, I haven't provide the user name and password, now after installation of agent, i saw it didn't visible under AgentAdmin, while checking the logs i found below issues:

       

      Mar 8, 2018 2:01:46 PM [Thread[Connector,5,main] ] Info [ms://<hostname>l:8114/P4] Checking server availability...
      Mar 8, 2018 2:01:46 PM [Thread[Connector,5,main] ] Error Could not create transientInitialContext with authentication: will now try again without authentication:

      [EXCEPTION]
      javax.naming.NoPermissionException: Credentials not found, the configuration is empty.
      at com.sap.smd.agent.connection.SMDConnector.checkAuthenticationSettings(SMDConnector.java:1071)
      at com.sap.smd.agent.connection.SMDConnectionTask.getTransientInitialContext(SMDConnectionTask.java:900)
      at com.sap.smd.agent.connection.SMDConnectionTask.internalAttemptConnection(SMDConnectionTask.java:520)
      at com.sap.smd.agent.connection.SMDConnectionTask$1.run(SMDConnectionTask.java:111)
      at com.sap.smd.agent.connection.P4JNDIContextHelper.executeInSecurityContext(P4JNDIContextHelper.java:146)
      at com.sap.smd.agent.connection.SMDConnectionTask.attemptConnection(SMDConnectionTask.java:106)
      at com.sap.smd.agent.connection.SMDConnectionTask.run(SMDConnectionTask.java:1460)
      at java.lang.Thread.run(Thread.java:836)

       

      if i now try to connect via smdsetup managingconf hostname:"sapms://<solman.full.qual.host.name>" port:"<81xx>" user:"SMD_AGT" pwd:"xxxxxx", i found that SMD_AGT doesn't yet exist on ABAP system.

      Note: i have not yet start the system preparation and other steps, following your blogs part wise.

      Landscape: Solution Manager 7.2 SP06, on Windows 2016, ASE DB.

      Host A - ABAP --> CI+DB

      Host B - ABAP --> App Server

      Host C - Java --> SCS+DB

      can you please help, how can i connect my agent at this step, wil this be OK to use SLD_DS_<SID>, user to connect agent as below command ?

      sapms://<solman.full.qual.host.name>" port:"<81xx>" user:"SLD_DS_<SID>" pwd:"xxxxxx"

       

      Many Thanks in advance,

      Regards,

      Himanshu

       

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hello HCL Himanshu Singh,

      Please look in to SAP note below

      1907909 – How to connect Diagnostics Agent to Solution Manager system directly by using smdsetup script

      Thank you

      Yogesh

      Author's profile photo HCL Himanshu Singh
      HCL Himanshu Singh

      Thanks Yogesh for your reply, i did already followed note 1907909, but my issue is, i don't have SMD_ADMIN or SMD_AGT user yet, as the system preparation tasks are not yet executed, i followed all your blogs part till now.

      which solution manager user should I use here to connect via script ?

      Thanks and Regards,

      Himanshu

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Check 2 SAP notes below

      1913837 - How to connect Diagnostics Agent to SLD by using smdsetup script

      2385361 - How to connect Diagnostics Agent to Solution Manager 7.2 system

      -Yogesh

      Author's profile photo Faheem Shaikh
      Faheem Shaikh

      Hi Yogesh,

       

      I am bit confused on it, where i need to install diagnostic agent ?

      on a different host or on the same where solution manager AS ABAP AND AS JAVA  is installed.

      Please help me in this problem.

      Regards,

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hope documents below will helps to understand.

      https://blogs.sap.com/2018/04/19/sap-solution-manager-7.2-and-managed-system-as-java/

      https://blogs.sap.com/2017/03/20/sap-solution-manager-7.2-and-managed-system-as-abap

      -Yogesh

      Author's profile photo Faheem Shaikh
      Faheem Shaikh

      HI Yogesh,

       

      Thank you so much for you response,

      I dont have any AS JAVA manager system, I only have AS JAVA stack of solution manager both are on same host, do i still need to install and configure DAA on the host. please let me know same for Wily introscope? do i need to install and configure it? becauase i have only AS JAVA stack of Solution manager.

      I have only AS ABAP ECC  on HANA. so it mean i have to install the DAA on the host where ECC on hana is installed?

       

      Secondly, I am configuring Solution Manager for VAR support, do i need to configure Wily Introscope?

      Regards.

      Faheem,.

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Hi  Faheem Shaikh,

      Yes, You need DAA on SAP solution manager. Wily can be installed on SolMan host. You need Wily for JAVA system EWA and monitoring. You need to specify willy as part of solman configuration. Yes you need DAA on your ECC server and connect to solman.

      -Yogesh

      Author's profile photo Madi Tatubayev
      Madi Tatubayev

      Hello Yogesh,

      I am installed 4 Diagnostic Agents via SWPM on different hosts.
      I see them in the agent administration in status connected (green). But when the configuration of the ABAP system in Managed System – Diagnostic Agents are not visible.
      But when the configuration of the host in Managed System – Diagnostic Agent are visible.
      System SAP Soluition Manager 7.2 SPS07 (HANA 2.0). Below is the maximum indicated all the screenshots from the SM.

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Are you able to see this agent in SLD? Did you update and trust agent?

      -Yogesh

      Author's profile photo Madi Tatubayev
      Madi Tatubayev

      Hello,

      I see agents in SLD. All agents in the "connected" tab

       

       

       

       

       

       

      Author's profile photo Yogesh Patel
      Yogesh Patel
      Blog Post Author

      Did you update and trust agent?