(Windows) Configure server silent installation in an options file

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

Oracle example

In the following example, all defaults are used except for the TC_PORT, which is set to 8081.

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

Back to top

MS SQL Server example

In the following example, all defaults are used except for the TC_PORT, which is set to 8088.

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=da
SRA_ADMIN=admin1
SRA_ADMIN_PWD=1
SQLSVR_USER=da
SQLSVR_PASSWORD=mypassword
IS_INSTALL_MODE=silent
TC_PORT=8088

Back to top

MS SQL "Skip Database Creation" example

In the following example, 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.

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SKIP_DB=SkipDB
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=da
SQLSVR_USER=da
SQLSVR_PASSWORD=mypassword
IS_INSTALL_MODE=silent
TC_PORT=8080

Back to top

MS SQL "Use Existing Settings" example

This is an example of a new installation of the server that points to an existing profile. The Deployment Automation profile 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 installation.

AgreeToLicense=Yes
USE_EXISTING_SETTINGS=UseExisting
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SRA_ADMIN=admin1234
SRA_ADMIN_PWD=password123
TC_PORT=8080

Back to top

PostgreSQL example

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=InstallationPath
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=postgresql
PSQL_DB_CONN=jdbc:postgresql://hostname:5432/dbname
PSQL_JDBC_DRIVER=org.postgresql.Driver
PSQL_USER=dbuser
PSQL_PASSWORD=password
IS_INSTALL_MODE=silent 
SRA_ADMIN=admin
SRA_ADMIN_PWD=password
TC_PORT=8080

Back to top