Migrate from Standalone to Extension
This page covers the steps to stop an existing standalone agent and switch to the Dynatrace Extension.
Step 1 — Stop the standalone agent
Section titled “Step 1 — Stop the standalone agent”sudo systemctl stop pheniAgent_Teamssudo systemctl disable pheniAgent_Teams# Confirm the service is stoppedsudo systemctl status pheniAgent_TeamsIf the agent runs via cron instead of systemd:
crontab -e# Remove the line that invokes pheniScript_Teams or the agent binaryschtasks /End /TN "PheniAgent_Teams"schtasks /Delete /TN "PheniAgent_Teams" /FOr open Task Scheduler (taskschd.msc), locate the task, and delete it.
Step 2 — Install and configure the extension
Section titled “Step 2 — Install and configure the extension”Follow the Extension Installation guide.
Step 3 — Post-migration cleanup
Section titled “Step 3 — Post-migration cleanup”Once the extension is confirmed working:
- Remove the standalone agent binary and configuration files from the host.
- Remove the license file from disk (credentials are now managed by Dynatrace).
- Remove any cron jobs or scripts that launched the standalone agent.