Update OpenNode OMS to the Latest Version
Category : How-to
OpenNodes web management GUI (OMS) runs in it’s own OpenVZ container. To update the running OMS you must connect to the OMS server via SSH and run the update command.
Log into the OMS Server via SSH using the root account.
Change your current directory to the location of the update script using the below commands.
cd /opt/oms
Run the update.sh script with the below command.
./update.sh
You will receive a message similar to the below output confirming that the update has completed.
[root@oms oms]# ./update.sh which: invalid option -- 'S' /usr/bin/python2.7 Downloading file:///opt/oms/download-cache/setuptools-0.6c11-py2.7.egg Updating oms. Getting distribution for 'opennode.oms.core'. Got opennode.oms.core 0.0-1585-g0bce. Getting distribution for 'opennode.wsproxy'. Got opennode.wsproxy 1.0. Getting distribution for 'opennode.oms.onc'. Got opennode.oms.onc 0.0-1063-g2fd9. Getting distribution for 'opennode.oms.knot'. Got opennode.oms.knot 0.0-779-g78a8. Generated script '/opt/oms/bin/omspy'. Generated script '/opt/oms/bin/omsd'. Generated script '/opt/oms/bin/obj_graph'. Generated script '/opt/oms/bin/omspasswd'. Generated script '/opt/oms/bin/plugin'. Generated script '/opt/oms/bin/fstail'. Generated script '/opt/oms/bin/zeopack'. Generated script '/opt/oms/bin/runzeo'. Generated script '/opt/oms/bin/zeopasswd'. Generated script '/opt/oms/bin/zeoctl'. Generated script '/opt/oms/bin/fsdump'. Generated script '/opt/oms/bin/fsrefs'. Generated script '/opt/oms/bin/repozo'. Generated script '/opt/oms/bin/fsoids'. Generated script '/opt/oms/bin/wsproxy'.
The final step is to restart the OMS service. Use the below command and reload the service .
systemctl restart oms