Manage Configuration for .NET
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
Click Settings > Agent Management > Manage Agents > Config Management to manage all the .NET Agent configuration files for your machines.
Requirements
- Membership in a role with 'Administer user, groups, roles, authentication, and so on' account level permission.
 - A valid 
config.xmlconfiguration file. The Config Management tool does not validate theconfig.xmlfile. - .NET Agent >= 4.1 installed on machines where you plan to deploy configuration.
 
.NET Agents deployed on Azure Cloud Services using the Splunk AppDynamics 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, Cisco AppDynamicsrecommends 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.
- Use 
config.xmlfiles configured with the Cisco AppDynamics Agent Configuration Utility to help ensure the XML is valid. - Use the 
config.xmlfile from a previously configured machine as a template for similar machines that need the exact same configuration. 
Import Configuration
The Import Config dialog enables you to upload a config.xml
- Use a naming convention that helps you identify the type of machine for the configuration.
 - Consider using a date or version scheme for the configuration name.
 - Click a configuration, then click Edit Config to modify the configuration name.
 - Double-click a config to display the XML. You can copy the XML, but you cannot modify it.
 
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.
If a machine does not have a managed configuration, the Config Management tool displays it following Machine with no assigned templates
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 false config.xml .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:
- On the Config Management pane, drag the machine from its currently assigned configuration to Machine with no assigned templates.
 - On the machine itself, rename the existing configuration file, 
config.xml, to a name such asconfig.old.xml. - Copy the backup config file from the Backup subdirectory to the 
Configdirectory. Backup files are named using this format:config-<date>.xml. - Rename the backup config file to 
config.xml. - Optionally edit the 
config.xmlto opt out of Config Management. - Restart the Cisco AppDynamicsAgent Coordinator service.
 - Restart Windows services, instrumented Windows services, and instrumented standalone applications.