Silent Mode Installation
Silent mode installation of Platform Analytics is supported for the Linux environment. In contrast to the graphical and text modes, where the installation proceeds through a series of interactive steps, the silent installation requires that all of the necessary input be included in the launch command. The installation then takes place with no further interaction required.
Before Installation
Make sure all of the prerequisites have been met.
* 
If you plan to use an existing external instance of RabbitMQ or Apache Flink, instead of installing the components provided with the installer, those servers must be running during the Platform Analytics installation.
Download the appropriate installer files for your operating system.
Extract the downloaded files to a location on your host system.
Installation Launch Command
To launch the silent installation in a Windows environment, open the Windows PowerShell (or the Command Prompt window) in Administrator mode and navigate to the directory where you saved the extracted launch files.
Run the following command, substituting specific information in the angled brackets:
.\PlatformAnalytics-<n.n.n>-windows-installer.exe --unattendedmodeui minimal --mode unattended --accept_eula YES --baseinstalldir "<base installation directory>" --THINGWORX_FOUNDATION_IP_ADDR "<IP address or host name>" --THINGWORX_FOUNDATION_PORT "<Port where ThingWorx is running>" --THINGWORX_APPKEY "<valid ThingWorx App Key>" --USE_SSL "<true/false>" --RABBIT_MQ_USER_NAME_NEW "<user name>" --RABBIT_MQ_PASSWORD_NEW "<password>"
The following chart describes the information required for each parameter in the launch command:
Launch Command Parameter
Description
--baseinstalldir
The path to the directory where thePlatform Analyticswill be installed.
* 
If the installer detected a previous version of Platform Analytics, and you want to upgrade, the old installation directory is preselected for the baseinstalldir. For more information, see Upgrade from an Earlier Version.
--THINGWORX_FOUNDATION_IP_ADDR
IP address or host name of yourThingWorxserver, which must already be installed and running.
--THINGWORX_FOUNDATION_PORT
The port for communicating with yourThingWorxserver.
--THINGWORX_APPKEY
The value from theKey IDfield of the application key you created inThingWorx.
--USE_SSL
Set totruein order to require the use of SSL when connecting toThingWorx. The default value isfalse.
--RABBIT_MQ_USER_NAME_NEW
A user name for the RabbitMQ component, if installing the instance included with the installer.
--RABBIT_MQ_PASSWORD_NEW
A password for the RabbitMQ component, if installing the instance included with the installer.
* 
The RabbitMQ password will be encrypted automatically as part of the installation process. The RabbitMQ virtual host is set to the root directory by default: “/”
By default, when the installer runs, all Platform Analytics components are included in the silent mode installation, including the RabbitMQ and Flink components included with the installer. However, you can choose to disable installation of certain components or use existing external instances of RabbitMQ or Flink. For more information, see Disabling Components.
When the installation is complete, the command line prompt is returned.
* 
An advanced option is available if you want to override the default user account during the installation. For more information about launching the installer with this option, see Change the User Account.
Disabling Components
To disable one or more of the Platform Analytics components during installation, add the following snippet to the installation launch command:
--disable-components <component_name>,<component_name>
The following chart describes the what code snippets to add or change to configure the installation:
Action
Code Snippet
To prevent Descriptive Analytics Microservice from installing
Add the following to the launch command:
--disable-components Descriptive_Services
To prevent Property Transform Microservice from installing
Add the following to the launch command:
--disable-components Property_Transform
To use an existing external RabbitMQ server instead of installing the instance included with the installer
Replace the following parameters in the installation command:
--RABBIT_MQ_USER_NAME_NEW with --RABBIT_MQ_USER_NAME
--RABBIT_MQ_PASSWORD_NEW with --RABBIT_MQ_PASSWORD
And add the following parameters:
--disable-components rabbit_mq
--RABBIT_MQ_IP_ADDR <RabbitMQ IP address or host name>
--RABBIT_MQ_PORT_EXISTING <port where RabbitMQ is running>
--RABBIT_MQ_VIRTUALHOST <virtual host for the existing RabbitMQ>
To use an existing external Flink cluster instead of installing the instance included with the installer
Add the following parameter to the installation command:
--FLINK_IP_ADDR <IP address of an external Flink cluster>
--FLINK_PORT <port where Flink is running>
--disable-components flink
* 
If using existing instances of both RabbitMQ and Flink, you can combine the disable component tag as follows:
--disable-components rabbit_mq, flink
After Installation
When the installation is complete, the command line prompt will be returned.
To test the product installations, see:
Was this helpful?