For full instructions on installing the AppDynamics Controller on Linux, see the official documentation. However, when you get to the step for installing in silent mode, it can be confusing because although it shows you how to specify the path to a response file and the keys available, it does not give you a sample file.
./controller_64bit_linux.sh -q -c -varfile /home/user/response.varfile
One way to generate a sample file that matches the responses you want in production is to manually install the controller in a development environment first. If you run the installer:
It will create a partial response file at ‘/opt/AppDynamics/Controller/.install4j/response.varfile’ that you can use as a template for your other environments.
Note that this file is missing the password values as well as a couple of other keys that you may want to set (full key list here).
# mute EULA disableEULA=true # whether to send stats back to AppDynamics enableUDC=false # mysql mysqlRootUserPassword=mysqlP4ss123 # root rootUserPassword=myrootP4ss123 rootUserRePassword=myrootP4ss123 # admin user userName password=adminP4ss123 rePassword=adminP4ss123
If you append the keys above to the response.varfile generated by a manual installation, you can then install the Controller silently in your production environment.
Deploying License file
For on-premise deployments you will need to drop your ‘license.lic’ file into the ‘/opt/AppDynamics/Controller’ directory.
The documentation is not clear on this point, and you cannot administer the Controller using the GUI until this condition is met.