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

SENTIENT Professional Edition v3.5.x upgrade instructions for CentOS

Prepare for upgrading SENTIENT

Stop SENTIENT Check if SENTIENT and database services are running Initially SENTIENT, check status to ensure it is stopped and then databases.

1
sudo systemctl stop sentient
1
sudo systemctl status sentient

Backup Database

Make a backup of the database before upgrading.

PostgreSQL

Check PostgreSQL status. It is unnecessary to stop PostgreSQL for the backup.

1
sudo systemctl status postgresql

Make sure you have enough space to place a backup of the database Check database size

1
sudo -u postgres psql -c "SELECT pg_size_pretty( pg_database_size('sentient') );"

Check free space

1
df -h /

If there is enough free space - make a backup.

1
sudo -Hiu postgres pg_dump sentient > sentient.sql.bak

Check backup file being created.

Cassandra

Check Cassandra status. It is necessary to stop Cassandra for the backup.

1
sudo systemctl status cassandra

Flush all memtables from the node to SSTables on disk.

1
nodetool drain

Stop Cassandra.

1
sudo systemctl stop cassandra

And you have to check the status again to ensure they are surely stopped.

1
sudo systemctl status cassandra

Make sure you have enough space to place a backup of the database Check database size.

1
du -h /var/lib/cassandra/ | tail -1

Check free space.

1
df -h /

Make a backup of Cassandra database.

1
2
mkdir backup
sudo tar -cvf backup/cassandra.tar /var/lib/cassandra

Check archive being created

Start Database

Cassandra

1
sudo systemctl start cassandra

PostgreSQL Do nothing, postgresql is already running.

Upgrading SENTIENT Professional Edition to 3.5.1

Doc info icon

NOTE:

These upgrade steps are applicable for SENTIENT version 3.5PE. In order to upgrade to 3.5.1PE you need to upgrade to 3.5PE first.
Prepare for upgrading SENTIENT.

SENTIENT PE package download

1
wget https://dist.sentient.invenia.in/sentient-3.5.1pe.rpm

SENTIENT PE service upgrade

  • Stop SENTIENT service if it is running.
1
sudo service sentient stop
  • Install Sentient Web Report component as described here.
1
sudo rpm -Uvh sentient-3.5.1pe.rpm
1
sudo /usr/share/sentient/bin/install/upgrade.sh --fromVersion=3.5.0

Start the service

1
sudo service sentient start

Upgrading SENTIENT Professional Edition to 3.5

Doc info icon

NOTE:

These upgrade steps are applicable for SENTIENT version 3.4.4PE. In order to upgrade to 3.5PE you need to upgrade to 3.4.4PE first.
Prepare for upgrading SENTIENT.

doc warn icon

Important note before upgrading to SENTIENT 3.5

SENTIENT UI was migrated to Angular 15. You need to re-build your custom widgets and rule nodes (which use UI) on Angular 15.

We suggest consulting this guide.

SENTIENT PE package download

1
wget https://dist.sentient.invenia.in/sentient-3.5pe.rpm

SENTIENT PE service upgrade

  • Stop SENTIENT service if it is running.
1
sudo service sentient stop
  • Install Sentient Web Report component as described here.
1
sudo rpm -Uvh sentient-3.5pe.rpm
1
sudo /usr/share/sentient/bin/install/upgrade.sh --fromVersion=3.4.4

Start the service

1
sudo service sentient start