Versions Compared

Key

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

...

OMK customers may wish to upgrade MongoDB to 3.2 and realize the efficiencies of Wired Tiger.  This example uses CentOS because this is the prevailing Linux distribution used by our customer base.

Steps

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

Procedure

Backup Current Database

Create Backup Directory

Code Block
[root@opmantek /]# mkdir data/mongodump

Dump MongoDB

Code Block
[root@opmantek ~]# mongodump -u=opUserRW -p=op42flow42 --out=/data/mongodump

Stop Running Services and Disable opflowd

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

...

 

 

Install MongoDB 3.2

Update MongoDB Repository File

...