Versions Compared

Key

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

...

Lastly, the /data/omk/var reports directory should still be were it was at the beginning of the upgrade, as it was never changed.

About opEvents

In order to get the new opEvents to show the old events two steps are required post installation:

  1. Rename the opevents_db_name from 'opevents' to 'nmis in the opCommon.json file. You can do this manually or by using the the following patch_config command


    Code Block
    /usr/local/omk/bin/patch_config.pl /usr/local/omk/conf/opCommon.json /opevents/opevents_db_name=nmis


  2. Drop or rename the state collection in the NMIS database. This can be done through the mongo shell



    2.1 - Open Mongo shell

    Code Block
    mongo

    2.2 - Switch to the nmis database

    Code Block
    > use nmis

    2.3 - Rename the sate collection

    Code Block
    > db.state.renameCollection('state-old')

    2.4 - Exit

    Code Block
    > exit

    2.5 - Restart omkd

    Code Block
    systemctl restart omkd.service