Same Linux ActiveGate installer for multiple environments

This is related to Linux Environment ActiveGate Hosts to be used for the purpose of AWS Metrics and Extensions 2.0.

Scenario:

There are 4 DT clusters. One for Test and 3 Production (Prod) DT environments.
Those clusters will be collecting Metrics from 4 different AWS environments.

I would like to use the Linux ActiveGate installer downloaded from the Test DT environment and use the same installer to provision Environment ActiveGate hosts in the three Production environments.
My thought is to update the 2 files in each of the 3 Production Hosts

File#1 - authorization.properties (/var/lib/dynatrace/gateway/config/authorization.properties) in the three Prod environments with the corresponding  environment ID, tenant_token and individual ActiveGate token.
[<environment_ID>]
tenantToken = <tenant_token>
authToken = <individual_ActiveGate_token>

File#2 - custom.properties with the appropriate seedServerUrl of the DT environment in the [collector] section

Please let me know if this approach will create any issue.

Hi @dyn98007

Thanks for sharing the highlighted concern, and the workaround as well.

To proceed safely avoiding any monitoring issues:

  • It’s better to use dedicated AG for the required deployment purposes as the AG will be already authenticated as when you download the AG installer or script it’s dedicated to the monitoring tenant to which it will be connected constantly.

Dynatrace References:

Hoping it adds value.

BR,

Peter.

Hi @Peter_Youssef  - Can this be a feature request for Dynatrace Environment Active Gate installer?

For OneAgent, same binary can be used for multiple Tenants by using OneAgentCtl CLI.

./oneagentctl --set-server=https://my-server.com:9999 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com --restart-service

Hi @dyn98007

Regarding the reported monitoring signals to Dynatrace cluster via env AG it will be reported to a dedicated environment where we have downloaded the OA or AG installation.

I believe it’s better to isolate to avoid future monitoring disruptions.

BR,

Peter

Product idea has been raised https://community.dynatrace.com/t5/Product-ideas/Same-Linux-Environment-ActiveGate-installer-for-multiple-Tenants/idi-p/268903