Destroy cluster configuration

dignus

Renowned Member
Feb 12, 2009
155
11
83
Hi,

Due to some failures we have a non working cluster. How can I completely destroy the cluster configuration on all 3 members to I can recreate the cluster?
The machines have containers running, so I can't reinstall the machines alltogether.
 
Hi Wolfgang,

Found that URL myself, but it only speaks of removing a single node. Is it as simple as deleting all nodes one by one from our "master" node?
 
It is relative easy.

backup your /etc/pve dir.
stop pve-cluster.service and corosync.service
then destroy /etc/corosync/* and /var/lib/pve-cluster
now you can create the new cluster from scratch.
after this is done copy the backuped /etc/pve back,
but only the ./storage.cfg and ./node/<oldnode>/qemu/* and ./node/<oldnode>/lxc/*
You have to be sure the oldnode is the newnode where the vm/ct disk are.

Thats it
 
Yes except the backup and copy back.
and stop the cluster on all nodes before you start erasing.
 
I followed this instructions:

It is relative easy.

backup your /etc/pve dir.
stop pve-cluster.service and corosync.service
then destroy /etc/corosync/* and /var/lib/pve-cluster
now you can create the new cluster from scratch.
after this is done copy the backuped /etc/pve back,
but only the ./storage.cfg and ./node/<oldnode>/qemu/* and ./node/<oldnode>/lxc/*
You have to be sure the oldnode is the newnode where the vm/ct disk are.

Thats it

But, due to an error, I lost .node/* except ./storage.

I have a problem accessing web interface:

Error de conexión 401: 403 Permission check failed (permission denied - invalid PVE ticket)

Any idea?

Regards
 

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!