AppD Archive

How to setup AppDynamics on Cloudbees?

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We would like to test the appdynmaics on Cloudbees. Referring to 
http://info.appdynamics.com/rs/appdynamics/images/AD_LiteForCloudBees.pdf
We have added the full edition of AppDynamics(15-day trial), then enable appdynamics for a 
few cloudbees application. Anyway, I cannot receive the procedure email as 
step 3 mentioned. Also, there are no monitored applications when I goto the portal 
http://<account>-cloudbees.saas.appdynamics.com/controller/#

Thanks!

Patrick.

0 Karma

Arun_Dasetty
Super Champion

Hi Patrick,

Thanks for writing in to appsphere community forum, we apologize for the delay in response,

we understood you have filed ticket#12694 at help.appdynamics.co, and we have analysed logs and please find analysis of the agent logs below, please update the controller IP to 69.27.44.55 or use saas host instead for controller-host xml element Or -D jvm controller.hostName parameter and let us know how it goes, we have updated the same at ticket:


We see the following errors in agent logs:
===================================
[Thread-0] 05 Jul 2013 00:14:18,402 INFO XMLConfigManager - Default Controller Info Resolver using system property [appdynamics.controller.hostName] for controller host name [69.27.42.151]
[Thread-0] 05 Jul 2013 00:14:18,402 INFO XMLConfigManager - Default Controller Info Resolver using system property [appdynamics.controller.port] for controller port [80]
..
[AD Thread Pool-Global0] 05 Jul 2013 08:29:33,101 WARN ConfigurationChannel - Could not connect to the controller/invalid response from controller, cannot get initialization information, controller host [69.27.42.151], port[80], exception [Fatal transport error: The host did not accept the connection within timeout of 5000 ms]
===================================

We tried to check the ip resolving to saas host axahgm-cloudbees.saas.appdynamics.com and could see that host is resolved to ip "69.27.44.55" and controller is accessible at http://69.27.44.55:80/controller:

root@ip-10-137-20-182:~# ping axahgm-cloudbees.saas.appdynamics.com
PING paid36.saas.appdynamics.com (69.27.44.55) 56(84) bytes of data.

But we see that controller host ip provided in agent config is "69.27.42.151" and we can see that URL http://69.27.42.151:80/contoller is not accessible as well hence agent is not able to connect controller, can you please change the controller-host value to ip 69.27.44.55 for -D jvm property -Dappdynamics.controller.hostName=69.27.44.55 Or
-Dappdynamics.controller.hostName=axahgm-cloudbees.saas.appdynamics.com, in addition other jvm properties and restart jvm and check if the application is discovered under controller UI.

Please let us know if that helps, Do write back to us for further assistance

Thanks,
Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Akymar,

Thanks. Seems the problem got fixed alrdy. Anyway, may I know how to change the controller IP from the user side, via Cloudbees SDK, appdynamics portal or other means?

Thanks very much!

Patrick.

0 Karma

Arun_Dasetty
Super Champion

Hi Patrick,

Glad to hear that the problem got fixed. We see that the controller ip/host is usually mentioned in <agent_install_dir/conf/controller-info.xml under element <controller-host> or thru -D jvm property as we mentioned earlier, can you confirm whether you have option to provide agent config (controller-host, port) while installating cloudbees or integrating AD, we do not see an option to change the controller ip from AD portal

Please let us know if that answers your query, let us know if any disconnect

Thanks,

Arun

0 Karma
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...