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:

  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


    Open the Mongo shell

    Code Block
    mongo





    Switch to the nmis database

    Code Block
    > use nmis



    Rename the sate collection

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


    Exit

    Code Block
    > exit


    Restart omkd

    Code Block
    systemctl restart omkd.service