AppDynamics Application Intelligence Platform

3.8.x Documentation

PDFs

Videos

Release Notes

Skip to end of metadata
Go to start of metadata

This topic describes how to perform a silent installation of the Controller using a response file. A response file installation does not require user interaction.

Before Starting

Before performing a silent install of the Controller, read the system requirements and prerequisites:

Running the Installer in Silent Mode

After ensuring that your system meets the requirements, you can perform the installation. 

To install a Controller silently

  1. Create the response.varfile file that contains the installation settings to use.
    The file is not included with the installer, so you'll need to create the file yourself.
  2. Run the Controller installation command passing the response.varfile as an argument. For example:
    • On Linux: 

      ./controller_64bit_linux.sh -q -varfile /home/user/response.varfile
    • On Windows:

      controller_64bit_windows.exe -q -varfile C:\temp\response.varfile

In the sample commands, the -q switch directs the installer to run in unattended mode, while -varfile points to the response file to use. 

To view other options for unattended installation, pass only the -h switch to the installer.

Installation Settings in response.varfile

You can configure your installation using the response.varfile variables listed below:

SettingDescription

serverHostName

Server host name or IP address that AppDynamics agents and the AppDynamics UI use to connect to the Controller. Note that "localhost" and "127.0.0.1" are not valid settings.

serverPort

The primary HTTP port for the application server. If not specified, the installer uses the default, 8090.

databasePort

The database port. If not specified, the installer uses the default, 3388.

adminPort

The application server's administration port. If not specified, the installer uses the default, 4848.

jmsPort

The application server's JMS port. If not specified, the installer uses the default, 7676.

iiopPort

The application server's IIOP port. If not specified, the installer uses the default, 3700.

sslPort

The secure HTTP port for the application server. If not specified, the installer uses the default, 8181.

controllerConfig

The performance profile type for the instance: demo, small, medium, large, or huge. See Controller Hardware Requirements for information about how the types correspond to sizes.

controllerTenancyMode

The tenancy mode: single or multi. Single tenancy is recommended for most installations. See Controller Tenant Mode for more information.

haControllerType

The high availability mode for this instance: primary, secondary, or notapplicable. If not specified, defaults to notapplicable, which means that HA is not enabled.

accountName

Your AppDynamics account name. Ignored if controllerTenancyMode=single.

accountAccessKey

Your AppDynamics account access key. Ignored if controllerTenancyMode=single.

rootUserPassword

The password for the Controller root user. The root user is a Controller user account with privileges for accessing the system Administration Console. New in 3.8.4 This password is used for the admin user of the built-in Glassfish application server as well. The Glassfish admin user lets you access the Glassfish console and the asadmin utility.

rootUserRePassword

The root user password repeated for validation purposes.

userName

The username of the initial administrator account in the Controller UI. Ignored if controllerTenancyMode=multi. See AppDynamics Administrator.

Usernames and password cannot include the @ character. Also, if this account will be used to access the REST API, additional limitations on the use of special characters in usernames apply. See Configure Users for more information.

password

The password for the admin user. You will need this to log into the AppDynamics web UI, where you can create other administrative users and change the password. Ignored if controllerTenancyMode=multi.

rePassword

The admin user password repeated. Ignored if controllerTenancyMode=multi.

sys.installationDir

Directory in which to install the Controller. If not specified, it is installed into the default directory of the target environment, such as AppDynamics/Controller under the user's home on Linux systems.

sys.languageId

en

disableEULA

true

enableUDC

Set to true or false to specify whether to permit data statistics collection from your controller.

mysqlRootUserPassword

The password of the user account that the Controller uses to access its MySQL database.

realDataDir

The path to the Controller's data directory.

Sample Response File

The following listings show sample response files for Linux and Windows systems.

Linux

The following sample shows a response.varfile for Linux systems:

#sampleresponse file for AppDynamics Controller 3.8
controllerConfig=demo
iiopPort=3700
serverPort=8090
serverHostName=demoserver
haControllerType=notapplicable
controllerTenancyMode=single
adminPort=4848
sys.languageId=en
jmsPort=7676
sys.installationDir=/home/appduser/AppDynamics/Controller
mysqlRootUserPassword=DRvYYv9eq6
databasePort=3388
userName=admin
password=pa55word
rePassword=pa55word
sslPort=8181
realDataDir=/home/appduser/AppDynamics/Controller/db/data
disableEULA=true
rootUserPassword=pa55word2
rootUserRePassword=pa55word2

Windows

On Windows, you need to escape the colon and backslashes in the directory paths in the response file.

The following sample shows a response.varfile for Windows systems:

#sampleresponse file for AppDynamics Controller 3.8
controllerConfig=demo
iiopPort=3700
serverPort=8090
serverHostName=demoserver
haControllerType=notapplicable
controllerTenancyMode=single
adminPort=4848
sys.languageId=en
jmsPort=7676
sys.installationDir=C\:\\AppDynamics\\Controller
mysqlRootUserPassword=DRvYYv9eq6
databasePort=3388
userName=admin
password=pa55word
rePassword=pa55word
sslPort=8181
realDataDir=C\:\\AppDynamics\\Controller\\db\\data
disableEULA=true
rootUserPassword=pa55word2
rootUserRePassword=pa55word2

Learn More