erase single node cluster configuration

digitech1

New Member
Jan 2, 2023
6
0
1
Hi team,

I created a single node cluster to experiment with the cluster endpoint for API purposes.

However, I do want to delete the cluster configuration from my single node PVE again and wanted to briefly make sure how the process looks like. I want to make sure I am not losing any data at all

Is that configuration correct?

systemctl stop pve-cluster corosync
pmxcfs -l
rm /etc/corosync/*
rm /etc/pve/corosync.conf
killall pmxcfs
systemctl start pve-cluster

thanks for confirmation
 
If you run the following command on a standalone machine - do you see data on the cluster endpoint eventhough its standalone?

pvesh get cluster/resources