Hi Stefan, I would backup Gluster's dir in /etc .You don't need to restore any configuration files after the update, but it's good to have them backed up. Best Regards,Strahil Nikolov On Tue, May 11, 2021 at 10:11, Stefan Solbrig<stefan.solbrig at ur.de> wrote: Dear all, I was wondering what is the prefered way to upgrade the server OS (not glusterd) for a GlusterFS. I'm running a distributed-only system (no replication) on centos 7, planning an upgrade to centos 8 stream. I suppose a possible way is like this: * unmount file system on all clients * stop cluster * copy data in /var/lib/glusterd * upgrade all servers * restore data in /var/lib/glusterd Could you please advise me if: - the files in /var/lib/glusterd? are all that is needed? - or can I regenerate these from other data? best wishes, Stefan ________ Community Meeting Calendar: Schedule - Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC Bridge: https://meet.google.com/cpu-eiue-hvk Gluster-users mailing list Gluster-users at gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20210511/7c0603e6/attachment.html>
Stefan Solbrig
2021-May-12 10:02 UTC
[Gluster-users] [EXT] upgrading OS on gluster servers
Hi Strahli, Thank you for the quick answer! Sorry I have to ask again: as far as I can see, Gluster keeps all information about peers, bricks, in /var/lib/glusterd. So if I migrate to a new OS, it seems that I have to restore them. Or would you suggest rather to re-generate them by repeating all "peer probe ..." and "volume brick-add ..." commands? best wishes, Stefan -- Dr. Stefan Solbrig Universit?t Regensburg, Fakult?t f?r Physik, 93040 Regensburg, Germany Tel +49-941-943-2097> Am 11.05.2021 um 13:46 schrieb Strahil Nikolov <hunter86_bg at yahoo.com>: > > Hi Stefan, > > > I would backup Gluster's dir in /etc . > You don't need to restore any configuration files after the update, but it's good to have them backed up. > > Best Regards, > Strahil Nikolov > > > On Tue, May 11, 2021 at 10:11, Stefan Solbrig > <stefan.solbrig at ur.de> wrote: > Dear all, > > I was wondering what is the prefered way to upgrade the server OS (not glusterd) for a GlusterFS. > I'm running a distributed-only system (no replication) on centos 7, planning an upgrade to centos 8 stream. > > I suppose a possible way is like this: > > * unmount file system on all clients > * stop cluster > * copy data in /var/lib/glusterd > * upgrade all servers > * restore data in /var/lib/glusterd > > Could you please advise me if: > - the files in /var/lib/glusterd are all that is needed? > - or can I regenerate these from other data? > > best wishes, > Stefan > > > ________ > > > > Community Meeting Calendar: > > Schedule - > Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC > Bridge: https://meet.google.com/cpu-eiue-hvk <https://meet.google.com/cpu-eiue-hvk> > Gluster-users mailing list > Gluster-users at gluster.org <mailto:Gluster-users at gluster.org> > https://lists.gluster.org/mailman/listinfo/gluster-users <https://lists.gluster.org/mailman/listinfo/gluster-users>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20210512/f058e094/attachment.html>