Restore di un nodo cluster Proxmox VE

From RVM Wiki
Revision as of 08:41, 18 September 2025 by Gabriele.vivinetto (talk | contribs) (Created page with "Se esistono altri nodi, occorre predisporre il mountpoint /etc/pve vuoto. Se mancano dei pacchetti, andare su un altro nodo:<pre> cd /tmp cat /etc/apt/sources.list /etc/apt/sources.list.d >sources.list dpkg --get-selections >selections.list apt-mark showauto >auto.list </pre> Andare sul nodo restorato:<pre> cd /tmp scp mynode01.example.com:/tmp/*.list . cp sources.list /etc/apt/ apt-get update /usr/lib/dpkg/methods/apt/update /var/lib/dpkg/ dpkg --set-selections <sel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Se esistono altri nodi, occorre predisporre il mountpoint /etc/pve vuoto.

Se mancano dei pacchetti, andare su un altro nodo:

cd /tmp
cat /etc/apt/sources.list /etc/apt/sources.list.d >sources.list
dpkg --get-selections >selections.list
apt-mark showauto >auto.list


Andare sul nodo restorato:

cd /tmp 
scp mynode01.example.com:/tmp/*.list .
cp sources.list /etc/apt/
apt-get update
/usr/lib/dpkg/methods/apt/update /var/lib/dpkg/
dpkg --set-selections <selections.list
apt-get dselect-upgrade
xargs apt-mark auto <auto.list

Riferimenti