Discussion:
[PVE-User] In-place upgrade and clusters...
Marco Gaiarin
2018-09-04 16:29:35 UTC
Permalink
I've upgraded some standalone PVE installation with 'In-place upgrade'
method:
https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0#In-place_upgrade
without a fuss.

And in this page the note:

If you run a PVE 4 cluster it's tested and supported to add a PVE 5 node and migrate your guests to the new host.

seem confident to me that the answer to my answer is 'yes'... but...


Upgrading a cluster, can i upgrade node by node, migrating VMs/CTs to
other nodes, without troubles if the source node and the target node
run different PVE versions (latest 4.X and latest 5.X)?

Or i've to shutdown all the VMs/CTs and upgrade all the cluster at the
same time?


Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Mark Schouten
2018-09-04 19:08:32 UTC
Permalink
I’ve been able to migrate VM’s between upgraded and ‘old’ nodes. Not all VM’s survived it without crashing, but I’m not sure what caused it (might be Ceph client stuff as well).
Post by Marco Gaiarin
I've upgraded some standalone PVE installation with 'In-place upgrade'
https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0#In-place_upgrade
without a fuss.
If you run a PVE 4 cluster it's tested and supported to add a PVE 5 node and migrate your guests to the new host.
seem confident to me that the answer to my answer is 'yes'... but...
Upgrading a cluster, can i upgrade node by node, migrating VMs/CTs to
other nodes, without troubles if the source node and the target node
run different PVE versions (latest 4.X and latest 5.X)?
Or i've to shutdown all the VMs/CTs and upgrade all the cluster at the
same time?
Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
_______________________________________________
pve-user mailing list
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Marco Gaiarin
2018-09-05 14:20:16 UTC
Permalink
Mandi! Mark Schouten
In chel di` si favelave...
Post by Mark Schouten
I’ve been able to migrate VM’s between upgraded and ‘old’ nodes. Not all VM’s survived it without crashing, but I’m not sure what caused it (might be Ceph client stuff as well).
So seems that, in upgrading a cluster:

a) moving VMs/CTs from 4.X to 5.X is supported, as documented in the
wiki

b) moving VMs/CTs from 5.X and 4.X works with some troubles.


So, probably the best upgrade path will be:

1) move all the VMs/CTs out of a node (or, if possible, stop them).

2) upgrade the node from 4.X to 5.X, reboot (repeat as needed)

3) move all the VMs/CTs in a node to the upgraded node(s), repeat step
2).


Right?
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Mark Schouten
2018-09-05 14:54:25 UTC
Permalink
Post by Marco Gaiarin
1) move all the VMs/CTs out of a node (or, if possible, stop them).
2) upgrade the node from 4.X to 5.X, reboot (repeat as needed)
3) move all the VMs/CTs in a node to the upgraded node(s), repeat step
2).
Yes. That works for me. But beware that you need to upgrade Ceph first
(if used) and not to reboot in between. Because otherwise you end up
with mon's and osd's of different versions in the same cluster, which
is unsupported.
--
Kerio Operator in de Cloud? https://www.kerioindecloud.nl/
Mark Schouten | Tuxis Internet Engineering
KvK: 61527076 | http://www.tuxis.nl/
T: 0318 200208 | ***@tuxis.nl
Marco Gaiarin
2018-09-06 12:23:51 UTC
Permalink
Mandi! Mark Schouten
In chel di` si favelave...
Post by Mark Schouten
Yes. That works for me.
OK. Thanks.
Post by Mark Schouten
But beware that you need to upgrade Ceph first
(if used) and not to reboot in between. Because otherwise you end up
with mon's and osd's of different versions in the same cluster, which
is unsupported.
...I've also a Ceph cluster, but the upgrade of that is scheduled a bit
later... ;-)))

For now, i've to upgrade the non-ceph cluster. Thanks.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Loading...