AppD Archive

How to run 2 appagents on 2 jvms on same linux box

CommunityUser
Splunk Employee
Splunk Employee

we have installed appd on a resin container and multiple jvms are running .

Under Resin.conf We have added , and we have only one resin.conf to able to run 2 JVM's 

<jvm-arg>-javaagent:/local/apps/appdynamics/appagent/javaagent.jar</jvm-arg>

but in the Appd dashboard  we see only once instance running. how can we see the other instance also.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hello prashanth.gona,

I am not familiar with resin.conf, but from what I can understand, it's an XML configuration file. It seems like you'll have to configure this way:

1. On the server, create two folder structures that each contain the files for an App Agent:

    /local/apps/appdynamics/appagent1

    /local/apps/appdynamics/appagent2

2. In your resin.conf, if you have two JVMs, you probably already have two XML tags for individual servers:

<abc.com>

    <server id="JVM01">

        <jvm-arg>-javaagent:/local/apps/appdynamics/appagent1/javaagent.jar</jvm-arg>

    </server>

    <server id="JVM02">

        <jvm-arg>-javaagent:/local/apps/appdynamics/appagent2/javaagent.jar</jvm-arg>

    </server>

</abc.com>

3. Set the proper application name in controller-info.conf that you want to see in the AppDynamics UI console:

    /local/apps/appdynamics/appagent1/conf/controller-info.xml

    /local/apps/appdynamics/appagent2/conf/controller-info.xml

Hope that answers your question.

Joey

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks joey , let me try and will let you know if it worked.....

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...