Restore di un nodo cluster Proxmox VE

From RVM Wiki
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