Child pages
  • Upgrading NMIS to 8.5.2G
Skip to end of metadata
Go to start of metadata



Upgrading NMIS to 8.5.2G is extremely simple: all you need to do is follow the guidance of the interactive installation script, which will perform all the necessary steps that are safely automatable.

Please note that the installer script does not overwrite your existing models or configuration items for safety reasons, so a (semi-)manual comparison of your local changes (if any) will still be required. For your convenience the installer does save a compressed backup snapshot of your NMIS configuration in root's home directory, and a log of the actions performed is saved in install.log in the NMIS source directory.


Once you've unpacked the NMIS tarball you will see in the NMIS source directory. Running ./ -h will show you what options it offers.

A simple invocation of ./ will prompt you for a few bits of necessary information and confirmations, after which the tool will backup your current NMIS installation and then perform the upgrade or installation steps. 

Once the installer has finished its  work you will likely need to review your config and model files and determine whether there are any customizations that you need to merge with newer files from the NMIS tarball. NMIS live configuration files are in /usr/local/nmis8/conf, the updated material from the release is in /usr/local/nmis8/install; for models the directories are /usr/local/nmis8/models for the active ones and /usr/local/nmis8/models-install for new ones.

To simplify the comparison and merging process NMIS provides the helper program admin/ As an example, to check your Config.nmis against the one included with a new NMIS release you would use the tool like this:

cd /usr/local/nmis8
./admin/ install/Config.nmis conf/Config.nmis

Comparing install/Config.nmis to conf/Config.nmis
Output format:

"Config Key Path:
-       Status in install/Config.nmis
+       Status in conf/Config.nmis"

-       -15 minutes
+       -5 minutes
...possibly lots more changes...
Difference Summary:

The diffconfigs tool also works for model files.


  • No labels