# Choose of OneAgent Version on a Maintenance Windows

**URL:** <https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048>\
**Category:** Open Q&A\
**Tags:** installation, updates, oneagent\
**Created:** [October 20, 2021, 2:30pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048 "2021-10-20T14:30:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![opera\_admin](https://avatars.discourse-cdn.com/v4/letter/o/8797f3/32.png) [@opera\_admin](https://community.dynatrace.com/u/opera_admin)\
**Post date:** [October 20, 2021, 2:30pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/1 "2021-10-20T14:30:37Z")

</div>

Hello Community

It would be great to choose the OneAgent version when creating an Update Maintenance Window, instead of the last version is forced.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [October 20, 2021, 2:51pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/2 "2021-10-20T14:51:22Z")

</div>

You should be able to set that via the maintenance window scheduler and the OneAgent upgrade by selecting the standard version:

 ![ChadTurner_0-1634741470080.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/1/819b5d73b042a5132086e244e5ba47313b7ec424.png)

---

<div class="post-metadata">

**Author:** ![Harvey\_Zhang](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Harvey\_Zhang](https://community.dynatrace.com/u/Harvey_Zhang)\
**Post date:** [March 1, 2022, 11:27pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/3 "2022-03-01T23:27:49Z")

</div>

not true

version can be selected, but minor is not

we need control both version and minor

you should have function&nbsp; Automatic Update at GIVEN VERSION MINOR, not earlist, because PROD and LOWER env has timing gap, earlist version setting will push earlist version without tested into PROD. i believe you overlooked the issue in whole design and test. it causes issue

 ![dyna-oneagent-update-version.PNG](https://global.discourse-cdn.com/dynatrace/original/3X/8/9/89c56af68e47f5f5ac884abc387a595b9702f489.png)

---

<div class="post-metadata">

**Author:** ![Harvey\_Zhang](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Harvey\_Zhang](https://community.dynatrace.com/u/Harvey_Zhang)\
**Post date:** [March 1, 2022, 11:30pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/4 "2022-03-01T23:30:51Z")

</div>

I raised the issue as well as below

[Dynatrace Should not push latest minor release mandatorily - Dynatrace Community](https://community.dynatrace.com/post/175162)

---

<div class="post-metadata">

**Author:** ![gilles\_tabary](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Post date:** [August 17, 2022, 9:25am UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/5 "2022-08-17T09:25:42Z")

</div>

Hello.

To my understanding this is not a solution to the issue raised.

---

<div class="post-metadata">

**Author:** ![gilles\_tabary](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Post date:** [August 17, 2022, 9:27am UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/6 "2022-08-17T09:27:37Z")

</div>

The requirement as I understand it (at least my requirement) is : at that time, update OneAgent to that version. So I use OneAgent Update Maintenance Windows for the “that time”. Fine. But it offers me no solution as to the “that version” : actually whatever latest OneAgent installer version is available (dynamically disctirbuted by Mission Control into my cluster) get’s installed.

It would be usefull to be able to specify target wanted version.

Regards.

---

<div class="post-metadata">

**Author:** ![gilles\_tabary](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Post date:** [May 31, 2023, 11:31am UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/7 "2023-05-31T11:31:53Z")

</div>

Hello.

AFAIU this should be un-tagged as a solution. This is \*not\* the neither a solution.

Regards.

---

<div class="post-metadata">

**Author:** ![gilles\_tabary](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Post date:** [May 31, 2023, 11:36am UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/8 "2023-05-31T11:36:51Z")

</div>

There is an RFE: OneAgent Update Maintenance Windows should allow me to specify a target version  
[https://community.dynatrace.com/t5/Product-ideas/RFE-OneAgent-Update-Maintenance-Windows-should-allow-me-to/idi-p/193193](https://community.dynatrace.com/post/193193)

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [August 8, 2024, 6:00am UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/9 "2024-08-08T06:00:37Z")

</div>

[@gilles\_tabary](https://community.dynatrace.com/user/27360)&nbsp;Any update on this as still I am seeing no option to choose OneAgent version in Maintenance Window?

---

<div class="post-metadata">

**Author:** ![Harvey\_Zhang](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Harvey\_Zhang](https://community.dynatrace.com/u/Harvey_Zhang)\
**Post date:** [August 8, 2024, 2:19pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/10 "2024-08-08T14:19:33Z")

</div>

my doing is to lock version at first in “OneAgent Default version”, and create schedule without OA version specified. this meet all my need.

if allow schedule to pick version as well, we shall lose central management of OA version and create new issue.

so Lock version and Scheduling make up the OA version control, if you truely need such schedule.

if update OA along with Unix Patching, it need only Version lock and updating happen accordingly/automatically.

I choose to Lock and Manual Update, the third way, this make me less risk in case OA jar failed in transmission to target hosts and I capture in time in system notification.

Hope this help you some.

---

<div class="post-metadata">

**Author:** ![gilles\_tabary](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@gilles\_tabary](https://community.dynatrace.com/u/gilles_tabary)\
**Post date:** [August 8, 2024, 2:51pm UTC](https://community.dynatrace.com/t/choose-of-oneagent-version-on-a-maintenance-windows/33048/11 "2024-08-08T14:51:54Z")

</div>

Forgot to say : it works for a while now :

1. define a OneAgent Update Windows
2. on a given host == OneAgent settings
  1. select “Automatic updates during maintenance windows”
  2. then one can set&nbsp;Target version&nbsp;and&nbsp;Revision

3. Fine !

Thanks.
