...
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
- Stop running services
- Install 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 |
Install MongoDB 3.2
Update MongoDB Repository File
In order to install Mondgo3.2 edit /etc/yum.repos.d/mongod-org.repo to reflect the correct version.
Code Block | ||
---|---|---|
| ||
### change below to 3.2 [mongodb-org-3.2] name=MongoDB Repository ### change below to 3.2 baseurl=https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1 |
Install MongoDB 3.2 with yum
Code Block |
---|
[root@opmantek ~]# yum install mongodb-org |