Pricing Try it now
SENTIENT ANALYTICS
Getting Started Documentation Guides
How To Activate SENTIENT ANALYTICS
On this page

Installing SENTIENT SENTIENT ANALYTICS on Windows

This guide explains how to install SENTIENT ANALYTICS on Windows 10 or 11 (32-bit/64-bit).

Important note before proceeding with Windows installation

Certain SENTIENT ANALYTICS features like predictions, metric explorations, and Python calculation fields require a Python executor.

The python executor runs only via Docker. Even on Windows, Docker is essential to fully utilize all SENTIENT ANALYTICS features.
We recommend following the Docker (Windows) installation guide and using the Docker installation instead of Windows.

Proceed here only if you have a compelling reason to use a combined Windows + Docker setup.

Prerequisites

Hardware Requirements

Depends on the amount of analyzed data and the number of devices connected to the system. To run SENTIENT ANALYTICS on a single machine, you will need at least 1Gb of free RAM.

In small and medium installations, SENTIENT ANALYTICS can be installed on the same server with SENTIENT.

Software Requirements

  • Have Docker CE. You can find out how to install it here
  • Have Docker Compose. You can find out how to install it here

  • SENTIENT version 4.3.0 or newer. In case you have SENTIENT version 4.2.1 or older, you could connect SENTIENT ANALYTICS to SENTIENT following the next guide.
  • Active SENTIENT ANALYTICS addon. To find out how to activate it, please follow the next guide.

Installation Steps

Step 1. Install Java 17 (OpenJDK)

SENTIENT service is running on Java 17. Follow this instructions to install OpenJDK 17.

  • Visit Open JDK Download Page. Go to “Other platforms and versions”, select “Operating System” as “Windows”, “Architecture” as “x64”, “Version” as “17 - LTS” and download JDK .msi package.
  • Run the downloaded MSI package and follow the instructions. Make sure you have selected “Add to PATH” and “Set JAVA_HOME variable” options to “Will be installed on local hard drive” state.
  • Visit PostgreSQL JDBC Download Page to download PostgreSQL JDBC Driver. Choose the latest available option.
  • Create the folder C:\Program Files\JDBC and copy downloaded file there. Then, add a new global variable - run PowerShell as an administrator and execute the following command. Do not forget to change “postgresql-42.2.18.jar” in the command to match the downloaded version.
    1
    
    [System.Environment]::SetEnvironmentVariable("CLASSPATH", '.;"C:\Program Files\JDBC\postgresql-42.2.18.jar"', [System.EnvironmentVariableTarget]::Machine)
    

You can check the installation using the following command (using Command Prompt):

1
java -version

Expected command output is:

1
2
3
4
C:\Users\User>java -version
openjdk version "17.x.xx" 
OpenJDK Runtime Environment Temurin-17.x.xx (...)
OpenJDK 64-Bit Server VM Temurin-17.x.xx (...)

Step 2. SENTIENT ANALYTICS service installation

Download and extract the package.

1
https://dist.sentient.invenia.in/sentient-analytics-windows-1.15.0.4.zip

Note: We assume you have extracted SENTIENT ANALYTICS package to default location: C:\Program Files (x86)\sentient-analytics

Step 3. Configure SENTIENT ANALYTICS database

SENTIENT ANALYTICS uses PostgreSQL as a database. You can install PostgreSQL on the same serverfor SENTIENT ANALYTICS or use managed PostgreSQL service from your cloud vendor.

  • PostgreSQL Installation

Download the installation file (PostgreSQL 12.17 or newer releases) here and follow the installation instructions.

During PostgreSQL installation, you will be prompted for superuser (postgres) password. Don’t forget this password. It will be used later. For simplicity, we will substitute it with “postgres”.

  • Create Database for SENTIENT ANALYTICS

Once installed, launch the “pgAdmin” software and login as superuser (postgres). Open your server and create database “sentient-analytics” with owner “postgres”.

  • Configure database connection for SENTIENT ANALYTICS

Open the Notepad or other editor as administrator user (right click on the app icon and select “Run as administrator”).
Open the following file for editing (select “All Files” instead of “Text Documents” in file choosing dialog, the encoding is UTF-8):

1
C:\Program Files (x86)\sentient-analytics\conf\sentient-analytics.yml

and locate “datasource” block. Replace SPRING_DATASOURCE_URL, SPRING_DATASOURCE_USERNAME and SPRING_DATASOURCE_PASSWORD properties with valid values. Don’t forget to replace “postgres” with your real postgres user password:

1
2
3
4
5
6
7
datasource:
    driverClassName: "${SPRING_DRIVER_CLASS_NAME:org.postgresql.Driver}"
    url: "${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/sentient-analytics}"
    username: "${SPRING_DATASOURCE_USERNAME:postgres}"
    password: "${SPRING_DATASOURCE_PASSWORD:postgres}"
    hikari:
      maximumPoolSize: "${SPRING_DATASOURCE_MAXIMUM_POOL_SIZE:5}"

Step 4. Run installation script

Launch windows shell (Command Prompt) as Administrator. Change directory to your SENTIENT ANALYTICS installation directory.

Execute install.bat script to install SENTIENT ANALYTICS as a Windows service. This means it will be automatically started on system startup. Similar, uninstall.bat will remove SENTIENT ANALYTICS from Windows services. The output should be similar to this one:

1
2
3
4
5
6
7
C:\Program Files (x86)\sentient-analytics>install.bat
Detecting Java version installed.
CurrentVersion 11
Java 11 found!
Installing SENTIENT ANALYTICS...
...
SENTIENT ANALYTICS installed successfully!

Step 5. Start SENTIENT ANALYTICS service

Now let’s start the SENTIENT ANALYTICS service! Open the command prompt as an Administrator and execute the following command:

1
net start sentient-analytics

Expected output:

1
2
The SENTIENT ANALYTICS service is starting.
The SENTIENT ANALYTICS service was started successfully.

In order to restart the SENTIENT ANALYTICS service you can execute following commands:

1
2
net stop sentient-analytics
net start sentient-analytics

Step 6. Sync SENTIENT With SENTIENT ANALYTICS

The final step is to verify that SENTIENT is synchronized with SENTIENT ANALYTICS. To do this:

  • Log in to SENTIENT as a Sysadmin.
  • Open the SENTIENT ANALYTICS Settings page.

If you see the message “Synchronization completed successfully”, the synchronization has been completed automatically and no further action is required.

If you see an error message, follow these steps:

  • Make sure that SENTIENT ANALYTICS is running.
  • Enter the correct SENTIENT ANALYTICS internal URL. It must be accessible from the SENTIENT service.
  • Enter the correct SENTIENT internal URL. It must be accessible from the SENTIENT ANALYTICS service.
  • Click Save configuration.
  • Click Retry discovery.

Once the message “Synchronization completed successfully” appears, the synchronization is complete.

Step 7. Install SENTIENT ANALYTICS Python Executor

To utilize all SENTIENT ANALYTICS capabilities, such as SENTIENT ANALYTICS Python Calculation Fields or Prediction Models, it is essential to install an additional service: the SENTIENT ANALYTICS Python Executor, which can securely run Python code.

You can learn more about how to install it here.

Authentication

You can access SENTIENT ANALYTICS UI by default at http://localhost:8888

SENTIENT ANALYTICS uses SENTIENT as an authentication service, so for first authentication, you need to use Tenant Administrator credentials from your SENTIENT.

Topology Discovery

After the first login to SENTIENT ANALYTICS, you need to discover topology to allow SENTIENT ANALYTICS to know about assets, devices, their profiles and relations:

  • Click the Discover Topology button to start topology discovery process.
  • Wait until your topology will be discovered.
  • Click the Finish button to close topology discovery page and unlock the main SENTIENT ANALYTICS functionality.

You could read more about how SENTIENT ANALYTICS uses this topology here.

Troubleshooting

The log files are located in logs folder (“C:\Program Files (x86)\sentient-analytics\logs” in our case).

The sentient-analytics.log file should contain following line:

1
YYYY-MM-DD HH:mm:ss,sss [main] INFO  o.t.t.SENTIENT ANALYTICSApplication - Started SENTIENT ANALYTICSApplication in x.xxx seconds (JVM running for x.xxx)

In case of any unclear errors, use general troubleshooting guide or contact us.

Windows firewall settings

In order to have external access to SENTIENT ANALYTICS Web UI you need to create a new inbound rule with Windows Firewall with Advanced Security.

  • Open “Windows Firewall” from “Control Panel”:

image

  • Click “Advanced settings” on the left panel:

image

  • Select “Inbound Rules” on the left panel, then click “New Rule…” on the right “Actions” panel:

image

  • Now new “New Inbound Rule Wizard” window will open. On the first step “Rule Type” select “Port” option:

image

  • On the “Protocol and Ports” step select “TCP” protocol and enter port 8888 in the “Specific local ports” field:

image

  • On the “Action” step leave “Allow the connection” option selected:

image

  • On the “Profile” step select Windows network profiles when to apply this rule:

image

  • Finally, give the name to this rule (for ex. “SENTIENT ANALYTICS Service Networking”) and click “Finish”.

image

Next steps

  • Getting started guide - These guide provide quick overview of main SENTIENT ANALYTICS features.

  • Metric Explorer - Learn how to explore and create new metrics with SENTIENT ANALYTICS Metric Explorer.

  • Anomaly Detection - Learn how to identify anomalies in the data.

  • Calculated Fields - Learn about Calculated fields and how to use them.

  • States - Learn how to define and analyse states for assets based on raw telemetry.

  • Prediction - Learn how to make forecasts and predict telemetry behavior.

  • Filters - Learn how filter dataset during analysis.

  • Available Visualizations - Learn about visualization widgets available in SENTIENT ANALYTICS and how to configure them.

  • Share and embed Visualizations - Learn how to add SENTIENT ANALYTICS visualizations on SENTIENT dashboard or 3rd party web pages.

  • AI Assistant - Learn how to utilize SENTIENT ANALYTICS AI capabilities.