Install server in silent mode on UNIX/Linux
This topic provides instructions for installing Deployment Automation in silent mode on UNIX/Linux, and contains examples of configured options for different database types.
Install Deployment Automation in silent mode
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.
Note: Silent-mode installation is available for Linux and AIX systems. For other UNIX platforms, install the server manually. See Install server manually on UNIX.
To install a server in silent mode on UNIX/Linux:
-
Download the server installer for your platform from the Software Licensing and Downloads portal (requires login).
-
Create an optionsFile.txt and save it in the root directory. For details, see Server silent installation options.
-
As a user with root privileges, run this command:
MicroFocusDA-Server.bin -silent -options optionsFile.txt
where optionsFile.txt is the options file you created in step 2.
After you install your server, continue with the next steps in the Installation checklist.
Server silent installation options
The following table describes the server silent installation options in an optionsFile.txt file for UNIX/Linux.
Option | Default | Description |
---|---|---|
-V IS_SELECTED_INSTALLATION_TYPE |
typical | Must be set to typical. Do not enclose in quotation marks. |
-P installLocation |
Specify the target directory for installing the DA server. The –P property is used by the silent installation tool as the location to place files on disk. Use this path: /opt/MicroFocus/da |
|
-V ServerDetailsInstallLoc |
Specify the path
to the
Deployment Automation profile location. The value depends on the user specified in the
/opt/MicroFocus/da/<SctTomcatOwnerValue>/.microfocus/da |
|
-V ServerDetailsUseExisting |
false |
To skip the database installation and administration part of the installation, add this option and set it to true. Note: Use only if there are existing DA settings populated in the directory specified by the SRA_USER_INSTALLDIR option. |
-V ServerDetailsSkipDb |
false | To skip the database creation, include this and set it to true. |
-V ServerDetailsPort |
7918 | Server port. |
-V ServerDetailsMutualAuth |
false | To use agent mutual authentication, specify this and set it to true. For details, see Configure SSL mutual authentication. |
-V SctFoundLoc |
To reuse an existing installation of Common Tomcat, set this option to true. When this option is set to true, you must also include the SctInstallLoc option. |
|
-V SctInstallLoc |
If you specify the SctFoundLoc option to reuse an existing installation of Common Tomcat, use this option to specify the location of the existing Common Tomcat. | |
-V DbDetailsVendor |
derby | Use this option to specify a database vendor other than the default: oracle, sqlserver, or postgresql. |
-V DbDetailsUser |
da | Database user ID. |
-V DbDetailsPwd |
password | Password for database user ID. |
-V DbDetailsDatabaseName |
Database name (SQL Server only). | |
-V DbDetailsSchema |
(Required for Oracle) Database schema. | |
-V dbDetailsDriverFilename |
(Required for a database other than Derby) Specify a database driver file. Note: The first "d" must be lowercase in this parameter only. |
|
-V DbDetailsDerbyPort |
(Required for Derby) This option specifies the Derby port, 11377. | |
-V DbDetailsConnection |
Database connection. | |
-V IS_INSTALL_MODE |
(Required) Installation mode must be set to silent. | |
-V AdminDetailsName |
Required installation owner's administration username. Caution: After creating it, you cannot remove the built-in administrative user through the user interface. Therefore, we recommend using your organization's naming standards. |
|
-V AdminDetailsPwd |
Required user-defined password for the username set by the AdminDetailsName option. | |
-V SctTomcatOwner |
System user to own the Common Tomcat files, required only for new Common Tomcat installations. | |
-V SctTomcatPort |
8080 | Common Tomcat port, required only for new installations. See the SctFoundLoc option. |
Options file examples
Use the following examples of the optionsFile.txt settings for each database type on UNIX/Linux.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
-V IS_SELECTED_INSTALLATION_TYPE=typical
-P installLocation="<InstallationPath>"
-V ServerDetailsInstallLoc="<PathToDAprofile>"
-V DbDetailsVendor="oracle"
-V DbDetailsUser="User02"
-V DbDetailsPwd="MyPassword"
-V DbDetailsSchema="da"
-V DbDetailsConnection="jdbc\:oracle\:thin\:@//serverName\:1521/sraoracle"
-V ServerDetailsMutualAuth="false"
-V IS_INSTALL_MODE="silent"
-V AdminDetailsName="admin123"
-V AdminDetailsPwd="mypassword123"
-V SctTomcatOwner="dmsys"
-V SctTomcatPort="8080"
-V ServerDetailsSkipDb=false
-V ServerDetailsUseExisting=false
-V DbDetailsVendorDerby=false
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
-V IS_SELECTED_INSTALLATION_TYPE=typical
-P installLocation="<InstallationPath>"
-V ServerDetailsInstallLoc="<PathToDAprofile>"
-V DbDetailsVendor="sqlserver"
-V DbDetailsUser="User03"
-V DbDetailsPwd="MyPassword"
-V DbDetailsDatabaseName="da"
-V DbDetailsConnection="jdbc\:jtds\:sqlserver\://serverName\:1433/da"
-V ServerDetailsMutualAuth="false"
-V IS_INSTALL_MODE="silent"
-V AdminDetailsName="admin123"
-V AdminDetailsPwd="mypassword123"
-V SctTomcatOwner="dmsys"
-V SctTomcatPort="8080"
-V DbDetailsVendorDerby=false
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
-V IS_SELECTED_INSTALLATION_TYPE=typical
-P installLocation="<InstallationPath>"
-V IS_DESTINATION="<InstallationPath>"
-V ServerDetailsInstallLoc="<PathToDAprofile>"
-V DbDetailsPostgresDriver="org.postgresql.Driver"
-V DbDetailsUser="postgres"
-V DbDetailsPwd="password"
-V DbDetailsVendor="postgresql"
-V DbDetailsConnection="jdbc\:postgresql\://hostname\:5432/dbname"
-V ServerDetailsMutualAuth="false"
-V IS_INSTALL_MODE="silent"
-V AdminDetailsName="admin"
-V AdminDetailsPwd="password"
-V SctTomcatOwner="root"
-V SctTomcatPort="8081"
-V DbDetailsVendorDerby=false
See also: