...
7. Copy the license.txt from the ${OPENEMPI_OLD_HOME}/conf directory that contains the product key to the ${OPENEMPI_HOME}/conf directory.
8. Run any database upgrade scripts that are specific to the new version you are upgrading to. Not every release includes a database upgrade script but if there is one, it would be in the conf directory under OPENEMPI_HOME. Upgrading to the 4.2.0 release from 4.1.x requires that you run the script update_database_schema-4.2.0.sql but depending on the current minor version of 4.1 that you are upgrading from, there may also be some upgrade scripts to bring your 4.1.x version up to the latest version in the 4.1 stream. For example, if you are currently at 4.1.3, you must also run the upgrade script for the 4.1.4 release.
Code Block |
---|
psql --user=openempi --password --host=localhost
\i update_database_schema-4.2.0.sql |
9. Start your instance of OpenEMPI using the startup script from the new release directory. If you are using a service startup script to automatically start your instance of OpenEMPI, make sure you update the script to reflect its new directory location (this is usually installed in /etc/systemd/system/openempi.service).
...