Versions Compared

Key

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

...

  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 the 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