Upgrading OmniSci
As with any software upgrade, it is important that you back up your data before you upgrade OmniSci. Each release introduces efficiencies that are not necessarily compatible with earlier releases of the platform. OmniSci is never expected to be backward compatible.
Back up the contents of your $OMNISCI_STORAGE directory, where all data and configuration information are stored.
How you upgrade OmniSci depends on how you installed it.
Upgrading OmniSci Using Docker
To upgrade OmniSci in place in Docker, stop the Docker container, back up your data directory, then run the OmniSci Docker install command.
In a terminal window, get the Docker container ID:
You see output similar to the following. The first entry is the container ID. In this example, it is
9e01e520c30c
:Stop the OmniSci Docker container. For example:
Optionally, remove the OmniSci Docker container. This removes unused Docker containers on your system and saves disk space. For example:
Back up the storage directory on the host machine. The default location is ~/var/lib/omnisci.
Download the latest version of Docker.
For Enterprise edition without GPUs:
For Enterprise edition with GPUs:
Run the Docker
run
command.For Enterprise edition without GPUs:
For Enterprise edition with GPUs:
This runs both OmniSci server and Immerse web server in that container.
You can optionally add --rm
to the Docker run
command so that the container is removed when it is stopped.
When upgrading from a significantly earlier version, there might be internal changes that invalidate the metadata in the /var/lib/omnisci
directory. You can rename the directory or point to a different directory to run a later version of OmniSci.
See also the note regarding the CUDA JIT Cache in Optimizing Performance.
Upgrading OmniSci Using Yum
To upgrade an existing system installed with Yum to the latest version, you run the Yum update
command. The command upgrades OmniSci in place without disturbing your configuration or stored data.
To Upgrade OmniSci Using Yum:
Stop the OmniSci servers.
Back up your $OMNISCI_STORAGE directory (default location is
/var/lib/omnisci
).Run the Yum update command.
When installation is complete, restart the OmniSci servers.
Upgrading OmniSci Using Apt
To upgrade an existing system installed with Apt to the latest version, you run the Apt update
and upgrade
commands. OmniSci is upgraded in place without disturbing your configuration or stored data.
To Upgrade OmniSci using Apt:
Stop the OmniSci servers.
Back up your $OMNISCI_STORAGE directory (default location is
/var/lib/omnisci
).Run the Apt update command.
Run the Apt upgrade command.
When installation is complete, restart the OmniSci servers.
Upgrading OmniSci Using a Tarball
To upgrade OmniSci using a tarball, stop the servers, back up your data, expand the TAR file to replace the OmniSci application, and then restart the servers.
You might prefer to create a separate directory for each version of OmniSci as you upgrade. You could create an installs
directory, and use a symbolic link to point to the current version. Another option is to rename the directory of the previous version before expanding the TAR file in the /opt/omnisci
directory. To revert to an earlier version, you can redirect the symbolic link or move the directory of the release you want to use to /opt/omnisci
.
Stop the OmniSci web server and OmniSci server.
Back up your $OMNISCI_STORAGE file (default location is /var/lib/omnisci).
Optionally, move the previous version of the /opt/omnisci directory to another location. For example:
Otherwise, remove the /opt/omnisci directory. For example:
Download and expand the OmniSci TAR file, per the installation instructions.
Restart the servers.
Last updated