Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There is one major change to the upgrade process which is in the instructions below, the rest of the guide is the same as previous upgrade instructions. The new script, install/update_config_defaults.pl needs to be run at the end of the configuration upgrade to ensure required changes to Config.nmis are made (specifically for this release a newer version of jQuery is being used.

Patch NMIS8 code with the NMIS8.4.6G

Code Block
themeEmacs
#Backup current NMIS code and config including models
DATE=`date "+%Y-%m-%d-%H%M"`
cd /usr/local/nmis8
tar cvf ~/nmis8-backup-$DATE.tar ./admin ./bin ./cgi-bin ./conf ./install ./lib ./menu ./mibs ./models

#Make sure NMIS is working before you patch it.
/usr/local/nmis8/bin/nmis.pl type=collect debug=true node=<node to test>

#Get CP working right. (no prompts)
unalias cp

#Set NMIS version
nmisver=8.4.6g
   
#Unarchive the NMIS tarball
cd ~
tar xvf nmis-$nmisver.tar.gz

mkdir /usr/local/nmis8/models-install
 
# Patch the Code Base
cp nmis$nmisver/admin/* /usr/local/nmis8/admin
cp nmis$nmisver/bin/* /usr/local/nmis8/bin
cp nmis$nmisver/cgi-bin/* /usr/local/nmis8/cgi-bin
cp -r nmis$nmisver/mibs/* /usr/local/nmis8/mibs 
cp -r nmis$nmisver/install/* /usr/local/nmis8/install
cp -r nmis$nmisver/lib/* /usr/local/nmis8/lib
cp -r nmis$nmisver/menu/* /usr/local/nmis8/menu
cp nmis$nmisver/models-install/* /usr/local/nmis8/models-install

...