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
02-12-2020 09:57 PM - edited 02-13-2020 04:16 AM
We recently orchestrated an application on the dev environment and everything went well but now what is happening is that the nodes agent status keeps going to 0% and then they replicate themselves (within the tier). I have attached a SS that might give a clearer picture.
These copies of java nodes get deleted from the controller after the application server is restarted but then the issue reoccurs.
My best guess is that there was something incorrectly done while deploying the agents and I was hoping if someone else would also faced the same issue and might be able to tell me what could be wrong.
Thanks,
Hari Shree Joshi
Solved! Go to Solution.
02-20-2020 11:33 PM
Hello Hari Shree,
Thank you for your request to our community. We are happy to assist you with this matter.
It seems you are running Java app in a dynamic environment. In dynamic environment, the vanilla agent in each container will register as a separate node, so such situation occurs. You need to add configuration in the dynamic environment as follows.
[JVM properties]
-Dappdynamics.agent.reuse.nodeName=true
-Dappdynamics.agent.reuse.nodeName.prefix=<YOUR PREFIX HERE>
-Dappdynamics.jvm.shutdown.mark.node.as.historical=true
You can also set the above parameter in your <agent-dir>/verx.x.xxx/conf/controller-info.xml or app-agent-config.xml.
Please refer the document below.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...
https://docs.appdynamics.com/display/PRO45/Instrument+JVMs+in+a+Dynamic+Environment#InstrumentJVMsin...
The last property is necessary for marking the node historical as soon as they are terminated.
Please refer the document below:
https://docs.appdynamics.com/display/PRO45/Instrument+JVMs+in+a+Dynamic+Environment#InstrumentJVMsin...
If you have already set the above properties and the problem still remains, please make sure whether your application environment abortively terminates JVMs rather than allowing them to shut down gracefully or not. Because in this case, the terminated node is not marked as historical. As a result, it sometimes happen that the node name is not reused.
Best regards,
Yusuke
User | Count |
---|---|
4 | |
3 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form