Setup TDA Step by Step Guide
Setup TDA Step by Step Guide
Part 1 Tomcat
Tomcat can use JMX or Jvmmond to trigger the TDA. Jvmmond is used for tomcat using SAPJVM, JMX
is used for tomcat using non-SAPJVM. By default setup in BOE, it will use the SUN JVM. Please choose
different setup steps below.
Prerequisite
Finish Tomcat managed setup according to wiki:
http://wiki.sdn.sap.com/wiki/display/SMSETUP/Managed+System+Setup+of+Apache+Tomcat+System+
in+Solman+7.1
Step 2. Check in Solman for Managed System Configuration of tomcat. In Step 4 Enter System
Parameters, you have input the user and password you set in Step 1.
Step 3. Check in Solman for what kind of method is used for TDA.
Goto SMD Agent Administration => Application Configuration =>
com.sap.smd.agent.application.remoteos, then choose your host, find the parameter
tda.preferred.atc.protocol. This value is configured by Solman according to tomcats jvm information in
LMDB, not the jvm it really used. Be sure it is jmx, if not, customize the value to jmx.
Step 4. Now it shall work, enter TDA page, click Trigger Thread Dump button first to trigger one
thread dump, then Analyze.
If everything is fine, you can get thread dump list like following.
Trouble shooting
Access to consolelog failed.
For this error message, after trigger some thread dump, check your SMD Agent folder, for example
D:\usr\sap\DAA\SMDA98\SMDAgent\temp\, to find if TDA folder. Finally it shall have these jmx_*
thread dump files.
If the TDA folder is not exist or trigger thread dump doesnt add a new file here, it means the trigger
action failed through SMD agent.
1. Check if SMD Agent is running.
2. Check the manage system setup step 6 Configure Automatically (Introscope Host Adapter), if
the light is not green or needs update, setup Introscope Host Adapter again.
3. Check JMX settings (including metrics in EM and user password settings for JMX in Solman)
If it is not SAPJVM like screenshot which is a default installation within BOE installation, change it to
SAPJVM, for example, use the SMD Agents SAPJVM.
For fully supporting jvmmond features, the SMDAgent must run with SAPJVM versions mentioned
below:
1. For SAP JVM 1.5 build: 5.1.066 or above
2. For SAP JVM 1.6 build: 6.1.027 or above
Remind: After change jvm and jvm parameters, restart tomcat is needed.
Value
the port jvmmond is listening
the password used by jvmmond
the tag you defined in tomcat vm parameter
For tomcat, <systype> is ATC, <instance> is always the hostname where managed system is running.
For example,
Step 6. Now it shall work. After trigger thread dump by click the button, you can analyze the results.
Trouble shooting
When you click Analysis button, you may get Access to consolelog failed.
Remind: In Note 1608714, it said jvmmond and tomcat shall started under the same user.
But in my test setup, it is not needed. If you still cant avoid the error message, just try it according to the
note.
Tomcat:
CMC:
Solman:
FAQ
1. It is unclear how the systag property is to be used. We have many BOE java servers on the same
host. Do they all need to set this property differently or idnentical?
They all need to set this property differently according to their server name. That server name is in
CMC or in technical instance part of technical system editor, those application server names.
3. In the SolMan agent config there is only one property for systag to be set per technical system.
How can that work for multiple java processes on one system and one host and how would it
work for two systems (e.g. Tomcat + BOBJ on same host)?
For two systems (Tomcat+BOBJ), set two sets of parameters for ATC and BOBJ, they can have same
port and password. But for those servers creating multiple child java processes, anyway we can set
vm tag parameter there but all the child processes will take the same vm tag what will results wrong
behavior. It is a design defect for servers with child processes. Current design for TDA is one
instance(server) pairs one java process. It shall be improved later.