Upgrading Unravel from version 4.6.2.x to 4.7.x
This topic provides instructions to upgrade from Unravel version 4.6.2.x to 4.7.x.
Caution
If you have manually added certificates to unravel’s JVM, those will not be imported when you upgrade to Unravel 4.7x. Therefore, you must add these certificates again. Refer to Configuring Truststore certificates and follow the instructions to add the Truststore certificates.
If you have configured Unravel for HTTPS, those configurations will not be imported. Hence, you must re-configure this again. Refer to Enabling Transport Layer Security (TLS) for Unravel UI and follow the instructions to re-configure TLS.
Caution
Before upgrading Unravel, you must take a backup of the data
directory and external database (if using). Perform the following steps:
Stop Unravel.
<Unravel installation directory>
/unravel/manager stopArchive the entire
data
directory.For example,
tar czf /archive/destination/unravel-backup.tar.gz /opt/unravel/data
If using an external database, perform a backup of the database.
Note
For the details on how to back up the database, refer to the documentation for your corresponding database.
Upgrading Unravel (4.6.2.x to 4.7.x)
Download and extract the Unravel binaries of the Unravel version that you want to upgrade/downgrade to.
Stop Unravel.
<Unravel installation directory>/unravel/manager stop
Activate the version that you want to upgrade/downgrade to.
<Unravel installation directory>/unravel/manager activate <
Unravel-version
>Run auto-configuration and refresh to automatically reload the updates.
<unravel_installation_directory>/unravel/manager config auto --refresh
After the auto-configuration completes, apply the changes.
<unravel_installation_directory>/unravel/manager config apply
Start all the services.
<unravel_installation_directory>/unravel/manager start
Check the status of services.
<unravel_installation_directory>/unravel/manager report
The following service statuses are reported:
OK: Service is up and running.
Not Monitored: Service is not running. (Has stopped or has failed to start)
Initializing: Services are starting up.
Does not exist: The process unexpectedly disappeared. Restarts will be attempted 10 times.
Delete the old install directory from
unravel/versions/
<THE.OLD.VERSION>
.
Enable hive_worker daemon
After upgrade from versions prior to v4.7.x, you must manually enable the hive_worker daemon.
Open the
<Unravel_installation_directory>/unravel/data/conf/unravel.yaml
file using an editor.In the
unravel.yaml
file, set the hive_worker to true to enable the hive_worker daemon.services: aws_worker: enabled: true hive_worker: enabled: true pgsql: enabled: true yarn_jc_sensor: enabled: false
Stop Unravel, refresh the files, and start Unravel again.
<Unravel installation directory>/unravel/manager stop <Unravel installation directory>/unravel/manager refresh all <Unravel installation directory>/unravel/manager start