Upgrading Unravel Server
Warning
To determine if it's mandatory to upgrade Unravel sensors when you upgrade Unravel Server, see the release notes.
This topic provides instructions for the following:
Upgrade Unravel Server - Tarball installation
Note
Tarball installation is supported from Unravel 4.6.1.4
Upgrade Unravel Server - RPM
This topic explains how to upgrade the Unravel Server in case of an RPM installation.
Download the new RPM.
Copy the new RPM to the Unravel host.
Stop all services.
sudo /etc/init.d/unravel_all.sh stop
Upgrade RPM on the host.
sudo rpm -U unravel-
version
.rpm*Add your license key to
unravel.properties
.Warning
Add your license key to
unravel.properties
before starting or restarting Unravel Server.Complete the following checklist before restarting all services.
Verify the following items were updated.
Database schema
The Unravel Sensor, if you have performed a required or optional update.
OnDemand, when applicable. (This required for Unravel's various reports.)
Check the following logs for any issues.
unravel_rpm_upgrade
yyyy-mm-dd
.log
, for example unravel_rpm_upgrade_2020-02-19.logunravel_schema.log
es_migration*.out
If you are running an external database verify
unravel_db
is disabled or does not exist by running the following command:chkconfig --list unravel_db
If
unravel_db
exists and is running, switch it off using the following command:chkconfig unravel_db off
Restart all services.
sudo /etc/init.d/unravel_all.sh restart
Check that all daemons successfully started and stayed up.
Verify Unravel's Web UI/UX is being populated and working correctly.
OnDemand, where applicable, by generating an OnDemand report, for example, Operational insights > TopX.
All metrics visible for Spark, MR, or Tez in Applications.
Operations page shows correct metrics, for example counts of apps and vCores
Complete any platform-specific upgrade steps.
Upgrade Unravel Server - Tarball installation
This topic explains how to upgrade the Unravel Server in case of a Tarball installation.
Download and extract the Unravel binaries of the Unravel version that you want to upgrade/downgrade to.
tar zxf unravel-<version>tar.gz -C /path/to/installation/directory
Stop Unravel.
<Unravel installation directory>/manager stop
Run the manager refresh all command.
<Unravel installation directory>/manager refresh all
Activate the version that you want to upgrade.
<Unravel installation directory>/manager activate <
Unravel-version
>Important
If you activate the upgrade version directly without running the manager refresh all command, the following error message is shown:
INS00142: Upgrade manager blocked the upgrade, reason: current.yaml state is unexpected.
When you face this error, you must run manager refresh all and start the upgrade again.
Configure unravel using the following commands:
<Unravel installation directory>/manager config auto <Unravel installation directory>/manager config apply <Unravel installation directory>/manager start <Unravel installation directory>/manager report
These will configure Unravel, start the daemons, and check the status of the daemon processes.