Versions Compared

Key

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

...

Steps

  • Stop running services
  • Backup Current Database
  • Install MongoDB 3.2
  • Provision MongoDB 3.2
  • Convert to Wired Tiger
  • Restore services

...

Code Block
[root@opmantek ~]# service opconfigd stop
Stopping opconfig daemon opconfigd                         [  OK  ]
[root@opmantek ~]# service opeventsd stop
Stopping opevents daemon opeventsd                         [  OK  ]
[root@opmantek ~]# service omkd stop
Stopping Opmantek Webserver opmantek.exe                   [  OK  ]
[root@opmantek ~]# service mongod stop
Stopping mongod:                                           [  OK  ]
[root@opmantek ~]# service opflowd stop
Shutting down flowd:                                       [  OK  ]

### disable opflowd
[root@opmantek ~]# chkconfig opflowd off

Backup Current Database

 

Install MongoDB 3.2

Update MongoDB Repository File

...

If there is a /data/mongodb/mongod.lock file, then remove it.Make sure that recursively /data/mongodb belongs to group mongod user mongod.

 

Code Block
[root@opmantek ~]# chown -R mongod:mongod /data/mongodb/

...