cancel
Showing results for 
Search instead for 
Did you mean: 

Solman Diagnostic agent

Former Member
0 Kudos

Hi,

We are configurating solution Manger 7.1 and could see Diagnostic agent status in red,

Could you please throw some light what steps need to be take to troubleshoot it

Regards

Uday

Accepted Solutions (1)

Accepted Solutions (1)

bala2104
Participant
0 Kudos

Hi Uday

Kindly check in Agent Admin page whether SMD agent is connecting to Solution Manager or not .

If it not connect kindly re-connect it by executing below command as per the page and restart the SMD agent

Direct Solution Manager Registration

smdsetup managingconf hostname:"sapms://<fqn>" port:"<J2EE MS HTTP Port>" [optional user:"<...>" pwd:"<...>"]

http://wiki.sdn.sap.com/wiki/display/SMSETUP/Diagnostics+Agents#DiagnosticsAgents-DirectSolutionMana...

Regards

Bala

.

Answers (1)

Answers (1)

former_member206167
Active Participant
0 Kudos

Hi Uday,

Switch to edit mode and click in butron Assign, then Assign Agent to correspondant host and save

Regards

bxiv
Active Contributor
0 Kudos

To build on what stated, you should start on the host tab and manage the hosts before you move on to managing the <SID>.  If you will have to repeat steps due to mis-configured extractors/jobs/etc.

Former Member
0 Kudos

Hi Bala,

I tried to register as per the link you attached and end up with below error,

Hostname:smpadm> ./smdsetup.sh managingconf hostname:"sapms://solman.full.qual.host.name" port:"8101" user:"SMD_ADMIN" pwd:"XXXXXXXX"

_________________________________________________________________________

SAP Solution Manager - Diagnostics Agent  - Copyright (c) 2010 SAP AG

_________________________________________________________________________

------- VM Properties ----------

OS                            : AIX

OS Version                    : 6.1

OS Architecture               : ppc64

OS data model                 : 64

Java Vendor                   : SAP AG

Java Home                     : /usr/sap/SMD/SMDA97/exe/sapjvm_6/jre

Java Version                  : 1.6.0_26

Java Classpath                : .:lib/patch_7.10.1.0.20110706111553/launcher/smdagentlauncher.jar:lib/patch_7.10.1.0.20110706111553/

sapxmltoolkit.jar:lib/patch_7.10.1.0.20110706111553/smdagent.jar:lib/patch_7.10.1.0.20110706111553/tc_sec_secstorefs.jar:lib/patch_7

.10.1.0.20110706111553/iaik_jce_export.jar:lib/patch_7.10.1.0.20110706111553/smdserver.jar:lib/patch_7.10.1.0.20110706111553/logging

.jar:lib/patch_7.10.1.0.20110706111553/exception.jar:lib/patch_7.10.1.0.20110706111553/sldclient.jar:lib/patch_7.10.1.0.201107061115

53/sldserv.jar:lib/patch_7.10.1.0.20110706111553/jARM.jar:lib/patch_7.10.1.0.20110706111553/httpclient.jar:lib/patch_7.10.1.0.201107

06111553/sapj2eeclient.jar:

Java Runtime version          : 6.1.036

Java Specfic. version         : 1.6

File Encoding                 : ISO8859-1

HTTP Proxy                    : null

HTTP Proxy port               : null

HTTP non Proxy hosts          : null

smd class version:            : 7.10.1.0.20110706111553

--------------------------------

Check Prerequisites:

OK.

[-] Diagnostics agent maintenance setup starting ...

----------------------------------------------------

Execute the action 'managingconf' to update connection information to connect to Managing system.

! Error ! during diagnostics agent configuration generation.

Exception:

java.io.FileNotFoundException: configuration/runtime.properties (The file access permissions do not allow the specified action.)

        at java.io.FileOutputStream.open(Native Method)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:193)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:145)

        at com.sap.smd.setup.tasks.AgentConfigurationGenerator.writeRuntimeProperties(AgentConfigurationGenerator.java:214)

        at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithMonitoringData.generateRuntimeProperties(AgentSetupWithMonitori

ngData.java:171)

        at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithMonitoringData.executeTasks(AgentSetupWithMonitoringData.java:7

7)

        at com.sap.smd.setup.tasks.agent.configuration.AgentSetupWithMonitoringData.executeTasks(AgentSetupWithMonitoringData.java:2

14)

        at com.sap.smd.setup.SetupMaintenance.executeManagingConfUpdate(SetupMaintenance.java:731)

        at com.sap.smd.setup.SetupMaintenance.executeTasks(SetupMaintenance.java:236)

        at com.sap.smd.setup.SetupMaintenance.main(SetupMaintenance.java:54)

Task completed with status ERROR (3)

These are the steps which I checked,

Regards

Uday

Former Member
0 Kudos

Check permissions to runtime.properties file.

Former Member
0 Kudos

Hi,

I had to run that command with smdadm which worked fine later,I am able to see the system in SMD agent administration,agent tab but it status is not connected,I tried to restart it couple of times,but no success

Thanks

Uday

Former Member
0 Kudos

Check logs for errors in SMDAgent/log directory: SMDSystem.X.log, SMDAgentApplication.X.log (check last).

bala2104
Participant
0 Kudos

Hi Uday

Server name is not reflected for the SMD agent. Please execute the command for changeserver name and restart the agent .

Regards

Bala

Former Member
0 Kudos

Hello Uday,

If you see SMDAgent in Agent Admin, you have to assign it.

Former Member
0 Kudos

Hi Bala,

Seems like we have issue with SMDagent it self,when I check the agent status its yellow and pointing to differenct JVM version

The files which it is looking doesn't exist there

Original JVM is pointing to JVM Version 1.4,but not sure whyJVM 1.6 came to the picture

Is there a way we can point it to look for JVM 1.4,below is the env for smdadm user

Regards

Uday

bala2104
Participant
0 Kudos

Hi uday

Is it possible for you to uninstall and reinstall the SMD agent .

Regards

Bala

Former Member
0 Kudos

Hi Bala,

i have uninstalled and reinstall the SMD agent and was able to see in agent now..Thanks every once for your help and suggestions

Regards

Uday