{"id":1628,"date":"2024-11-18T04:25:11","date_gmt":"2024-11-18T02:25:11","guid":{"rendered":"https:\/\/www.shukko.com\/x3\/?p=1628"},"modified":"2024-11-18T04:25:11","modified_gmt":"2024-11-18T02:25:11","slug":"proxmox-kill-an-old-cluster-all-together","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2024\/11\/18\/proxmox-kill-an-old-cluster-all-together\/","title":{"rendered":"proxmox kill an old cluster all together"},"content":{"rendered":"\n<p>page:<\/p>\n\n\n\n<p><a href=\"https:\/\/pve.proxmox.com\/wiki\/Cluster_Manager\">https:\/\/pve.proxmox.com\/wiki\/Cluster_Manager<\/a><\/p>\n\n\n\n<p>standart cluster commands<\/p>\n\n\n\n<p>create cluster: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">pvecm create CLUSTERNAME<br><br>check state of the new cluster:<br><br>pvecm status<br><br>join node to cluster:<br><br>pvecm add IP-ADDRESS-CLUSTER<br><br>check:<br><br>pvecm status<br>pvecm nodes<br><br>remove a cluster node:<br><br>pvecm delnode hp4<br> Killing node 4<br><br>Kill an old cluster without reinstalling<br><br>systemctl stop pve-cluster<br>systemctl stop corosync<br><br>Start the cluster file system again in local mode:<br><br>pmxcfs -l<br><br>Delete the corosync configuration files:<br><br>rm \/etc\/pve\/corosync.conf<br>rm -r \/etc\/corosync\/*<br><br>You can now start the file system again as a normal service:<br><br>killall pmxcfs<br>systemctl start pve-cluster<br><br>The node is now separated from the cluster. You can deleted it from any remaining node of the cluster with:<br><br>pvecm delnode oldnode<br>If the command fails due to a loss of quorum in the remaining node, you can set the expected votes to 1 as a workaround:<br><br>pvecm expected 1<br>And then repeat the pvecm delnode command.<br><br>Now switch back to the separated node and delete all the remaining cluster files on it. This ensures that the node can be added to another cluster again without problems.<br><br>rm \/var\/lib\/corosync\/*<br>As the configuration files from the other nodes are still in the cluster file system, you may want to clean those up too. After making absolutely sure that you have the correct node name, you can simply remove the entire directory recursively from \/etc\/pve\/nodes\/NODENAME.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>page: https:\/\/pve.proxmox.com\/wiki\/Cluster_Manager standart cluster commands create cluster: pvecm create CLUSTERNAMEcheck state of the new cluster:pvecm statusjoin node to cluster:pvecm add IP-ADDRESS-CLUSTERcheck:pvecm statuspvecm nodesremove a cluster node:pvecm delnode hp4 Killing node 4Kill an old cluster without reinstallingsystemctl stop pve-clustersystemctl stop corosyncStart the cluster file system again in local mode:pmxcfs -lDelete the corosync configuration files:rm \/etc\/pve\/corosync.confrm -r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1628","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1628"}],"version-history":[{"count":1,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1628\/revisions"}],"predecessor-version":[{"id":1629,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1628\/revisions\/1629"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}