# Deploying multiple One-agents on large environment

**URL:** <https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942>\
**Category:** Open Q&A\
**Tags:** installation, dynatrace-saas, oneagent\
**Created:** [March 11, 2019, 9:58am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942 "2019-03-11T09:58:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinivasarao\_as](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@srinivasarao\_as](https://community.dynatrace.com/u/srinivasarao_as)\
**Post date:** [March 11, 2019, 9:58am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/1 "2019-03-11T09:58:11Z")

</div>

Hi

Could you please help us with the following requirements? The requirement is for a large environment

We have to deploy **1200 one agents** (with different technologies like java, .net).

We need to complete this requirement in **2 months.**

Could you please suggest if we get any script from Dynatrace for the deployment of such a large number of oneagent?

Or

Is there anyway a script can be written so that the script can support all technologies i.e., we can use the same script for all the agents of different technologies?

Or

What is the best to implement the above requirement (if possible please provide the steps or any document)

Thanks in advance

Thanks&Regarding

Srinivas

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [March 11, 2019, 11:11am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/2 "2019-03-11T11:11:24Z")

</div>

For Dynatrace the applications technology stack does not matter for agent rollout, only the operating system of the host matters.

For linux the installation is done with a bash script, which can be automated with any tool, for windows you can automate it with the provided MSI package.

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [March 11, 2019, 4:01pm UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/3 "2019-03-11T16:01:01Z")

</div>

Adding a bit, check out [this page](https://www.dynatrace.com/support/help/setup-and-configuration/oneagent/) for how to deploy to various operating systems. In general the installation is _very_ simple especially if you’re using an OS like Linux where the install really only has 2 key steps (get the installer script and run it).

Further, with the OneAgent whatever method you establish will work for any and all of our supported technologies&nbsp; that you have. All you need to worry about is installing it on the host and it will be able to find and instrument any applications running supported technologies that are running on them. So there is really no need to consider each technology when deciding how to automate the installation.

James

---

<div class="post-metadata">

**Author:** ![srinivasarao\_as](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@srinivasarao\_as](https://community.dynatrace.com/u/srinivasarao_as)\
**Post date:** [March 12, 2019, 6:29am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/4 "2019-03-12T06:29:27Z")

</div>

Thank you so much Patrick.

---

<div class="post-metadata">

**Author:** ![srinivasarao\_as](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@srinivasarao\_as](https://community.dynatrace.com/u/srinivasarao_as)\
**Post date:** [March 12, 2019, 6:40am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/5 "2019-03-12T06:40:32Z")

</div>

Thank you James.

Please clarify one more doubt.

To install Oneagent, we go to the console,--\>Deploy Dynatrace--\>Start installation--\>Linux--\>select installation type (x86/64)--\>then need to run wget -o commands (on target host, verify signature, and run installer with root rights)--\> restart processes

Here, my question is, How to create script with above steps? could please provide the steps?

This is my first assignment on Oneagent installation. So a bit confusion.

Thanks in advance

Thanks&Regards

Srinivas

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [March 12, 2019, 12:13pm UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/6 "2019-03-12T12:13:49Z")

</div>

You might find some of this information useful:

**General Information About Automation of OneAgent Installs**  
[https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/207104/how-can-we-deploy-dynatrace-oneagent-in-some-large.htm](https://community.dynatrace.com/spaces/482/dynatrace-open-qa/questions/207104/how-can-we-deploy-dynatrace-oneagent-in-some-large.html)

**Ansible**

> **[GitHub - Dynatrace/Dynatrace-OneAgent-Ansible: This Ansible role installs Dynatrace OneAgent.](https://github.com/Dynatrace/Dynatrace-OneAgent-Ansible)**
>
> This Ansible role installs Dynatrace OneAgent.

> **[Red Hat Ansible monitoring & observability | Dynatrace Hub](https://www.dynatrace.com/hub/detail/red-hat-ansible-for-workflows-preview/)**
>
> Automate remediation using AI-powered insights with Red Hat Ansible. Start your free trial today!

> **[Automate the remediation of performance issues](https://catalog.redhat.com/en/solutions/detail/6a553343b05e5a61498ef439)**

**Chef**

> **[GitHub - Dynatrace/Dynatrace-OneAgent-Chef: This chef recipe downloads and installs the...](https://github.com/Dynatrace/Dynatrace-OneAgent-Chef)**
>
> This chef recipe downloads and installs the Dynatrace OneAgent on Linux or Windows systems.

**Puppet**

[https://forge.puppet.com/dynatrace/dynatraceoneagent](https://forge.puppet.com/dynatrace/dynatraceoneagent)

HTH,

dave

---

<div class="post-metadata">

**Author:** ![srinivasarao\_as](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@srinivasarao\_as](https://community.dynatrace.com/u/srinivasarao_as)\
**Post date:** [March 25, 2019, 8:14am UTC](https://community.dynatrace.com/t/deploying-multiple-one-agents-on-large-environment/19942/7 "2019-03-25T08:14:31Z")

</div>

Thank you so much Dave for providing the useful links
