...
- 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
- 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 databaseCode Block > use nmis
2.3 - Rename the sate collectionCode Block > db.state.renameCollection('state-old')
2.4 - ExitCode Block > exit
2.5 - Restart omkdCode Block systemctl restart omkd.service