Skip to end of banner
Go to start of banner

Importing NMIS8 configuration into NMIS9

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Introduction

NMIS9 installer will automatically import all nodes from NMIS8, however, some of the custom configuration won't be imported to NMIS9. In order to do that, a few extra steps are required.

Step by step

1.  Install nmis

Installing NMIS9
bash ./nmis9-9.1.1.run -- -y


2. Stop nmis8 and nmis9 from running

mv /etc/cron.d/nmis /tmp/nmis.cron
systemctl stop nmis9d.service

3. Replace the new default NMIS9 var/ and database/ directories for the old custom ones (NMIS8)

rm -rf /usr/local/nmis9/database
rm -rf /usr/local/nmis9/var

cp -rfT /usr/local/nmis8/var /usr/local/nmis9/var
cp -rfT /usr/local/nmis8/database /usr/local/nmis9/database

4. Download and run the import-nmis8-config.sh script

wget https://dl-nmis.opmantek.com/import-nmis8-config.sh
bash ./remove-nmis8-config.sh

5. Use the nmis-cli tool to fix the permissions

/usr/local/nmis9/nmis-cli act=fixperms

6. Lastly, verify nmis9d is running

systemctl status nmis9d.service
  • No labels