Unattended installation

This topic explains how to run the API Gateway installer in unattended mode on UNIX/Linux and Windows. It also describes each of the available command options.

Run the installer in unattended mode

You can run the API Gateway installer in unattended mode on the command line. Perform the following steps:

  1. Change to the directory where the setup file is located.
  2. Run the setup file with the --mode unattended option.

Standard setup without API Manager

The following example shows how to install all API Gateway components (excluding API Manager) in unattended mode:

UNIX/Linux

./APIGateway_7.5.3_Install_linux-x86-32_BN<n>.run --mode unattended 
--setup_type standard 
--licenseFilePath mylicense.lic
--analyticsLicenseFilePath myanalyticslicense.lic
--prefix /opt/Axway-7.5.3
--cassandraInstalldir opt/db/cassandra
--cassandraJDK opt/jre
--startCassandra 1

Windows

APIGateway_7.5.3_Install_win-x86-32_BN<n>.exe --mode unattended 
--setup_type standard 
--licenseFilePath mylicense.lic
--analyticsLicenseFilePath myanalyticslicense.lic
--prefix C:\Axway-7.5.3
--cassandraInstalldir c:\cassandra
--cassandraJDK c:\jre
--startCassandra 1

Complete setup with API Manager

The following example shows how to install all API Gateway components, including API Manager, in unattended mode:

UNIX/Linux

./APIGateway_7.5.3_Install_linux-x86-32_BN<n>.run --mode unattended 
--setup_type complete 
--licenseFilePath mylicense.lic
--analyticsLicenseFilePath myanalyticslicense.lic
--apimgmtLicenseFilePath mymgmtlicense.lic
--prefix /opt/Axway-7.5.3
--cassandraInstalldir /opt/db/cassandra
--cassandraJDK /opt/jre
--startCassandra 1

Windows

APIGateway_7.5.3_Install_win-x86-32_BN<n>.exe --mode unattended 
--setup_type complete 
--licenseFilePath mylicense.lic
--analyticsLicenseFilePath myanalyticslicense.lic
--apimgmtLicenseFilePath mymgmtlicense.lic
--prefix C:\Axway-7.5.3
--cassandraInstalldir c:\cassandra
--cassandraJDK c:\jre
--startCassandra 1

The components are installed in the background, in the directory specified by the --prefix option.

Custom setup

The topics on installing each API Gateway component show how to use the --setup_type advanced option to install a custom setup in unattended mode. For example, see Install the API Gateway server.

Unattended mode options

For a description of all the available command-line options and their default settings, run the setup file with the --help option. This outputs the help text in a separate console. For example:

UNIX/Linux

./APIGateway_7.5.3_Install_linux-x86-32_BN<n>.run --help

Windows

APIGateway_7.5.3_Install_win-x86-32_BN<n>.exe --help

The following table summarizes some of the more common options:

Option Description
--help Display available options and default settings.
--mode Specify an installation mode.
--setup_type Specify a setup type (standard, complete, or advanced)
--enable-components Specify a comma-separated list of components to enable.
--disable-components Specify a comma-separated list of components to disable.
--prefix Specify an API Gateway installation directory.
--licenseFilePath Specify the path to a license file.
--apimgmtLicenseFilePath Specify the path to an API Manager license file.
--analyticsLicenseFilePath Specify the path to an API Gateway Analytics license file.
--unattendedmodeui Specify different levels of user interaction when installing on Windows or on a UNIX/Linux system with X-Windows.
--cassandraInstalldir Specify the Apache Cassandra installation directory. For example, opt/db/cassandra on UNIX/Linux, or c:\cassandra on Windows.
--cassandraJDK

Specify the location of your Oracle Java Runtime Environment for Apache Cassandra. For example, opt/jre on UNIX/Linux, or c:\jre on Windows. The default values are :

  • UNIX/Linux: INSTALL_DIR/apigateway/Linux.x86_64/jre/bin
  • WindowsINSTALL_DIR\apigateway\Win32\jre
Note   OpenJDK is not supported.
--startCassandra Specify whether the Apache Cassandra server starts after the installer completes. Set to 1 to start Cassandra after installation, or set to 0 if you do not want Cassandra to start.
--optionfile Specify options in a properties file. For more information on option files, go to:
http://installbuilder.bitrock.com/docs/installbuilder-userguide.html

Related Links