Upgrading mongodfb 3.6.22 to 4.2

We are planning to upgrade mongodfb 3.6.22 to 4.2 and our Graylog 2.4.7+9116ead, is it compatible ?

While Mongo and that version of Graylog should work, 2.4.7 is a 3 year old version of Graylog. There have a number of changes, fixes, and security patches that have occurred over 3 years. I think you’d be better served to upgrade your whole deployment.

If memory serves… you may need to run MongoDB 4.2 in 4.0 mode to work with 2.4.7…

1 Like

@aaronsachs What’s your recommendation ?

  1. Upgrade Graylog with newest version first

  2. Upgrade Mongodb first

If we upgrade whole environment , what is the recommended way ? Is there any steps guide ?

@cawfehman how we do it with “MongoDB 4.2 in 4.0 mode” ?

Our missing information we are using AWS Elasticsearch version 5.1

Need to do your homework on this one… measure twice cut once…

to go from 2.4 to 4.0 with ES 5 is going to be a multistep and multi upgrade…

from your version assuming you aren’t running an older linux, i THINK your path should be as follows.

upgrade graylog to 3.3.11… then elasticsearch… to 6.8.13 then graylog to 4.0… then MongoDB to 4.4… then Elasticsearch to 7.10 or 7.11.

take things incrementally… and do your research… that’s not a simple upgrade… 100% doable, but take your time.

as for the question about compatibility mode… I believe this is what you need.

1 Like

@cawfehman graylog are running with Ubuntu 16.04

root@prod-graylog-b1:~# uname -a
Linux prod-graylog-b1 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@prod-graylog-b1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial

Looks like you should factor upgrading the OS as part of this project…

Again… this adds a layer of complexity, but does not make it “much” more difficult. are you running everything on a single node or do you have a distributed deployment?

@cawfehman Cluster is running as below

Two Ubuntu 16.04
Two Graylog 2.4.7+9116ead nodes
mongodfb 3.6.22 Atlas Service with multi nodes (replicas)
AWS Elasticsearch version 5.1 with multi nodes (replicas)

What’s your recommendation ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.