AppDynamics Application Intelligence Platform
3.9.x Documentation
This topic describes how to upgrade to the .NET Agent version 3.9. The instructions vary based upon your current version of the .NET Agent.
When upgrading from the .NET Agent version 3.8.2 or newer, you do not need to uninstall the old agent first.
net stopAppDynamics.Agent.Coordinator
net start AppDynamics.Agent.Coordinator
iisreset
from the command line.The MSI installer package for the new version of the .NET Agent (the agent) installs the updated agent files and maintains all legacy configurations. After you complete the installation, start the AppDynamics.Agent.Coordinator service and instrumented applications to finish the upgrade.
If you shut down IIS but continue to see active IIS Worker Processes, check the Application Pools pane in the IIS Manager and stop any started application pools.
Failing to stop instrumented applications before uninstalling the .NET Agent may require you to reboot the machine.
In some cases another process interferes with the .NET Agent uninstallation process by locking the profiler.dll. If uninstallation fails, use a utility such as Process Explorer to see if a process is using profiler.dll. If so, terminate the process. Otherwise try rebooting the machine. Then retry the uninstallation.
See To install the .NET Agent.
Don't launch AppDynamics Agent Configuration when the installer completes unless you want to make changes to the existing configuration. The installer maintains existing agent configurations.
net start AppDynamics.Agent.Coordinator
Identify the right upgrade path based upon the method of tier naming and assignment (manual or automatic) and the type of application you instrument:
The MSI installer package for the new version installs the updated agent files. After installing, you may need to run the configuration utility to update your configuration and optionally remove legacy configurations. Finally, restart the AppDynamics.Agent.Coordinator service and instrumented applications.
If you shut down IIS but continue to see active IIS Worker Processes, check the Application Pools pane in the IIS Manager and stop any started application pools.
Failing to stop instrumented applications before uninstalling the App Agent for .NET may require you to reboot the machine.
In some cases another process interferes with the .NET Agent uninstallation process by locking the profiler.dll. If uninstallation fails, use a utility such as Process Explorer to see if a process is using profiler.dll. If so, terminate the process. Otherwise try rebooting the machine. Then retry the uninstallation.
See To install the App Agent for .NET.
If you used the following environment variables with the earlier version, the MSI installer migrates the configurations to the new configuration file:
Configure the agent based on your method of tier generation and assignment: automatic or manual.
The .NET Agent configuration utility only supports configuration of one Controller per server. To configure multiple business applications, see Configure Multiple Business Application Support for .NET.
If you used automatic configuration with the earlier version of the .NET Agent, run the configuration utility to configure the agent:
For manual systems using manual tier generation and assignment, the installer package migrates the configurations for IIS applications and for Windows services to the config.xml. At this stage, the configuration for IIS applications and Windows services is complete.
If you choose not to launch the configuration utility and clean up legacy configurations, restart the AppDynamics.Agent.Coordinator service.
net stop AppDynamics.Agent.Coordinator
net start AppDynamics.Agent.Coordinator
You can clean up legacy configurations by launching the AppDynamics Agent Configuration utility. When the utility detects agent settings from a previous version, it offers you the option to clean up.
The clean up procedures modifies the web.config files causing an IIS restart.
The utility removes the following configurations:
Start IIS and instrumented Windows services.
To learn more about the updated App Agent for .NET Directory Structure, See .NET Agent Directory Structure.