Upgrade 2.1.3 to 2.2


(Diditnya) #1

First thing first… congratulation to new forum, and also new graylog version 2.2.
this is my first post to forum, and want to ask about upgrading graylog2 from 2.1.3 to 2.2. usually i just upgrade with yum command upgrade from terminal. is this save way to upgrade 2.2 to?


(Diditnya) #2

i think… it can’t be done just with yum update command from terminal…


(Jan Doberstein) #3

welcome @diditnya

my first recommendation is to check the upgrade doc: http://docs.graylog.org/en/2.2/pages/upgrade/graylog-2.2.html

After nothing is between you and your update, just follow the upgrade instruction and everything should be fine.

regards
Jan


(kregg) #4

There is a new repo for 2.2 download it and you can upgrade.


(Diditnya) #5

Ahhh i see… it must update repo first… thanks


(Diditnya) #6

i do :

rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-2.2-repository_latest.rpm
yum clean all
yum install graylog-server

reboot… then…

Thanks all…


#7

hi,

does this hint from skubis: https://github.com/Graylog2/graylog2-server/issues/2286 that works for 2.1.X versions of Graylog for installing the License and Marvel plugins work also for 2.2.X, just replacing with the correct version of plugin (2.4.4) ?


(Jan Doberstein) #8

@jtkarvo this is something that is not supported. Please read the documentation about this.


#9

hi,

is there some other tool that monitors the health of Elasticsearch cluster, besides Marvel? Marvel is the only reason for the License plugin, so if I can dump that, I can remove the license plugin, too, and update to 2.2?


(Jan Doberstein) #10

this topics run out of the initial line …

But Monitoring Elasticsearch is something that depend on your current setup. What you have available in your toolchain.

Just as an example: http://stackoverflow.com/questions/10276989/how-to-monitor-elasticsearch-using-nagios

regards
Jan


#11

Even though it isn’t supported, I can confirm that the instructions from that thread still work on 2.2. For mine I just removed the current contents of els.plugins and copied the plugins directory from one of my elasticsearch 2.4.4 nodes. Works great.


(Bill Murrin) #12

I’ve been using ElasticHQ to monitor my ElasticSearch cluster. I use it as a Elasticsearch plugin.

It supports Real Time Monitoring and Cluster Management. I’m able to monitor all the vital stats with the node diagnostics.

More information on their website:
http://www.elastichq.org/

Hope that helps.
-Bill


(Max Steiner) #13

Hi all,
I’m working on the upgrade from 2.1x to 2.2 and I wonder if there is a need to shutdown Graylog service (incl. MongoDB) in order to start the upgrade. AS far as I can see the upgrade runs just as a normal installation insted, or not?

Thanks
Max


(Jan Doberstein) #14

to be save @mgsteiner you should stop Graylog, Update and restart …


(Max Steiner) #15

Thanks @Jan, the update went just fine.