Install server in silent mode on Windows

This topic provides instructions for installing Deployment Automation in silent mode on Windows, and contains examples of configured options for different database types.

Silent mode enables you to automate the installation. You can also install a Deployment Automation server using the interactive installer. For details, see Run the interactive server installer.

Install Deployment Automation in silent mode

Follow these steps for a silent mode installation on Windows.

To install a server in silent mode on Windows:

  1. Download the installation files.

  2. Create an options file and save it as C:/optionsFile.txt. For details, see Server silent installation options.

  3. As a local system user, issue this command:

    cmd /c MicroFocusDA-Server.exe /s /V"/qn /L*vx "%TEMP%\silent-install.log" PROPFILE=\"c:\optionsFile.txt\" "

    Where:

    • "%TEMP%\silent-install.log" is an absolute path to a log file.

    • PROPFILE=\"c:\optionsFile.txt\" is an absolute path to the options file you created in step 2.

    • The space between the final two quotes is required.

After you install your server, continue with the next steps in the Installation checklist.

Back to top

Server silent installation options

The following table describes the server silent installation options in an optionsFile.txt file for Windows.

Option Default / if not specified Description
AgreeToLicense No Must be set to Yes.
USE_EXISTING_SETTINGS  

Set to UseExisting if you want to skip the database installation and administration part of the installation.

Note: Use only if there are existing DA settings populated in the directory specified by the SRA_USER_INSTALLDIR option.

SRA_USER_INSTALLDIR c:\Documents and Settings\ Administrator\ .microfocus\da Directory in which to install the server, or, if using the USE_EXISTING_SETTINGS= UseExisting option, the directory where your DA settings already exist.
SKIP_DB  

To skip the database creation, include and set this option: SKIP_DB=SkipDB

Note: To use this option, make sure that the SRA_USER_INSTALLDIR option does not exist.

AGENT_MUTUAL_AUTH N For agent mutual authentication, set this option to Y. For details, see Configure SSL mutual authentication.
JMS_PORT 7918 Server port.
DB_TYPE derby Use this to specify a database vendor other than the default: oracle, sqlserver, or postgresql.
<DB>_USER da Database user ID, where <DB> is DERBY, ORA, SQLSVR, or PSQL.
<DB>_PASSWORD password Password for the database user ID, where <DB> is DERBY, ORA, SQLSVR, or PSQL.
ORA_DB_SCHEMA   (Required for Oracle) The database schema.
DERBY_PORT   (Required for Derby) This option specifies the Derby port, 11377.
<DB>_DB_CONN   (Required for databases other than Derby) The database connection, where <DB> is ORA, SQLSVR, or PSQL.
IS_INSTALL_MODE   (Required) Installation mode must be set to silent.
SRA_ADMIN  

Required installation owner's administrator username.

Caution: Once created, you cannot remove the built-in administrative user through the user interface. Therefore, we recommend using your organization's naming standards.

SRA_ADMIN_PWD   Required user-defined password for the username set by the SRA_ADMIN option.
TC_PORT 8080 Common Tomcat port, required only for new installations.

Back to top

Examples of silent installation settings in an options file

Use the following examples of the optionsFile.txt settings for each database type on Windows.

See also: