06 Sep 2020 11:04 AM - last edited on 13 Apr 2021 01:52 PM by MaciejNeumann
We want to automate deployment of multiple Cluster Activegates at different locations which then are used for Synthetic testing.
Downloading Cluster AG via GUI is a clear procedure. Now, how can we automate such downloading and further deployment via an API call?
If generating the download URL via API is not possible/supported, can we manually download the file once, put it somewhere and then call its installation via a script?
Thanks
Solved! Go to Solution.
08 Sep 2020 01:40 PM
This can be done via the API. You will need an API token for authorization. that can be created from Settings>Integration>Dynatrace API. Once you have a Token set up, Navigate to Environment API V1:
You can see under deployment there are many options surrounding the Oneagent and Activegates. The bottom 3 are for activegates. This is where you can use the API to pull the latest version of your Oneagent and/or activegate.
If we click into one of these GET, we can see the response header along with the Curl Command and the Request URL. This is the data you will need for your automation.
08 Sep 2020 08:36 PM
Chad, thanks for your reply.
Let me try this tomorrow, but wanted to confirm that the procedure and the URL will download the cluster, not environment ActiveGate.
Thanks