# Can I run upgrade precondition tests manually to verify if upgrade can be started?

**URL:** <https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed\
**Created:** [November 21, 2019, 9:17am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598 "2019-11-21T09:17:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarjei\_utnes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei_utnes/32/26934_2.png) [@tarjei\_utnes](https://community.dynatrace.com/u/tarjei_utnes)\
**Post date:** [November 21, 2019, 9:17am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/1 "2019-11-21T09:17:14Z")

</div>

So sometimes the cluster upgrades fails, this can be fore many different reasons.

Sometimes you need a change window for these upgrades, and when the upgrade fails, there is the requirement to create a new change window maybe a week later.

Since there are precondition tests being executed before a cluster upgrade is started, it would be very nice if these preconditions could be executed manually.

I know on NAM there is such a feature on the Probes.

This precondition test, should be possible to execute either through command line script, or maybe even through REST API

---

<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:** [November 21, 2019, 9:51am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/2 "2019-11-21T09:51:10Z")

</div>

> **[Customize Managed Cluster installation](https://docs.dynatrace.com/managed/managed-cluster/installation/customize-managed-cluster-install)**
>
> Use command line parameters to customize or automate a Managed Cluster installation, with options for datastores, system users, and SSL certificates.

> `--system-check` — Use this parameter to check if the machine and operating system fulfills the requirements of the new version.

So run the installer with this parameter to achieve your use case. Is that what you are looking for?

---

<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:** [November 21, 2019, 9:53am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/3 "2019-11-21T09:53:29Z")

</div>

I’ve converted that idea into a question and moved to Open Q&A Forum.

---

<div class="post-metadata">

**Author:** ![tarjei\_utnes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei_utnes/32/26934_2.png) [@tarjei\_utnes](https://community.dynatrace.com/u/tarjei_utnes)\
**Post date:** [November 21, 2019, 9:56am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/4 "2019-11-21T09:56:11Z")

</div>

How will I go about doing this on the new version, ie: where is the installer placed?

---

<div class="post-metadata">

**Author:** ![tarjei\_utnes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei_utnes/32/26934_2.png) [@tarjei\_utnes](https://community.dynatrace.com/u/tarjei_utnes)\
**Post date:** [November 21, 2019, 9:58am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/5 "2019-11-21T09:58:55Z")

</div>

And it would also be nice if this was able to be performed through the REST API for automation purposes

---

<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:** [November 21, 2019, 10:01am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/6 "2019-11-21T10:01:26Z")

</div>

REST API is not available as that operation is also not available in UI. For automation you can easily do it via script/ssh.

---

<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:** [November 21, 2019, 10:05am UTC](https://community.dynatrace.com/t/can-i-run-upgrade-precondition-tests-manually-to-verify-if-upgrade-can-be-started/22598/7 "2019-11-21T10:05:54Z")

</div>

New installer is placed at: \<dynatrace-bin-dir\>/installer/upgrade
