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.
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
Download motadata-upgrade.zip file and FTP the file to motadata server (2nd level motadata folder).
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
Add 775 permission to motadata-upgrade.py:
cd /motadata/motadata chmod 775 motadata-upgrade.py
Run upgrade command:
cd /motadata/motadata ./motadata-upgrade.py <current_version> //for ex: ./motadata-upgrade.py 7.3.021
Go to the system folder.
cd /lib/systemd/system
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!------
Run the below command. This command is required every time you make changes in motadata.service.
systemctl daemon-reload