Upgrade the .NET Agent from >= 3.9
Except for patches to the current version, you do not need to uninstall the old agent first when you upgrade from the .NET Agent >= 3.9.
- Stop
w3wp
processes for instrumented IIS applications. Stop instrumented Windows services or standalone applications. - Download the MSI installer package from Splunk AppDynamics Downloads.
- Launch an elevated command prompt with full administrator privileges. Logging on to Windows as a member of the Administrators group does not grant sufficient permissions to run the installer. See Start a Command Prompt as an Administrator.
- If you use a single-tenant Controller account, in the Controller click Settings > License > Account to view your access key.
- Run a command-line agent install. For single-tenant Controller accounts, specify your account access key using the
AD_CONTROLLER_ACCOUNT_ACCESS_KEY
parameter. For example:msiexec /i "%USERPROFILE%\Downloads\dotNetAgentSetup.msi" /l log.txt /q AD_CONTROLLER_ACCOUNT_ACCESS_KEY=changeme
The installation runs silently in the background.
Note: If you forget to add the account access key for a single-tenant Controller account, you can run the Agent Configuration Utility or manually add it to the config.xml later. See . - (Optional) Add the parameter
INSTALLDIR=<path to installation directory>
if you have changed the installation directory. For example:msiexec /i "%USERPROFILE%\Downloads\dotNetAgentSetup.msi" /l log.txt /q AD_CONTROLLER_ACCOUNT_ACCESS_KEY=changeme INSTALLDIR=<path to installation directory>
- Restart IIS:
- Launch the Splunk AppDynamics Agent Configuration utility and click Restart IIS on the Configuration Summary window.or
- Execute
iisreset
from the command line.