# OneAgent automated update deployments

**URL:** <https://community.dynatrace.com/t/oneagent-automated-update-deployments/45287>\
**Category:** Open Q&A\
**Tags:** installation, dynatrace-saas, oneagent\
**Created:** [April 24, 2024, 5:39pm UTC](https://community.dynatrace.com/t/oneagent-automated-update-deployments/45287 "2024-04-24T17:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmevanson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mmevanson/32/22764_2.png) [@mmevanson](https://community.dynatrace.com/u/mmevanson)\
**Post date:** [April 24, 2024, 5:39pm UTC](https://community.dynatrace.com/t/oneagent-automated-update-deployments/45287/1 "2024-04-24T17:39:01Z")

</div>

Greetings - does anyone know where I can find details on how the OneAgent scheduled update process works?&nbsp; &nbsp;I know how to set it up, I just don’t know what is happening in the background.&nbsp; &nbsp;Are the agents pushed out in parallel to those host groups that are scheduled for maintenance and Agent Updates?&nbsp; &nbsp;Or is it a serial process?&nbsp; &nbsp;  
We show failures in our System Notifications but they don’t even show up until well after the maintenance windows.&nbsp; Sometimes the next day!&nbsp; So I am unsure if the install even finishes during the maintenance window.

If anyone has internal doc or an understanding of the underlying upgrade process, please let me know.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Al3x](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_al3x/32/36257_2.png) [@Romanenkov\_Al3x](https://community.dynatrace.com/u/Romanenkov_Al3x)\
**Post date:** [May 25, 2024, 9:02am UTC](https://community.dynatrace.com/t/oneagent-automated-update-deployments/45287/2 "2024-05-25T09:02:51Z")

</div>

Hello.

It happens quite simply. An agent with a specific time (which you can accurately define when toggling the automatic update checkbox) connects to the cluster and queries, “Are there any configuration updates for me / are there any updates for me?” It is the agent that initiates the connection. In case of a positive answer - “updates are available,” if other conditions are met - the agent host update is launched. After restarting the application servers, the code-module-agent will be updated in the applications.

I don’t think anyone can share the exact time, but like any other application/process, if we’re talking about Linux, it’s easy to check what’s happening using “/proc”&nbsp;:smiling\_face\_with\_sunglasses:

I would solve your issue by switching to the test (similar hosts) with tracking using **tail -f …logs/installer/\*** logs written by the agent. Also, all update-related problems are logged in **logs/installer**.

From experience - if there are no issues with disk space, changing permissions on directories and files (passes healthcheck), the update occurs quickly (5~20min) and smoothly in the maintenance windows.

Regards,

Alex&nbsp; Romanenkov
