(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.

MySQL 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=mysql
JDBC_DRIVER_SOURCE=c:\TestArea\libloc\mysql-connector-java-5.1.24-bin.jar
MYSQL_JDBC_DRIVER=com.mysql.jdbc.Driver
MYSQL_DB_CONN=jdbc:mysql://serverName:3306/serena_ra
MYSQL_USER=serena_ra
MYSQL_PASSWORD=passwordabc
IS_INSTALL_MODE=silent
SRA_ADMIN=admin1234
SRA_ADMIN_PWD=password123
TC_PORT=8080

Oracle Database optionsFile.txt example

...
...
DB_TYPE=oracle
JDBC_DRIVER_SOURCE=c:\TestArea\libloc\oracle-connector-ojdbc5.jar
ORA_JDBC_DRIVER=oracle.jdbc.driver.OracleDriver
ORA_DB_CONN=jdbc:oracle:thin:@//serverName:1521/serena_ra
ORA_DB_SCHEMA=serena_ra
ORA_PASSWORD=password123...      

MS SQL Server Database optionsFile.txt example

...
...
DB_TYPE=sqlserver
SQLSVR_JDBC_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=serena_ra
SQLSVR_USER=serena_ra
SQLSVR_PASSWORD=mypassword...

"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_JDBC_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
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.