Related pages:

Highly-scaled environments frequently contain multiple machines that run the same .NET applications and therefore use the same .NET Agent configuration. Manual configuration updates to several machines can be tedious and error-prone.

Use the Config Management tool in the Controller to upload and manage .NET Agent config.xml files. By default, the .NET Agent checks for configuration updates from the Controller every minute. Use the Config Management tool to assign configurations to machines where the .NET Agent is running.

Click Settings > Agent Management > Manage Agents > Config Management to manage all the .NET Agent configuration files for your machines.

Requirements

.NET Agents deployed on Azure Cloud Services using the  NuGet package do not register for Config Management because web role and worker role machine names are not always unique. Duplicate machine names may lead to unexpected consequences. 

Identify the Configuration File

To start managing your configurations in the Controller, identify a configuration file or set of configuration files to upload. If you are not familiar with .NET Agent configuration, recommends you use the Agent Configuration Utility on each machine to configure the agent. See Administer the .NET Agent and Configure the .NET Agent.

For a full list of configuration properties, see .NET Agent Configuration Properties.

Import Configuration

The Import Config dialog enables you to upload a config.xml file to the Controller and specify a unique name for the configuration.

Assign Configuration to Machines

The Config Management tool enables you to assign machines to a configuration, or change the configuration from one to another. After you assign the configuration in the Controller, the .NET Agent automatically downloads the configuration file.

Opt Out of Configuration Management

To configure an agent so that it does not receive configuration files from the Controller, set the enable_config_deployment Controller attribute to false in the config.xml file. See .NET Agent Configuration Properties.

For example:

<controller host="mycontroller.saas.appdynamics.com" port="443" ssl="true" enable_config_deployment="false"> 

Restore an Old Configuration

If you mistakenly assign a configuration, follow this procedure to restore a previous version of the config.xml:

  1. On the Config Management pane, drag the machine from its currently assigned configuration to Machine with no assigned templates.
  2. On the machine itself, rename the existing configuration file, config.xml, to a name such as config.old.xml.
  3. Copy the backup config file from the Backup subdirectory to the Config directory. Backup files are named using this format: config-<date>.xml
  4. Rename the backup config file to config.xml.
  5. Optionally edit the config.xml to opt out of Config Management.
  6. Restart the Agent Coordinator service.
  7. Restart Windows services, instrumented Windows services, and instrumented standalone applications.