User Tools

Site Tools


virtualisierung:proxmox:pve_upgrade_6.x_to_7.x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virtualisierung:proxmox:pve_upgrade_6.x_to_7.x [2021/07/06 14:40] stonevirtualisierung:proxmox:pve_upgrade_6.x_to_7.x [2021/07/07 15:04] (current) stone
Line 35: Line 35:
 <code> <code>
 Beispiel: Beispiel:
-root@pve03:~# pve6to7+root@pve03:~# pve6to7 --full
 = CHECKING VERSION INFORMATION FOR PVE PACKAGES = = CHECKING VERSION INFORMATION FOR PVE PACKAGES =
  
Line 71: Line 71:
 INFO: Checking if the local node's hostname 'bowser' is resolvable.. INFO: Checking if the local node's hostname 'bowser' is resolvable..
 INFO: Checking if resolved IP is configured on local node.. INFO: Checking if resolved IP is configured on local node..
-PASS: Resolved node IP '86.59.94.247' configured and active on single interface.+PASS: Resolved node IP '192.168.134.13' configured and active on single interface.
 INFO: Checking backup retention settings.. INFO: Checking backup retention settings..
 INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups
Line 93: Line 93:
 FAILURES: 0 FAILURES: 0
 </code> </code>
 +
 +\\
 +
 +===== Upgrade PVE auf Version 7 =====
 +
 +==== Ändern der Apt Sourcen ====
 +Ändern alle Debain Sources
 +<code>
 +sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
 +</code>
 +\\
 +\\
 +
 +ACHTUNG! Debian hat die URL vom Security-Channel geändert.\\
 +Von: deb http://security.debian.org buster/updates main \\
 +Auf: deb http://security.debian.org bullseye-security main \\
 +
 +
 +Deaktivieren ALLER PVE Version 6 Repos und ändern auf Version 7
 +<code>
 +Für Enterprise: sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list.d/pve-enterprise.list
 +Für Non-Sub: sed -i -e 's/buster/bullseye/g' /etc/apt/sources.list.d/pve-install-repo.list 
 +</code>
 +\\
 +\\
 +
 +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
 +<code>
 +echo "deb http://download.proxmox.com/debian/ceph-octopus bullseye main" > /etc/apt/sources.list.d/ceph.list
 +</code>
 +\\
 +
 +==== 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.
 +<code>
 +apt update
 +apt dist-upgrade
 +</code>
 +\\
 +Fragen die einem gestellt werden: 
 +  * Keyboard layout: German
 +  * Configuration file '/etc/issue' → Y
 +  * Restart Services → Y
 +  * Configuring base-passwd → Y
 +  * Configuration file '/etc/apt/sources.list.d/pve-enterprise.list' → N
 +  * Configuring openssh-server → keep local version currently installed
virtualisierung/proxmox/pve_upgrade_6.x_to_7.x.1625582434.txt.gz · Last modified: by stone