virtualisierung:proxmox:pve_upgrade_6.x_to_7.x
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| virtualisierung:proxmox:pve_upgrade_6.x_to_7.x [2021/07/06 14:27] – created stone | virtualisierung:proxmox:pve_upgrade_6.x_to_7.x [2021/07/07 15:04] (current) – stone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | PVE Upgrade von Version 6.x zu 7.x | + | ====== |
| + | Anhand dieser Doku sollte ein Update von PVE Version 6.x zu 7.x durchführbar sein. | ||
| + | \\ | ||
| + | Doku von Proxmox selbst: [[https:// | ||
| + | \\ | ||
| + | |||
| + | ===== Backup Config Files ===== | ||
| + | < | ||
| + | mkdir -p / | ||
| + | tar -czf / | ||
| + | tar -czf / | ||
| + | tar -czf / | ||
| + | cp /etc/hosts / | ||
| + | cp / | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | ===== Löschen des Backup Patches (wenn vorhanden) ===== | ||
| + | Auf diesen gehe ich nicht mehr ein da man diesen sowieso nicht mehr verwenden sollte. | ||
| + | \\ | ||
| + | |||
| + | ===== Patchen bis zum aktuellen Stand von 6.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. \\ | ||
| + | |||
| + | |||
| + | < | ||
| + | Beispiel: | ||
| + | root@pve03: | ||
| + | = CHECKING VERSION INFORMATION FOR PVE PACKAGES = | ||
| + | |||
| + | Checking for package updates.. | ||
| + | PASS: all packages uptodate | ||
| + | |||
| + | Checking proxmox-ve package version.. | ||
| + | PASS: proxmox-ve package has version >= 6.4-1 | ||
| + | |||
| + | Checking running kernel version.. | ||
| + | PASS: expected running kernel ' | ||
| + | |||
| + | = CHECKING CLUSTER HEALTH/ | ||
| + | |||
| + | SKIP: standalone node. | ||
| + | |||
| + | = CHECKING HYPER-CONVERGED CEPH STATUS = | ||
| + | |||
| + | SKIP: no hyper-converged ceph setup detected! | ||
| + | |||
| + | = CHECKING CONFIGURED STORAGES = | ||
| + | |||
| + | PASS: storage ' | ||
| + | PASS: storage ' | ||
| + | PASS: storage ' | ||
| + | |||
| + | = MISCELLANEOUS CHECKS = | ||
| + | |||
| + | INFO: Checking common daemon services.. | ||
| + | PASS: systemd unit ' | ||
| + | PASS: systemd unit ' | ||
| + | PASS: systemd unit ' | ||
| + | INFO: Checking for running guests.. | ||
| + | PASS: no running guest detected. | ||
| + | INFO: Checking if the local node's hostname ' | ||
| + | INFO: Checking if resolved IP is configured on local node.. | ||
| + | PASS: Resolved node IP ' | ||
| + | INFO: Checking backup retention settings.. | ||
| + | INFO: storage ' | ||
| + | PASS: no problems found. | ||
| + | INFO: checking CIFS credential location.. | ||
| + | PASS: no CIFS credentials at outdated location found. | ||
| + | INFO: Checking custom roles for pool permissions.. | ||
| + | INFO: Checking node and guest description/ | ||
| + | PASS: All node config descriptions fit in the new limit of 64 KiB | ||
| + | PASS: All guest config descriptions fit in the new limit of 8 KiB | ||
| + | INFO: Checking storage content type configuration.. | ||
| + | PASS: no problems found | ||
| + | SKIP: NOTE: Expensive checks, like CT cgroupv2 compat, not performed without ' | ||
| + | |||
| + | = SUMMARY = | ||
| + | |||
| + | TOTAL: | ||
| + | PASSED: | ||
| + | SKIPPED: | ||
| + | WARNINGS: 0 | ||
| + | FAILURES: 0 | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ===== Upgrade PVE auf Version 7 ===== | ||
| + | |||
| + | ==== Ändern der Apt Sourcen ==== | ||
| + | Ändern alle Debain Sources | ||
| + | < | ||
| + | sed -i ' | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | ACHTUNG! Debian hat die URL vom Security-Channel geändert.\\ | ||
| + | Von: deb http:// | ||
| + | Auf: deb http:// | ||
| + | |||
| + | |||
| + | Deaktivieren ALLER PVE Version 6 Repos und ändern auf Version 7 | ||
| + | < | ||
| + | Für Enterprise: sed -i -e ' | ||
| + | Für Non-Sub: sed -i -e ' | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | Eventuell muss der Filename angepasst werden. \\ | ||
| + | Bitte nach den sed Befehlen eine optische Kontrolle der Files! \\ | ||
| + | Wenn es wo Backports Repos konfiguriert sind müssen diese gelöscht werden! \\ | ||
| + | |||
| + | |||
| + | Nur wenn Ceph im Einsatz ist | ||
| + | < | ||
| + | echo "deb http:// | ||
| + | </ | ||
| + | \\ | ||
| + | |||
| + | ==== Upgrade PVE ==== | ||
| + | Upgrade auf Debian 11 (Bullseye) und PVE 7.x (bei mir hat das Upgrade auf einer NVMe SSD ca. 6 Minuten gedauert) \\ | ||
| + | Man sollte das Update über eine Console durchführen um sicher zu sein. Via SSH geht es zur Not auch. | ||
| + | < | ||
| + | apt update | ||
| + | apt dist-upgrade | ||
| + | </ | ||
| + | \\ | ||
| + | Fragen die einem gestellt werden: | ||
| + | * Keyboard layout: German | ||
| + | * Configuration file '/ | ||
| + | * Restart Services → Y | ||
| + | * Configuring base-passwd → Y | ||
| + | * Configuration file '/ | ||
| + | * Configuring openssh-server → keep local version currently installed | ||
virtualisierung/proxmox/pve_upgrade_6.x_to_7.x.1625581655.txt.gz · Last modified: by stone
