Upgrading Unravel Server
Warning
Contact Unravel Support before upgrading from Unravel 4.2.x or 4.3.x to Unravel 4.5.x
Warning
To determine if it's mandatory to upgrade Unravel sensors when you upgrade Unravel Server, see the release notes.
This topic explains how to upgrade the Unravel Server RPM.
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.
Unravel's MySQL database: Check that the
sql
file with the most recent date in/usr/local/unravel/sql/mysql
is present in the output of "select * from schema_migrations"
.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 exampleunravel_rpm_upgrade_2020-02-19.log
.unravel_schema.log
unravel_post_fixup
yyyymmddtHHMM
.out
, for example,unravel_post_upgrade_fixups.20200214t2058
. (This is deprecated as of v4.5.5.0.)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 start
Check that all daemons successfully started and stayed up.
Verify Unravel's Web UI/UX is being populated correctly and working correctly.
OnDemand, where applicable, by generating an OnDemand report, for example, Top X.
All metrics visible for Spark, MR, or Tez in Applications > Application.
Operations > Overview shows correct metrics, for example counts of apps and vCores
Complete any platform-specific upgrade steps.