Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update upgrade instructions for opFlow

...

If you are updating opFlow from an earlier version you will need to update the configuration files with some new optional goodness.  Run executable and configuration files with some new optional goodness.  

To update the executable files the run commands (modified to suit your installation and version downloaded). 

Code Block
cd ~
# get release and untar it
wget opFlow-release.tgz
tar -zxvf opFlow-release.tgz
# make a backup of existing installation
cp -r /usr/local/opmantek /usr/local/opmantek-DAY-MON-YEAR
# stop the existing daemon so update can happen
service opflowd stop
# update the files
cp -r ./opmantek/* /usr/local/opmantek/*

 

Now update the configuration files run the following commands to do that.

Code Block
themeEmacs
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opFlow.nmis /usr/local/opmantek/conf/opFlow.nmis
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opCommon.nmis /usr/local/opmantek/conf/opCommon.nmis
cp /usr/local/opmantek/install/mongod.init.d /etc/init.d/mongod
/usr/local/opmantek/bin/opflow_setup.pl setup=all  
service opflowd start

Debian/Ubuntu

Verify/Edit /etc/init.d/flowd, /etc/init.d/mongod and /etc/init.d/opflowd

Code Block
#change this line: 
. /etc/init.d/functions
#to this: 
. /lib/lsb/init-functions