Add proxmox 5.x to Proxmox Culster ver 4.x

D.P.

Member
May 13, 2016
34
1
6
56
Hi!
I have Proxmox cluster version 4.4 with Ceph and I'm going to add to it a new brand server with Proxmox version 5.1.

Can there be any problems? Do I have anything to pay attention to?
I plan to upgrade all servers to version 5.1.

Regards,
Darek
 
Thank you for this tip.
Can I mix Proxmox 4.x and 5.1 hosts in one cluster?
 
So, If I want to upgrade Proxmox 4.4 cluster to 5.1: I must shutdown all cluster's hosts and
upgrade host one by one according to this document: https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0
Where in the wiki article does it say that? You can mix 4.x with 5.x for the purpose of the upgrade. On migration of your VMs/CTs you might not be able to migrate back to the 4.x hosts.
 
Yes. I think you can use ansible for that.
For exampe:

Prepare:
  • apt-get update in one node
  • copy /var/lib/apt/lists folder to ansible host
  • create apt-cacher-ng
Run ansible on all servers with step like this:
  • do snapshot of your data+os
  • copy /var/lib/apt/lists
  • Setup apt-cacher-ng address.
  • Disable cluster network.
  • Do apt-get distr-upgrade in all machine.
  • Reboot all machine
Enjoy! This is suitable for simple cluster. You need to test it in your test lab.
 
  • Like
Reactions: D.P.

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!