[SOLVED] "Undo" Cluster Create

wizardofzos

New Member
Nov 7, 2020
3
1
1
48
Hiya,

I've been running a ProxMox instance for quite a while and then had a 'spare' physical machine I wanted to try 'clustering' with.
With some help from the online manuals, and the forums it was quite easy to setup the cluster and add the second node...

However, it turns out when I switch off the 'extra' node, the machines on the orignal node are switched off too.

Can't seem to set 'exptected' nodes to 1 on both the nodes....And would really like to 'revert' to a pre-cluster setup where it's just the one pve hosting my VM's.... (and I'll reinstall the other machine to a standalone version, as I don't want it powered on all the time...)

Now some manuals/forum posts (like this one: https://forum.proxmox.com/threads/proxmox-ve-6-removing-cluster-configuration.56259/) link to these actions
Code:
systemctl stop pve-cluster corosync
pmxcfs -l
rm /etc/corosync/*
rm /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster

But i'm not quite sure if that's what I want ....

Isn't there a way to just 'uncluster' the entire cluster?
 
  • Like
Reactions: roibard
There is no single button or similar to completely disband a cluster.

But i'm not quite sure if that's what I want ....

What makes you unsure? Looks like what you want to me.
 
hi,

With some help from the online manuals, and the forums it was quite easy to setup the cluster and add the second node...

However, it turns out when I switch off the 'extra' node, the machines on the orignal node are switched off too.
yes, this is to be expected - with 2 nodes you need both of the votes to have the quorum (majority of votes)

Can't seem to set 'exptected' nodes to 1 on both the nodes....And would really like to 'revert' to a pre-cluster setup where it's just the one pve hosting my VM's.... (and I'll reinstall the other machine to a standalone version, as I don't want it powered on all the time...)
if you want to de-cluster your machines then you should follow the steps you posted. first migrate all your VM/CT to one node and then separate the other.

alternatively you can have a look into qdevice support [0], this would allow you to have a small device like a raspberry pi as a 3rd node to act as an arbiter.
it provides an extra vote to the cluster, this way you can keep one node offline (since with 3 total votes you need 2 votes for majority, 1 from your PVE and 1 from the raspi)

hope this helps.

[0]: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#_corosync_external_vote_support
 
  • Like
Reactions: Dominic
Well.....with some fear I started this.

I've all VM's on one node. And then did the commands (as stated at the start of the thread) on THAT node....

That did not work...

Rebooting the 'active' node and all was in 'original state' again.

Then (why not) tried the commands on Node2... THAT WORKED...

Deleting the NODE2 from NODE1 (via pvecm delnode <node2>) only worked after issuing a "pvecm expected 1"

Case closed... trying to set subject to "SOLVED" :)
 
Hiya,

I've been running a ProxMox instance for quite a while and then had a 'spare' physical machine I wanted to try 'clustering' with.
With some help from the online manuals, and the forums it was quite easy to setup the cluster and add the second node...

However, it turns out when I switch off the 'extra' node, the machines on the orignal node are switched off too.

Can't seem to set 'exptected' nodes to 1 on both the nodes....And would really like to 'revert' to a pre-cluster setup where it's just the one pve hosting my VM's.... (and I'll reinstall the other machine to a standalone version, as I don't want it powered on all the time...)

Now some manuals/forum posts (like this one: https://forum.proxmox.com/threads/proxmox-ve-6-removing-cluster-configuration.56259/) link to these actions
Code:
systemctl stop pve-cluster corosync
pmxcfs -l
rm /etc/corosync/*
rm /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster

But i'm not quite sure if that's what I want ....

Isn't there a way to just 'uncluster' the entire cluster?
Thanks.. After 5 days of almost hanging myself for not being able to get into my PVE environment for trying to remove a node i added to test with, this helped me in not rebuilding my whole PVE infrastructure
 

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!