(Windows) Server Silent Installation: OptionsFile.txt Examples

This section contains examples of how to configure the install options in an optionsFile.txt file for a server silent install on Windows.

Derby Database optionsFile.txt example

AgreeToLicense=Yes
USE_EXISTING_SETTINGS=""
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.serena\ra
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DERBY_PORT=11377
DERBY_USER=serena_ra
DERBY_PASSWORD=serena_ra
IS_INSTALL_MODE=silent
SRA_ADMIN=admin1234
SRA_ADMIN_PWD=password123
TC_PORT=8088
Note: All defaults are used except for the TC_PORT, which is set to 8088.

"Use Existing Settings" optionsFile.txt example

AgreeToLicense=Yes
USE_EXISTING_SETTINGS=UseExisting
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.serena\ra
SRA_ADMIN=admin1234
SRA_ADMIN_PWD=password123
TC_PORT=8080
Note: A Deployment Automation server installation location already exists as specified by the SRA_USER_INSTALLDIR option. Using this optionsFile.txt file, the server will be installed and the existing settings will be used for the install.

Oracle Database optionsFile.txt example

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.serena\ra
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=oracle
ORA_DB_CONN=jdbc:oracle:thin:@//serverName:1521/serena_ra
ORA_DB_SCHEMA=serena_ra
ORA_PASSWORD=password123
IS_INSTALL_MODE=silent
SRA_ADMIN=admin1
SRA_ADMIN_PWD=1
TC_PORT=8081     

MS SQL Server Database optionsFile.txt example

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.serena\ra
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=serena_ra
SQLSVR_USER=serena_ra
SQLSVR_PASSWORD=mypassword
SRA_ADMIN=admin1
SRA_ADMIN_PWD=1
TC_PORT=8080

"Skip Database Creation" optionsFile.txt example

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.serena\ra
SKIP_DB=SkipDB
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=serena_ra
SQLSVR_USER=serena_ra
SQLSVR_PASSWORD=mypassword
IS_INSTALL_MODE=silent
TC_PORT=8080
Note: The SRA_USER_INSTALLDIR specified must not already exist. Using this optionsFile.txt file, because the SKIP_DB=skipDB option is specified, the DB_TYPE option cannot be set to derby, and the SRA_ADMIN and SRA_ADMIN_PWD options cannot be set during the server installation.