opExport 1.6.5 Upgrade Guide
- 1 Prerequisites
- 2 Upgrade
- 2.1 Stop Daemon
- 2.1.1 MySQL Server
- 2.1.2 NMIS Server
- 2.2 Upgrade
- 2.3 Start Daemon
- 2.4 Important Next Steps
- 2.5 Test
- 2.1 Stop Daemon
Prerequisites
A running opExport system
A new version downloaded to /tmp/
Upgrade
Stop Daemon
MySQL Server
service omkd stopNMIS Server
lsof | grep /usr/local/omk/script/opmantek.exe
# find PID of opmantek.exe in /usr/local/omk/script/opmantek.exe, it’s in the 2nd column
kill PIDUpgrade
# upgrade
cd /usr/local
tar zxvf /tmp/opExport-Linux-x86_64-1.6.5.tar.gzStart Daemon
# start opExport service (both MySQL and NMIS)
service omkd start # restart daemonImportant Next Steps
Now load GUI and accept EULA
Modify conf/schema_sets.json on the MySQL server to add "include_ping_only" : 1 to the schemas/tables that you want ping-only nodes included (the default install/schema_sets.json has them added in the places where it makes sense and can be used as an example)
Push new schema to server (from opExport on MySQL server)
Verify schema is properly pushed on NMIS server (http://NMIS_SERVER_IP:3000/omk/opExport/schemas)
Test
If you have included ping-only nodes on your node table you should now see rows in
SELECT *
FROM nodes
WHERE collect = 'false';* if your NMIS server has nodes like this.