How to Upgrade IBM Manta Data Lineage with a Non-Root User (via the Installer) in Linux
The following guide details how to upgrade Manta Data Lineage with a non-root user account in Linux.
The installer/updater, by default, requires root privileges. In some specific scenarios, you won’t be able to upgrade Manta Data Lineage as a root. There is an option to avoid root validation on Linux and install it under the user that will be used for Manta Data Lineage.
Prerequisites
The ownership of Manta Data Lineage should be assigned to the non-root user performing the upgrade.
Instructions
-
Log in to the Manta server with the non-root user you are planning to perform the upgrade with.
-
Verify that the
/var/opt/mantatools/
directory exists and that your user / user group is assigned ownership of it recursively. -
Edit the
/var/opt/mantatools/mantatoolinstaller.ini
file with a text editor.-
Change the
flow.service
andsupport.service
property values to0
. (By default, they are1
.)[installer] ... flow.service=0 ... support.service=0 ...
-
-
Verify that the Manta Data Lineage services are set to the appropriate user and ownership by checking that the
TOMCAT_USER
property is set to your user.... TOMCAT_USER="<user>" TOMCAT_HOME="/opt/mantaflow/server" ...
-
Run the installer
mantaflow-xx.x.x-linux-x64-installer.run --admin 0
as the chosenuser
. -
Once the installer has successfully completed its task, edit the
/var/opt/mantatools/mantatoolinstaller.ini
file with a text editor.- Change the
flow.service
andsupport.service
property values back to1
.
- Change the
-
Finish the upgrade process from Admin UI.