04 Jan 2023 03:46 PM - last edited on 05 Jan 2023 08:31 AM by MaciejNeumann
I've been tasked with coming up with an automation that would roll-back the current version of OneAgent (on RHEL) to a previous version. Is a rollback mostly a matter of running the /opt/dynatrace/oneagent/agent/uninstall.sh and then performing an installation of previous version? I understand that the new versions of configuration files might not be compatible with an older version of software, but I don't really see any good way around that.
Solved! Go to Solution.
05 Jan 2023 10:33 AM
Hi @crewsr,
Your assumption is right. In the really rare case that a rollback is needed, the way to go is first Uninstall (with the uninstall.sh) and then install the previous version.
05 Jan 2023 12:26 PM
What about process/container restarts in between? If you just uninstall + reinstall, wouldn't you still have the new code modules injected into the application processes?
05 Jan 2023 11:35 PM
Hi @kalle_lahtinen,
You are right, you would need the process/container restart as it's a new version of the OneAgent code module which is injected into the application processes. So using the Dynatrace UI to validate which all processes would need the restart will help the respective team to know the specific entities to restart and not the entire application.
01 Nov 2023 07:16 AM
There is an Product Idea that asks if it is possible to downgreade over the Plattform insted of upgrade: https://community.dynatrace.com/t5/Product-ideas/OneAgent-Downgrade-instead-of-Update/idi-p/190094 If you think this would be helpful, please vote 🙂