Skip to main content

Master Upgrade Steps

Notice:

  • Support for Ubuntu 14 is depreciated. Upgrade to Ubuntu 16 from here. (It is required only if your current OS version is 14.)
  • Upgrade from Ubuntu 16 to 20 from here
-- command to check ubuntu version:
lsb\_release -a
  • For HA, make following changes:
    • Go to /motadata/motadata/config
    • Edit cluster-conf.yml
    • change installation type from original value to 0.
    • After upgrading the master server, copy motadata-cluster (EXE) in data-node server.
    • After upgrade is complete, revert back installation type to its original value.
  1. Delete following files from the 2nd level motadata folder:

    • motadata-upgrade.zip
    • upgrade.zip
    • upgrade
    • motadata-upgrade
    • motadata-upgrade.conf
    cd /motadata/motadata

    rm -rf motadata-upgrade.zip

    rm -rf upgrade.zip

    rm -rf upgrade

    rm -rf motadata-upgrade

    rm -rf motadata-upgrade.conf
  2. Download motadata-upgrade.zip file and FTP the file to motadata server (2nd level motadata folder).

  3. Unzip motadata-upgrade.zip file.

    cd /motadata/motadata

    unzip motadata-upgrade.zip

Following files should be visible:

  • motadata-upgrade.py
  • packages.zip
  • upgrade-installer
  • upgrade-installer.config
  • upgrade.zip
  1. Add 775 permission to motadata-upgrade.py:

    cd /motadata/motadata

    chmod 775 motadata-upgrade.py
  2. Run upgrade command:

    cd /motadata/motadata

    ./motadata-upgrade.py <current\_version> //for ex: ./motadata-upgrade.py 7.3.021
  3. Go to the system folder.

    cd /lib/systemd/system
  4. If your Ubuntu version is 16, add entries in motadata service:

    vi motadata.service
    --- use i command to edit -----

    ---- add a new line after Killmode = none ------

    LimitCORE=infinity

    LimitNOFILE=500000

    ---- press escape -------

    ----save using: wq!------
  5. Run the below command. This command is required every time you make changes in motadata.service.

    systemctl daemon-reload