# OneAgent with Multiple Environments

**URL:** <https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, oneagent\
**Created:** [August 24, 2020, 7:12am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112 "2020-08-24T07:12:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 24, 2020, 7:12am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112/1 "2020-08-24T07:12:49Z")

</div>

Dears,

Is it possible to have multiple environments for OneAgent?

The use case is that we have a plan to move monitored hosts from one Cluster to another Cluster, and the agent should connect to the available Cluster on that location.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 24, 2020, 9:22am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112/2 "2020-08-24T09:22:50Z")

</div>

No you cannot. But :

- you can dynamically switch OneAgent from one to the other environment using oneagentctl

- you can leverage remote environments to get data from one environment to the other

- you can use cross-environment transactions to navigate between environments when troubleshooting a problem spanning 2 or more environments

Hope this helps

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 24, 2020, 10:36am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112/3 "2020-08-24T10:36:19Z")

</div>

Hello [@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html)

Thank you for your comments.

How to cover the Solaris hosts with this utility (maximum hosts in our case)?

Can you share the documentation link related to the cross-environment transactions?

Is the point # 2 and point # 3 for the same (cross-environment transactions) in your comments?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [August 24, 2020, 10:42am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112/4 "2020-08-24T10:42:27Z")

</div>

Cross-environment tracing : [Dynatrace Blog | Dynatrace news](https://www.dynatrace.com/news/blog/dynatrace-w3c-trace-context-support-provides-more-interoperability-between-monitoring-environments/)

remote environments:

> **[Reporting at scale leveraging cross-environment dashboards (General...](https://www.dynatrace.com/news/blog/reporting-at-scale-leveraging-cross-environment-dashboards-general-availability/)**
>
> Dynatrace cross-environment dashboards are Generally Available and can combine monitoring artifacts from separate Dynatrace environments while supporting remote management zones.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 24, 2020, 10:51am UTC](https://community.dynatrace.com/t/oneagent-with-multiple-environments/20112/5 "2020-08-24T10:51:04Z")

</div>

Hello [@Radoslaw S.](https://answers.dynatrace.com/users/5499/view.html)

Thank you for providing the requested information.

Do we have a way to overcome on SUN Solaris limitations related to the oneagentctl?

Regards,

Babar
