Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on
07-06-2017
09:59 AM
- edited on
06-25-2020
11:54 PM
by
Claudia.Landiva
To configure Apache Solr version 6.5.x with AppDynamics Agent (preferably version 4.2.x or higher), use the following steps:
/<solr-home>/bin/solr.in.sh
on the Controller machine.solr.in.sh
file in order to add the Java Agent.SOLR_OPTS="$SOLR_OPTS -javaagent:<app_agent_install>/ver4.2.10.0/javaagent.jar"
Example:
SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName -javaagent:/Users/XXX/Documents/Agent/AppServerAgent-4.2.10.0/ver4.2.10.0/javaagent.jar"
SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName-javaagent:/Users/XXX/Documents/Agent/AppServerAgent-4.2.10.0/ver4.2.10.0/javaagent.jar"
just need to understand is there a space after nodeName -javaagent
@Stevon.Gomez yes, there should be a space. Thank you for the pointer. Looks like a typo mistake. I will correct it.
@Preet.Gaur @Stevon.Gomez I've updated the article to reflect this change. Thank you both!
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form