# Same Linux ActiveGate installer for multiple environments

**URL:** <https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003>\
**Category:** Open Q&A\
**Tags:** activegate\
**Created:** [January 30, 2025, 12:53am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003 "2025-01-30T00:53:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyn98007](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dyn98007](https://community.dynatrace.com/u/dyn98007)\
**Post date:** [January 30, 2025, 12:53am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003/1 "2025-01-30T00:53:09Z")

</div>

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 -&nbsp;[authorization.properties](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/configuration/configure-an-environment-activegate-for-multi-environment-support)&nbsp;(/var/lib/dynatrace/gateway/config/_authorization.properties_) in the three Prod environments with the corresponding &nbsp;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.

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 30, 2025, 8:42am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003/2 "2025-01-30T08:42:54Z")

</div>

Hi&nbsp;[@dyn98007](https://community.dynatrace.com/user/79860)

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:

- [Install an Environment ActiveGate on Linux — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation/linux/linux-install-an-environment-activegate)
- [ActiveGate default installation settings for Linux — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation/linux/linux-default-settings)
- [Customize ActiveGate installation on Linux — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation/linux/linux-customize-installation-for-activegate)

Hoping it adds value.

BR,

Peter.

---

<div class="post-metadata">

**Author:** ![dyn98007](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dyn98007](https://community.dynatrace.com/u/dyn98007)\
**Post date:** [January 31, 2025, 3:05am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003/3 "2025-01-31T03:05:12Z")

</div>

Hi&nbsp;[@Peter\_Youssef](https://community.dynatrace.com/user/51369)&nbsp; - 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](https://my-server.com:9999/) --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-proxy=my-proxy.com --restart-service_

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [January 31, 2025, 5:42am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003/4 "2025-01-31T05:42:25Z")

</div>

Hi&nbsp;[@dyn98007](https://community.dynatrace.com/user/79860)

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

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [January 31, 2025, 8:21am UTC](https://community.dynatrace.com/t/same-linux-activegate-installer-for-multiple-environments/50003/5 "2025-01-31T08:21:36Z")

</div>

Product idea has been raised&nbsp;[https://community.dynatrace.com/t5/Product-ideas/Same-Linux-Environment-ActiveGate-installer-for-multiple-Tenants/idi-p/268903](https://community.dynatrace.com/post/268903)
