How to uninstall Dynatrace?

Subscribers:
2,890
Published on ● Video Link: https://www.youtube.com/watch?v=2lTEloK5Euo



Category:
Guide
Duration: 1:18
9 views
0


Here's how to uninstall Dynatrace.
i. How to completely uninstall Dynatrace Appmon on Mac?
here are the steps on how to completely uninstall Dynatrace AppMon on Mac:

Quit Dynatrace AppMon.
Open Finder and navigate to the following location:
/Applications/Dynatrace AppMon.app
Drag the Dynatrace AppMon app to the Trash.
Empty the Trash.
Remove any remaining Dynatrace files from your computer. To do this, open a Finder window and navigate to the following locations:

~/Library/Application Support/Dynatrace
~/Documents/My Dynatrace Repository
/Library/Application Support/Dynatrace

Delete all of the files in these locations.
If you are having trouble uninstalling Dynatrace, you can use a third-party uninstaller. There are many different uninstallers available, such as Revo Uninstaller and IObit Uninstaller. These uninstallers can scan your computer for all of Dynatrace's files and registry entries, and then uninstall them completely.

ii. To uninstall the Dynatrace Operator, you can follow these steps:

Log in to the Kubernetes cluster as a user with cluster-admin privileges.

Delete the Dynatrace Operator Deployment.
kubectl delete deployment dynatrace-operator
Remove the Dynatrace Operator configuration files.
kubectl delete cm dynatrace-operator

Remove the Dynatrace Operator RBAC Roles and RoleBindings.
kubectl delete rolebinding dynatrace-operator
kubectl delete role dynatrace-operator

Once you have completed these steps, the Dynatrace Operator will be completely uninstalled from your Kubernetes cluster.
Note: If you are using the Dynatrace OneAgent Operator for Kubernetes, you will need to uninstall the Operator before uninstalling Dynatrace OneAgent. To uninstall the Operator, you can follow these steps:

Delete the Dynatrace OneAgent Operator Deployment.
kubectl delete deployment dynatrace-oneagent-operator

Remove the Dynatrace OneAgent Operator configuration files.
kubectl delete cm dynatrace-oneagent-operator

Remove the Dynatrace OneAgent Operator RBAC Roles and RoleBindings.
kubectl delete rolebinding dynatrace-oneagent-operator
kubectl delete role dynatrace-oneagent-operator

Once you have completed these steps, the Dynatrace OneAgent Operator will be completely uninstalled from your Kubernetes cluster.

iii. Here are the steps on how to uninstall Dynatrace ActiveGate:

Log in to the server as root or an administrator user.
Stop the ActiveGate service.
Remove the ActiveGate installation directory.
Remove the ActiveGate configuration files.
Remove the ActiveGate log files.
Restart the server.

Here are the steps in more detail:

Stop the ActiveGate service.
# service dynatrace-activegate stop

Remove the ActiveGate installation directory.
# rm -rf /opt/dynatrace/activegate

Remove the ActiveGate configuration files.
# rm -rf /etc/dynatrace/activegate

Remove the ActiveGate log files.
# rm -rf /var/log/dynatrace/activegate

Restart the server.
# reboot

Once you have completed these steps, Dynatrace ActiveGate will be completely uninstalled from your server.
Note: If you are using a custom plugin with ActiveGate, you will need to uninstall the plugin before uninstalling ActiveGate. To uninstall the plugin, you can follow these steps:

Go to the following location:
/opt/dynatrace/activegate/plugins/angled-bracket-hereplugin-nameangled-bracket-here

Delete the plugin directory.
rm -rf angled-bracket-hereplugin-nameangled-bracket-here

Once you have completed these steps, the custom plugin will be completely uninstalled from your server.