Tool/scripts to assist with node rebuild

hacman

Renowned Member
Oct 11, 2013
91
8
73
Newcastle upon Tyne, UK
Hi all,

Shortly we will have to do some work to all our nodes, whereby we will re-create the boot device/partition (switching from hardware RAID to HBA with ZFS).

Ideally, it would be nice to not have to go through the whole process of kicking the node out of the cluster, and then fully reconfiguring it all (interfaces and other things) before re-joining. Since we're going to be changing the topology of the storage using some sort of imaging tool is sadly out of the question.

Are there any scripts/helper tools out there at the moment that would allow us to effectively backup the config from the node, perform a clean install, and then restore the config over the top?

I've searched but can't seem to find anything beyond manually backing up/restoring all of the various configuration directories. It's not exactly a dealbreaker if we have to do this manually, but it sure would save some time sitting in the datacentre!

Thanks!

Jon
 
It always depends on how much you customized your PVE. On github there are lots of scripts that backup and restore the usual PVE config files. They won't backup anything you changed via CLI, like limiting ZFS ARC, setting up Postfix/NUT/monitoring agents/log collectors/security hardening/... .

Only official you will find is this for backing up/restoring the database that contains the configs of /etc/pve: https://pve.proxmox.com/wiki/Proxmox_Cluster_File_System_(pmxcfs)#_recovery
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!