Install the Java Introscope agent on all server nodes in an
SAP Mobile Platform Server cluster.
Context
These instructions are valid for Wily Introscope Agent version
9.1.5 running with SAP Mobile Platform 3.0 SP07 and later.
Procedure
- Navigate to the SAP Service Marketplace Software Download Center at https://support.sap.com/swdc

- In the left pane, select , then select .
- Select , and select the Introscope Java agent.
- Stop the server.
- Under
<SMP_HOME>\MR30,
create a directory called "IntroscopeAgent" at the same level as the
Servers directory.
- Under the IntroscopeAgent directory, create a directory
called "Java".
- Copy the Wily directory and all its contents from the
Introscope Agent Java release to the Java directory.
- Extract the contents of the config.zip file to
<SMP_HOME>\MR30\IntroscopeAgent\Java\wily\core\config,
overwriting existing files.
- Extract ext.zip into
<SMP_HOME>\MR30\IntroscopeAgent\Java\wily\core\ext,
overwriting existing files.
- Configure the Java agent on the server:
- For the application service node, add the following properties to the
Java option in the
<SMP_HOME>\MR30\Servers\UnwiredServer\bin\mlsrv.ext.ini
file:
-javaagent:<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/Agent.jar
-Dcom.wily.introscope.agentProfile=<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/core/config/IntroscopeAgent.profile
-Dcom.wily.introscope.agent.agentName=%CLUSTER_NAME%_%MOBILINK_SERVERNAME%
Note Substitute the following path variables with property values in
the
<SMP_HOME>\MR30\Servers\UnwiredServer\Repository\Instance\com\sybase\sup\server\SUPServer\sup.properties
file:
- %CLUSTER_NAME% – replace with the value of
sup.cluster.name.
- %MOBILINK_SERVERNAME% – replace with the value of
ml.servername.
- For the scale-out node, add the following properties to the
<SMP_HOME>\MR30\Servers\UnwiredServer\bin\websrv.ini
file:
-javaagent:<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/Agent.jar
-Dcom.wily.introscope.agentProfile=<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/core/config/IntroscopeAgent.profile
-Dcom.wily.introscope.agent.agentName=%CLUSTER_NAME%_%MOBILINK_SERVERNAME%
- Open the
<SMP_HOME>\MR30\Servers\UnwiredServer\config\configure-sup.xml
file, and make these changes:
- In
<SMP_HOME>\MR30\Servers\UnwiredServer\config,
create a file called introscope-agents.properties,
and add the following to it:
-javaagent:<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/Agent.jar
-Dcom.wily.introscope.agentProfile=<SMP_HOME>/MR30/IntroscopeAgent/Java/wily/core/config/IntroscopeAgent.profile
-Dcom.wily.introscope.agent.agentName=%CLUSTER_NAME%_%MOBILINK_SERVERNAME%
- On a command line, run:
setx Cor_Enable_Profiling 0x1 /m
- Set the Enterprise Manager (EM) host and port for the Java agent:
- Edit the Java profile in the
<SMP_HOME>\MR30\IntroscopeAgent\Java\wily\core\config\
IntroscopeAgent.profile file.
- Set the value of the
introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT
property to the IP address of the EM host.
- Set the value of the
introscope.agent.enterprisemanager.transport.tcp.port.DEFAULT
property to the EM port number.
- Restart the server.
- (Optional) To disable the agent:
- Run: setx Cor_Enable_Profiling 0x0 /m
- Remove the properties that you added in step 10, and restart the
server.
- (Optional) To reenable the agent after disabling it:
- Run: setx Cor_Enable_Profiling 0x1 /m
- Repeat step 10, and restart the server.