Discussion:
[graylog2] How to upgrade Graylog 2.1 > 2.2 ?
d***@gmail.com
2017-02-14 22:26:12 UTC
Permalink
I looked here http://docs.graylog.org/en/2.2/pages/upgrade.html and don't
see any directions for upgrading Graylog 2.1 to 2.2. A Stackoverflow
post[1] mentions backing up /etc/gralog2.conf and simply untarring the new
graylog. Is this the correct upgrade path? I've already posted this
question by accident to the SELKS group so I have ruled out that I've
likely missed something completely obvious.

Thanks

[1]
http://stackoverflow.com/questions/25438095/how-can-i-upgrade-graylog2-to-a-newer-version
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/a8034597-15c2-4937-ab6c-052a7d89b6d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jochen Schalanda
2017-02-15 09:09:36 UTC
Permalink
Hi,

you can find upgrade instructions in the documentation, depending on how
you've installed Graylog in the first place.

http://docs.graylog.org/en/2.2/pages/configuration/graylog_ctl.html#upgrade-graylog
http://docs.graylog.org/en/2.2/pages/installation/operating_system_packages.html#deb-apt
http://docs.graylog.org/en/2.2/pages/installation/operating_system_packages.html#rpm-yum-dnf

Cheers,
Jochen
Post by d***@gmail.com
I looked here http://docs.graylog.org/en/2.2/pages/upgrade.html and
don't see any directions for upgrading Graylog 2.1 to 2.2. A Stackoverflow
post[1] mentions backing up /etc/gralog2.conf and simply untarring the new
graylog. Is this the correct upgrade path? I've already posted this
question by accident to the SELKS group so I have ruled out that I've
likely missed something completely obvious.
Thanks
[1]
http://stackoverflow.com/questions/25438095/how-can-i-upgrade-graylog2-to-a-newer-version
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/67a4f0c8-c3a2-42ca-9ca1-628f9afe2c18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
d***@gmail.com
2017-02-15 15:31:24 UTC
Permalink
Post by Jochen Schalanda
Hi,
you can find upgrade instructions in the documentation, depending on how
you've installed Graylog in the first place.
Thanks. Very painless upgrade on Ubuntu.
# wget
https://packages.graylog2.org/repo/packages/graylog-2.2-repository_latest.deb
# apt-get update
# apt-get install graylog-server (install overwrites
/etc/graylog/server/server.conf so save a copy)
# reboot

Before rebooting, I applied my changes from a saved copy of
/etc/graylog/server/server.conf. After the reboot everything worked great
including LDAP user roles and access to streams. Well done!
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/2689b385-5522-431c-b4af-7129fc1d271e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jouni Karvo
2017-02-16 09:34:07 UTC
Permalink
hi,

Is is possible to do a rolling upgrade to a graylog cluster (from 2.1 to
2.2)? If so, should I upgrade master first or non-master nodes first?
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/8682d44a-d0f0-4167-b460-53c8d580563f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jochen Schalanda
2017-02-16 10:08:36 UTC
Permalink
Hi,
Post by Jouni Karvo
Is is possible to do a rolling upgrade to a graylog cluster (from 2.1 to
2.2)? If so, should I upgrade master first or non-master nodes first?
Due to some changes in the index management it's not possible to do a
rolling upgrade from Graylog 2.x to Graylog 2.2.0.

You should upgrade and start the master node first, then the upgrade and
start the secondary nodes.

Cheers,
Jochen
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/0ce56a86-0ca6-40fd-93e1-026480855dae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Henri Volotinen
2017-02-16 18:18:23 UTC
Permalink
Hi,

So rolling upgrade is not supported? Good to know, because I was going to
upgrade our production setup (with 3 graylog-server nodes version 2.1.3)
using the rolling upgrade method.

So basically the upgrade steps are in my scenario are:
1) Shutdown all (three) graylog-server nodes
2) Upgrade all (three) graylog-server nodes to version 2.2.0
3) Start the master node and wait for it to do some indexing magic to the
Elasticsearch cluster until it fully starts up
4) Start the other two non-master nodes

Is this the correct way to do the upgrade?

Thanks!

Br,
Henri
Post by Jochen Schalanda
Hi,
Post by Jouni Karvo
Is is possible to do a rolling upgrade to a graylog cluster (from 2.1 to
2.2)? If so, should I upgrade master first or non-master nodes first?
Due to some changes in the index management it's not possible to do a
rolling upgrade from Graylog 2.x to Graylog 2.2.0.
You should upgrade and start the master node first, then the upgrade and
start the secondary nodes.
Cheers,
Jochen
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/30bc6f68-b2c0-4733-879b-26ab11351834%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan Doberstein
2017-02-17 08:52:04 UTC
Permalink
Hej Henri,

this will be the best method for upgrading your environment.

with kind regards
Jan
Post by Henri Volotinen
Hi,
So rolling upgrade is not supported? Good to know, because I was going to
upgrade our production setup (with 3 graylog-server nodes version 2.1.3)
using the rolling upgrade method.
1) Shutdown all (three) graylog-server nodes
2) Upgrade all (three) graylog-server nodes to version 2.2.0
3) Start the master node and wait for it to do some indexing magic to the
Elasticsearch cluster until it fully starts up
4) Start the other two non-master nodes
Is this the correct way to do the upgrade?
Thanks!
Br,
Henri
Post by Jochen Schalanda
Hi,
Post by Jouni Karvo
Is is possible to do a rolling upgrade to a graylog cluster (from 2.1 to
2.2)? If so, should I upgrade master first or non-master nodes first?
Due to some changes in the index management it's not possible to do a
rolling upgrade from Graylog 2.x to Graylog 2.2.0.
You should upgrade and start the master node first, then the upgrade and
start the secondary nodes.
Cheers,
Jochen
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/e72f951e-48ff-41e4-ac20-0f1049cf10fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Henri Volotinen
2017-02-17 09:02:59 UTC
Permalink
Hey!

Okay, thank you! This is extremely valuable information.

Br,
Henri
Post by Jan Doberstein
Hej Henri,
this will be the best method for upgrading your environment.
with kind regards
Jan
Post by Henri Volotinen
Hi,
So rolling upgrade is not supported? Good to know, because I was going to
upgrade our production setup (with 3 graylog-server nodes version 2.1.3)
using the rolling upgrade method.
1) Shutdown all (three) graylog-server nodes
2) Upgrade all (three) graylog-server nodes to version 2.2.0
3) Start the master node and wait for it to do some indexing magic to the
Elasticsearch cluster until it fully starts up
4) Start the other two non-master nodes
Is this the correct way to do the upgrade?
Thanks!
Br,
Henri
Post by Jochen Schalanda
Hi,
Post by Jouni Karvo
Is is possible to do a rolling upgrade to a graylog cluster (from 2.1
to 2.2)? If so, should I upgrade master first or non-master nodes first?
Due to some changes in the index management it's not possible to do a
rolling upgrade from Graylog 2.x to Graylog 2.2.0.
You should upgrade and start the master node first, then the upgrade and
start the secondary nodes.
Cheers,
Jochen
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/6681fa6c-3665-409e-850e-adc1d8402ccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Danie de Jager
2017-02-15 10:15:27 UTC
Permalink
I used the Centos Repo to do my original install. I added the repo for 2.2
which replaced 2.1 after I ran "yum update"
Post by d***@gmail.com
I looked here http://docs.graylog.org/en/2.2/pages/upgrade.html and
don't see any directions for upgrading Graylog 2.1 to 2.2. A Stackoverflow
post[1] mentions backing up /etc/gralog2.conf and simply untarring the new
graylog. Is this the correct upgrade path? I've already posted this
question by accident to the SELKS group so I have ruled out that I've
likely missed something completely obvious.
Thanks
[1]
http://stackoverflow.com/questions/25438095/how-can-i-upgrade-graylog2-to-a-newer-version
--
You received this message because you are subscribed to the Google Groups "Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/59a480fd-ae6c-44c9-88ad-9becc137cd4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...