This is an old revision of the document!
Table of Contents
PVE Upgrade von Version 7.x zu 8.x
Anhand dieser Doku sollte ein Update von PVE Version 7.x zu 8.x durchführbar sein.
Doku von Proxmox selbst: https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
Backup Config Files
mkdir -p /root/backup/`date '+%Y%m%d'` tar -czf /root/backup/`date '+%Y%m%d'`/pve-cluster-backup.tar.gz /var/lib/pve-cluster tar -czf /root/backup/`date '+%Y%m%d'`/ssh-backup.tar.gz /root/.ssh tar -czf /root/backup/`date '+%Y%m%d'`/corosync-backup.tar.gz /etc/corosync cp /etc/hosts /root/backup/`date '+%Y%m%d'`/ cp /etc/network/interfaces /root/backup/`date '+%Y%m%d'`/
Patchen bis zum aktuellen Stand von 7.x
apt-get update apt-get dist-upgrade reboot
Upgrade Check
PVE bringt wieder Upgrade Check mit. Mit diesem kann man checken lassen ob ein Upgrade möglich wäre.
sfasdf asdf asdf asdf
Hat man eine ältere PVE Installation die schon von Version 6 auf 7 gepatcht hat oder sogar noch älter ist so kann es vor kommen das es ein Warning gibt bezüglich des NTP Services. Wird systemd-timesyncd eingesetzt so sollte man dies ändern. Endlich ist die Welt drauf gekommen das dies ein scheiss Service ist. PVE verwendet aktuell als Standard Chrony.
Installation Chrony
apt install chrony vim /etc/chrony/chrony.conf
Hier kann man die gewünschten NTP Server eintragen.
Checken ob die NTP Verbindung richtig funktioniert kann man mit
chronyc tracking
chronyc sources
Parameter 'maxfiles' is deprecated
Bekommt man diese Warnung liegt das auch daran das man sein System schon länger bereibt.
Hier kann man auf einer Node im Cluster die Storage.cfg editieren
vim /etc/pve/storage.cfg ... ... maxfiles 5 ...
Hier einfach maxfiles 5 gegen prune-backups 5 ersetzten.
