Hu Bert
2020-Feb-18 07:51 UTC
[Gluster-users] recommendation: gluster version upgrade and/or OS dist-upgrade
Hello, i currently have a replicate 3 setup, gluster version 5.11 and debian stretch. In the next weeks i want to migrate to gluster version 6.x and upgrade the OS to debian buster. So... any recommendation of what to do first? First upgrade gluster or the operating system? Thx, Hubert
Hu Bert
2020-Feb-18 08:00 UTC
[Gluster-users] recommendation: gluster version upgrade and/or OS dist-upgrade
ah, the reason why i was asking: i wanted to do the dist-upgrade and the installation of the debian buster glusterfs-packages in one step, which led me to the following error message: Errors were encountered while processing: /tmp/apt-dpkg-install-FRTZ1D/139-glusterfs-common_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/140-libglusterfs0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/141-libgfxdr0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/142-libgfrpc0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/143-libgfapi0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/144-libgfchangelog0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/145-libgfdb0_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/150-libglusterfs-dev_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/163-glusterfs-client_5.10-1_amd64.deb /tmp/apt-dpkg-install-FRTZ1D/164-glusterfs-server_5.10-1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) so i first did the dist-upgrade; but the buster-glusterfs-packages didn't want to install again, so i had to remove the "old" glusterfs packages and install the buster packages. Strange. Am Di., 18. Feb. 2020 um 08:51 Uhr schrieb Hu Bert <revirii at googlemail.com>:> > Hello, > > i currently have a replicate 3 setup, gluster version 5.11 and debian > stretch. In the next weeks i want to migrate to gluster version 6.x > and upgrade the OS to debian buster. > > So... any recommendation of what to do first? First upgrade gluster or > the operating system? > > > Thx, > Hubert
Michael Böhm
2020-Feb-19 08:49 UTC
[Gluster-users] recommendation: gluster version upgrade and/or OS dist-upgrade
Am Di., 18. Feb. 2020 um 08:51 Uhr schrieb Hu Bert <revirii at googlemail.com>:> Hello, > > i currently have a replicate 3 setup, gluster version 5.11 and debian > stretch. In the next weeks i want to migrate to gluster version 6.x > and upgrade the OS to debian buster. > > So... any recommendation of what to do first? First upgrade gluster or > the operating system? >Hello Hubert, i needed to do this a while ago, in my case it was a Proxmox-Cluster based on the Debian Stretch upgrade to Buster while also upgrading gluster up to v7. The way i did it: 1. i had the "normal" stretch gluster packages installed (3.8) not the backports (4.1), so i first needed to upgrade gluster to 3.12 and move on from there (see [1]). You may be able to skip the next step. 2. i activated the old-releases gluster repos for 3.12 [2] and upgrade from 3.8(debian) to 3.12(gluster) 3. after this i switched to the "latest" repo and upgraded to v7 while still running stretch 4. then i upgraded stretch to buster, while gluster repos where commented out 5. after the dist-upgrade i switched the gluster repos to the buster ones and activated them again I write this all from memory as i am not at work atm, but this should be it. I also can say, that i did all the upgrades online (couldn't afford to stop all the vm's) - and to my surprise everything went without a big problem. Good luck Mika [1] https://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_7/ or https://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_6/ [2] https://download.gluster.org/pub/gluster/glusterfs/old-releases/3.12/LATEST/Debian/9/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200219/7c4a7c35/attachment.html>