I have a customer using Web Deploy Tool http://www.iis.net/downloads/microsoft/web-deploy to move IIS configurations between servers. Now they are for example using it to move an application from physical machines to virtual ones. This application has .Net agents installed on some of the application pools.
Is there some way of moving the already installed .Net agent automatically together with the IIS configuration, perhaps using Web Deploy or some other solution?
Or is it better to reinstall Dynatrace for .Net on the new machine instead of trying to move it?
I'm not familiar with web deploy in detail as i use it out of visual studio. But within visual studio, if the agent is included within the project it is deployed as everything else.
The critical part is the configuration of the agent. I recommend to run a post deployment script that kicks of the agent configuration via the powershell scripts referred by andi.
Another alternative to automate deployments can be tools like chef, puppet or ansible. We already have blueprint scripts available for the various platforms: http://apmblog.dynatrace.com/2015/09/28/kick-start...
Our chef receipies are currently the only one also supporting to configure .net agents. These blueprint for .net just leverage the powershell scripts.