PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 3rd of March, 2020

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[10:11:22] <ehrenreich> Hi, could anyone tell me what the correct upgrade path is. I have a MongoDB 2.6 cluster of 3 nodes running on Windows.
[10:11:48] <ehrenreich> I would like to upgrade to latest and greatest on CentOS 7
[10:12:20] <ehrenreich> But i cant find any official repos with the old 2.6 branch, the oldest i can find is 3.0 for CentOS
[10:12:58] <ehrenreich> Would just create a new node running 3.0 and the join it? once data is replicated i can then upgrade.?
[10:23:59] <jindraj> ehrenreich: You have to go through 2.6 > 3.0 > 3.2 > 3.4 > 3.6 > 4.0 > 4.2. Since 3.4 there's featureCompatibilityVersion settings - https://docs.mongodb.com/manual/release-notes/3.4-upgrade-standalone/#enable-backwards-incompatible-newversion-features you need to set it to a new version after every upgrade. If your mongodb servers are in replicaset you need to upgrade secondaries first, primary
[10:24:01] <jindraj> as the last.
[10:24:25] <jindraj> see the steps described here https://docs.mongodb.com/manual/release-notes/3.0-upgrade/ and for every other version in it's release notes.
[10:25:01] <ehrenreich> Thanks. I will give it a go. Might do the upgrade on the windows cluster first and then move it to Linux.
[10:25:04] <ehrenreich> puhhhh
[10:25:11] <ehrenreich> it's gonna be a long week... :)
[10:25:23] <jindraj> if there's not 3.0 for centos, you can try upgrading to 3.0 on windows machine
[10:26:46] <ehrenreich> As i understand upgrading from 2.6 to 3.0 should be a dropin replacement of the binary on Windows. So that should be kind of easy.
[10:27:00] <ehrenreich> Then migrate it to Linux and the pull the rest of the upgrades
[10:27:12] <jindraj> good luck. I remember 2 years ago how i went through 2.6 to 3.6. It was smooth.
[10:28:25] <ehrenreich> Glad to here that it was smooth.
[10:30:32] <Haris> hello all
[10:30:52] <Haris> I need a web based client tool for mongo. something parallel to phpmyadmin or the like
[10:31:29] <Haris> old tools are deprecated. mongo express is a desktop tool
[10:31:30] <jindraj> ehrenreich: Just read the release notes properly. There are things like the feature compatibility version. In addition you need to migrate to wiredTigerEngine latest during 4.0 > 4.2. Because mmapv1 support is removed in that version. It's easier with replicaset to do so, because you just change configuration on each secondary during the upgrade and let it resync from scratch.
[10:32:15] <jindraj> ehrenreich: It's a good idea to go through release notes of all versions before you start and create a list of actions to do step by step.
[10:32:57] <jindraj> Haris: i remember rockmongo https://github.com/iwind/rockmongo - last commit 31 may 2019. maybe it's dead also
[12:05:49] <Haris> I thought rockmongo worked. but its long since dead, as per my last check