Silent install for the Data Hub and Web Connector

This section describes how to perform a silent installation of the Data Hub and Web Connector.

For general installation details, see Install the Data Hub and Web Connector.

Silent install for Data Hub

You can install the Data Hub silently by following the steps below.

To perform a silent installation of the Data Hub:

  1. Switch to super user.

  2. Unpack the Data Hub installation package.

  3. Create a file named installer.properties using the following template, changing the parameters as needed.

    Tip: An installer.properties file is generated when you run the Setup wizard, and can be used again for later silent installations.

    #Choose Install Folder

    #---------------------

    USER_INSTALL_DIR=/opt/OT/OT_LoadRunner_Data_Hub

     

    #Choose Link Location

    #--------------------

    USER_SHORTCUTS=/usr/local/bin/OT/OT_LoadRunner_Data_Hub

     

    #Install

    #-------

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub/_OT_LoadRunner_Data_Hub_Installation/Change_OT_LoadRunner_Data_Hub_Installation.lax=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub/zookeeper.service=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub/kafka.service=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub/run_after_install.sh=Yes

     

    #Install certificate

    #-------------------

    INSTALL_CERTIFICATE=\"\",\"No\"

  4. Save the installer.properties file in the same location as the installer file.

  5. Run the installation command using the following syntax:

    ./inst64.bin [-f<path to installer properties file> | -options]

    You can modify the installation by adding options to this command. For details, see Silent installation options.

    Note:
  • When the installer.properties file is saved in the same directory as the installer, it overrides all other command line options unless the -f option is used to specify another valid properties file.

  • The path to the installer properties file may be either absolute, or relative to the directory in which the installer resides.

For example, the following command installs the Data Hub silently using an installer.properties file that is saved in the same location as the installer:

Example: ./inst64.bin -i silent

Back to top

Silent install for Web Connector

You can install the Web Connector silently by following the steps below.

To perform a silent installation of the Web Connector:

  1. Switch to super user.

  2. Unpack the Web Connector installation package.

  3. Create a file named installer.properties using the following template, changing the parameters as needed. The template here installs the Web Connector with the default certificates.

    Tip: An installer.properties file is generated when you run the Setup wizard, and can be used again for later silent installations.

    #Choose Install Folder

    #---------------------

    USER_INSTALL_DIR=/opt/OT/OT_LoadRunner_Data_Hub_Web_Connector

    #Choose Link Location

    #--------------------

    USER_SHORTCUTS=/usr/local/bin/OT/OT_LoadRunner_Data_Hub_Web_Connector

    #Install

    #-------

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub_Web_Connector/_OT_LoadRunner_Data_Hub_Web_Connector_Installation/Change_OT_LoadRunner_Data_Hub_Web_Connector_Installation.lax=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub_Web_Connector/webconnector.service=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub_Web_Connector/run_after_install.sh=Yes

    -fileOverwrite_/opt/OT/OT_LoadRunner_Data_Hub_Web_Connector/webconnector.sh=Yes

    #Install certificate

    #-------------------

    INSTALL_CERTIFICATE=\"\",\"No\"

  4. Save the installer.properties file in the same location as the installer file.

  5. Run the installation command using the following syntax:

    ./inst64.bin [-f<path to installer properties file> | -options]

    You can modify the installation by adding options to this command. For details, see Silent installation options.

    Note:
  • When the installer.properties file is saved in the same directory as the installer, it overrides all other command line options unless the -f option is used to specify another valid properties file.

  • The path to the installer properties file may be either absolute, or relative to the directory in which the installer resides.

For example, the following command installs the Web Connector silently using an installer.properties file that is saved in the same location as the installer:

Example: ./inst64.bin -i silent

Back to top

Silent installation options

You can add the following options to the silent installation command:

Option Description
-i [swing | console | silent] Specifies the user interface mode for the installer.
-D<name>=<value> Specifies the installer properties.
-r <path to generate response file> Generates a response file.

The following options can be used to repair or uninstall:

Option Description
-repair Repairs the installation.
-uninstall Uninstalls the Data Hub or Web Connector.

Back to top

See also: