GitHubContribute in GitHub: Edit online

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.

The Manta Data Lineage installer cannot manage running instances during an upgrade. Manually stop Manta services before every upgrade.

Instructions

  1. Log in to the Manta server with the non-root user you are planning to perform the upgrade with.

  2. Verify that the /var/opt/mantatools/ directory exists and that your user / user group is assigned ownership of it recursively.

  3. Edit the /var/opt/mantatools/mantatoolinstaller.ini file with a text editor.

    1. Change the flow.service and support.service property values to 0. (By default, they are 1.)

      1. [installer]
        ...
        flow.service=0
        ...
        support.service=0
        ...
        
  4. 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.

    1. ...
      TOMCAT_USER="<user>"
      TOMCAT_HOME="/opt/mantaflow/server"
      ...
      
  5. Run the installer mantaflow-xx.x.x-linux-x64-installer.run --admin 0 as the chosen user.

  6. Once the installer has successfully completed its task, edit the /var/opt/mantatools/mantatoolinstaller.ini file with a text editor.

    1. Change the flow.service and support.service property values back to 1.
  7. Finish the upgrade process from Admin UI.