Enabling AppDynamics
The following procedure assumes you are knowledgeable in the AppDynamics system, and that the proper license and AppDynamics agent are installed on the server.
Perform the following steps to enable AppDynamics:
- Stop the bundle service you wish to instrument.
-
Update the ‘<bundle>.jvm.settings’ property in the deploy.properties
file.
In the deploy.properties file each bundle has its own jvm.settings (such as core.jvm.settings, conversion.jvm.settings). You need to add the following settings from AppDynamics:
- -javaagent:APP_DYNAMICS_INSTALL/javaagent.jar
where APP_DYNAMICS_INSTALL is the install location of AppDynamics
- -Dappdynamics.agent.uniqueHostId=UNIQUE_HOST_ID
where UNIQUE_HOST_ID is your chosen host ID for this bundle/installation
- -Dappdynamics.cron.vm=true
For example:
core.jvm.settings=-Xms1024m -Xmx4g -XX:MaxPermSize=512M -javaagent:C\:\\appdynamics-agent\\AppServerAgent\\javaagent.jar -Dappdynamics.agent.uniqueHostId=EngageOneCoreNode1 -Dappdynamics.cron.vm=true
- -javaagent:APP_DYNAMICS_INSTALL/javaagent.jar
- Run the configureBundle.groovy script to apply configuration.
- Restart the bundle service.