cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uninstall oneagent after managed server is shutdown for good

antonio_villarr
Advisor

Hi,

We recently finished a POC for dynatrace (managed mode and server was on AWS). The managed server has been shutdown and deleted from AWS, but we were not able to disable the monitored hosts in the dynatrace interface before shutdown. So, what is the proper way to uninstall oneagent from the production linux servers?

Should the application services (like apache, tomcat, etc) be shutdown first, and then run the unsinstall script?

Or running the uninstall script will be enough, and the end user application won't be affected?

Thanks in advance!

Antonio V.

3 REPLIES 3

Jordan_Cogan
Helper

Hi Antonio,

To fully uninstall, you simply need to run the uninstall.sh script, and then restart any instrumented processes to remove any remnants of injected code. It shouldn't be necessary to shut down the application services before uninstalling, as any injected Dynatrace code will simply become dormant until it's removed on the next restart. You can find the full uninstallation instructions here.

hayden_miedema
Inactive

Hi Antonio,
As Jordan mentioned, you don't need to shut down any services first, simply running the uninstall.sh script is fine. This will actually stop those services as part of the uninstall anyway.

Regards,

Hayden

antonio_villarr
Advisor

Hi,

Thank you very much.

Antonio V.

Featured Posts