Versions Compared

Key

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

Table of Contents

...

  • Some node properties have been updated. This mean the event action rules should be updated regarding this document.
  • Parser plugins also needs to be update. 

...

Step 3. OMK Applications considerations

opCharts (tick)(tick)

opCharts uses the same database. 

...

Status
colourGreen
titleNOTE
 In order for this to work, nmis9 should have run and created the inventory with the monitored services there. 

opEvents (tick)(tick)

Update database name in opCommon.json:

...

Code Block
/usr/local/omk/bin/opevents-cli.pl act=setup-db debug=1

opConfig (tick)(tick)

Update database name in opCommon.json:

...

Code Block
/usr/local/omk/bin/opconfig-cli.pl  act=setup-db debug=1

opReports (tick)(tick)

NMIS8 opReports and NMIS9 opReports work the same way:

...

Code Block
rsync -r root@myserver.com:/usr/local/omk/var/reports var/
rsync -r root@myserver.com:/usr/local/omk/var/opreports var/

opHA (tick)(tick)

opHA 3 works different from opHA 2. The peers would need to be imported manually using the GUI or the cli, using nmis8/conf/Servers.nmis file.

...

We can move all the model customisations in the models-custom directory. We can use rsync for this again. 

NOTE Some models may need to be adjusted. Specially if they are using nmis internal functions.

...

Here you can find further information.

Step 6. Copy RRDs

Link to Step 3 Copy RRDs above 

Step 7: Verify

Link to Step 5 Verify above

Upgrade process (II): Installing apps (OMK)

...

Step 2. Customise configuration

Same steps as the other procedure. 

Step 3. opConfig data

Run the migration script:

Code Block
/usr/local/omk/bin/opconfig-cli.pl act=migrate-nodes debug=9

Step 4. opReports data

Same steps as the other procedure.

Step 5. opCharts data

Run the migration script:

...

  • It is important to update nmis 9 first and leave running for a couple of poll cycles so inventory is created. nmis9 will create its own inventory, as this is now saved in the db and has a specific format. These data will be used for other scripts from the apps to migrate some data. 
  • opconfig and opevents share the same database in the old version. This is because the products database name should be changed to "nmis", the old database name. 
  • nmis8 didn't use mongo. This is because opConfig has its own nodes database. We don't want to replicate information, so now opConfig will use nmisng database to get the nodes information. We would need to use the opConfig migration script to porte port some specific configurations from the internal database to nmis.