Projekt

Allgemein

Profil

Aktionen

Aufgabe #1723

offen

Aktualisierung PBS (Proxmox Backup Server 2.4 auf 3)

Von MaximilianTraenkler vor 8 Monaten hinzugefügt. Vor 8 Monaten aktualisiert.

Status:
Feedback
Priorität:
Hoch
Kategorie:
Proxmox (Cluster)
Beginn:
21.08.2023
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:


Zugehörige Tickets 1 (1 offen0 geschlossen)

Beziehung mit Bereich Administration Rechentechnik - Aufgabe #1666: Aktualisierung PVE (Proxmox Virtual Environment) auf Version 8 (von Version 7)FeedbackBetreuung Betriebssystem PVE26.07.202326.07.2023

Aktionen
Aktionen #1

Von MaximilianTraenkler vor 8 Monaten aktualisiert

MaximilianTraenkler schrieb:

Hier gibt es auch Upgrade Instructions:
https://pbs.proxmox.com/wiki/index.php/Upgrade_from_2_to_3

Update wurde mit Zuhilfename des Wikieintrags duchgeführt und ist erfolgreich.

Update von PBS auf den neusten Stand:

apt update
apt dist-upgrade

Cleanup mit gibt ca. 5 GB frei:

apt autoremove

Backup der proxmox backup konfiguration:

tar czf "pbs2-etc-backup-$(date -I).tar.gz" -C "/etc" "proxmox-backup" 

Per sftp wurde die Datei vorübergehend "sichergestellt"

Check ob root mount point (rpool) genug Speicherplatz hat für das Upgrade (min. 5 GB). Das ist der Fall!

df -h /

Maintenance Mode aktivieren:

proxmox-backup-manager datastore update backup --maintenance-mode read-only

Update APT repositories

Hierbei wird "bullseye" mit "bookworm" ausgetauscht

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list

Mit dem nachfolgenden Kommando wird /etc/apt/aources.list.d/pbs-enterprise.list aktualisiert (Der Inhalt ist aber auskommentiert). Womöglich relevant, wenn PBS enterprise genutzt wird. Aber im Sinne der vollständigkeit wird es auch ausgeführt.

sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list.d/*.list

Dist Upgrade

Als erstes werden die package index dateien aktualisiert:

apt update

Dann wurde das Upgrade durchgeführt:

apt dist-upgrade

Anschließend werde ich zu Einstellungen abgefragt:

  • Keyboard Layout -> Es wurde "German" ausgewählt.
  • Automatisches starten von "iperf3" als deamon beim booten und auch sofort? -> Es wurde "No" ausgewählt
  • Configuration file '/etc/issue'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** issue (Y/I/N/O/D/Z) [default=N] ?
    
    Der Unterschied beider versionen ist folgender:
    --- /etc/issue  2023-09-06 09:56:33.086729172 +0200
    +++ /etc/issue.dpkg-new 2023-07-14 18:00:00.000000000 +0200
    @@ -1,10 +1,2 @@
    -
    -------------------------------------------------------------------------------
    -
    -Welcome to the Proxmox Backup Server. Please use your web browser to
    -configure this server - connect to:
    -
    - https://10.1.0.51:8007/
    -
    -------------------------------------------------------------------------------
    +Debian GNU/Linux 12 \n \l
    
    Default is the way to go! -> N
  • There are services installed on your system which need to be restarted when certain libraries,  
    such as libpam, libc, andl ibssl, are upgraded. Since these restarts may cause interruptions
    of service for the system, you will normally be prompted on each upgrade for the list
    of services you wish to restart. You can choose this option to avoid being prompted; instead,
    all necessary restarts will be done for you automatically so you can avoid being asked 
    questions on each library upgrade.
    
    Restart services during package upgrades without asking?
    
    -> Yes
  • Configuration file '/etc/apt/sources.list.d/pbs-enterprise.list'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** pbs-enterprise.list (Y/I/N/O/D/Z) [default=N] ? 
    
    Der Unterschied:
    *** pbs-enterprise.list (Y/I/N/O/D/Z) [default=N] ? D
    --- /etc/apt/sources.list.d/pbs-enterprise.list 2023-09-06 12:46:14.670683759 +0200
    +++ /etc/apt/sources.list.d/pbs-enterprise.list.dpkg-new        2023-06-27 11:04:39.000000000 +0200
    @@ -1,2 +1 @@
    -# deb https://enterprise.proxmox.com/debian/pbs bookworm pbs-enterprise
    -
    +deb https://enterprise.proxmox.com/debian/pbs bookworm pbs-enterprise
    
    Wie wollen den default! -> N

"apt dist-upgrade" wurde damit erfolgreich durchgeführt.

System wir neu gestartet.

systemctl status proxmox-backup-proxy.service proxmox-backup.service

Das Ergebniss -> beides active(running)

Maintenance mode deaktivieren mit:

proxmox-backup-manager datastore update backup --delete maintenance-mode

System ist erreichbar und die services laufen, PBS 3.0-2 mit dem Kerne 6.2.16-12 läuft.
Fett!

Aktionen #2

Von MaximilianTraenkler vor 8 Monaten aktualisiert

  • Status wurde von In Bearbeitung zu Feedback geändert
  • Zugewiesen an wurde von Zuständigkeit Instandhaltung IT-Services zu Bereich Administration Rechentechnik geändert
Aktionen #3

Von MaximilianTraenkler vor 8 Monaten aktualisiert

  • Beziehung mit Aufgabe #1666: Aktualisierung PVE (Proxmox Virtual Environment) auf Version 8 (von Version 7) wurde hinzugefügt
Aktionen

Auch abrufbar als: Atom PDF