Pricing Try it now
Professional Edition
Getting Started Documentation Guides
Architecture API FAQ
On this page

SENTIENT Professional Edition v3.2.x upgrade instructions for Windows

Upgrading SENTIENT Professional Edition to 3.2.2

NOTE: These upgrade steps are applicable for SENTIENT version 3.2.1PE. In order to upgrade to 3.2.2PE you need to upgrade to 3.2.1PE first.


doc warn icon

NOTE: Since SENTIENT version 3.2.2PE Java 11 is used

SENTIENT Professional Edition package download

Download SENTIENT Professional Edition installation package for Windows: sentient-windows-setup-3.2.2pe.exe.

SENTIENT Professional Edition service upgrade

  • Stop SENTIENT service if it is running.
1
net stop sentient
  • Make a backup of previous SENTIENT Professional Edition configuration located in <SENTIENT install dir>\conf (for ex. C:\sentient\conf).
  • Run installation package sentient-windows-setup-3.2.2pe.exe.
  • Compare your old SENTIENT configuration files (from the backup you made in the first step) with new ones.
  • Please make sure that you set database.ts.type parameter value (in the file <SENTIENT install dir>\conf\sentient.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
  ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
  ts:
    type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
  • Finally, run upgrade.bat script to upgrade SENTIENT to the new version.

NOTE Scripts listed above should be executed using Administrator Role.

Execute regular upgrade script:

1
C:\sentient>upgrade.bat --fromVersion=3.2.1

Start the service

Doc info icon

If you use Redis for caching, you need to flush all stored keys before starting the SENTIENT.

Connect to your Redis instance (or container/pod, depending on your setup) and run the command:

redis-cli flushall

Please note that this command is applicable only if you use Redis exclusively for SENTIENT. If other applications use Redis, you need to locate the SENTIENT database and flush only that. The default database index is 0, configurable with REDIS_DB SENTIENT environment value.

redis-cli

select 0

flushdb

1
net start sentient

Upgrading SENTIENT Professional Edition to 3.2.1

NOTE: These upgrade steps are applicable for SENTIENT version 3.2PE. In order to upgrade to 3.2.1PE you need to upgrade to 3.2PE first.

SENTIENT Professional Edition package download

Download SENTIENT Professional Edition installation package for Windows: sentient-windows-setup-3.2.1pe.exe.

SENTIENT Professional Edition service upgrade

  • Stop SENTIENT service if it is running.
1
net stop sentient
  • Make a backup of previous SENTIENT Professional Edition configuration located in <SENTIENT install dir>\conf (for ex. C:\sentient\conf).
  • Run installation package sentient-windows-setup-3.2.1pe.exe.
  • Compare your old SENTIENT configuration files (from the backup you made in the first step) with new ones.
  • Please make sure that you set database.ts.type parameter value (in the file <SENTIENT install dir>\conf\sentient.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
  ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
  ts:
    type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
  • Finally, run upgrade.bat script to upgrade SENTIENT to the new version.

NOTE Scripts listed above should be executed using Administrator Role.

Execute regular upgrade script:

1
C:\sentient>upgrade.bat --fromVersion=3.2.0

Start the service

Doc info icon

If you use Redis for caching, you need to flush all stored keys before starting the SENTIENT.

Connect to your Redis instance (or container/pod, depending on your setup) and run the command:

redis-cli flushall

Please note that this command is applicable only if you use Redis exclusively for SENTIENT. If other applications use Redis, you need to locate the SENTIENT database and flush only that. The default database index is 0, configurable with REDIS_DB SENTIENT environment value.

redis-cli

select 0

flushdb

1
net start sentient

Upgrading SENTIENT Professional Edition to 3.2

NOTE: These upgrade steps are applicable for SENTIENT version 3.1.1PE. In order to upgrade to 3.2PE you need to upgrade to 3.1.1PE first.

SENTIENT Professional Edition package download

Download SENTIENT Professional Edition installation package for Windows: sentient-windows-setup-3.2pe.exe.

SENTIENT Professional Edition service upgrade

  • Stop SENTIENT service if it is running.
1
net stop sentient
  • Make a backup of previous SENTIENT Professional Edition configuration located in <SENTIENT install dir>\conf (for ex. C:\sentient\conf).
  • Run installation package sentient-windows-setup-3.2pe.exe.
  • Compare your old SENTIENT configuration files (from the backup you made in the first step) with new ones.
  • Please make sure that you set database.ts.type parameter value (in the file <SENTIENT install dir>\conf\sentient.yml) to “cassandra” instead of “sql” if you are using Cassandra database for timeseries data:
1
2
3
4
database:
  ts_max_intervals: "${DATABASE_TS_MAX_INTERVALS:700}" # Max number of DB queries generated by single API call to fetch telemetry records
  ts:
    type: "${DATABASE_TS_TYPE:sql}" # cassandra, sql, or timescale (for hybrid mode, DATABASE_TS_TYPE value should be cassandra, or timescale)
  • Finally, run upgrade.bat script to upgrade SENTIENT to the new version.

NOTE Scripts listed above should be executed using Administrator Role.

Execute regular upgrade script:

1
C:\sentient>upgrade.bat --fromVersion=3.1.1

Start the service

Doc info icon

If you use Redis for caching, you need to flush all stored keys before starting the SENTIENT.

Connect to your Redis instance (or container/pod, depending on your setup) and run the command:

redis-cli flushall

Please note that this command is applicable only if you use Redis exclusively for SENTIENT. If other applications use Redis, you need to locate the SENTIENT database and flush only that. The default database index is 0, configurable with REDIS_DB SENTIENT environment value.

redis-cli

select 0

flushdb

1
net start sentient