Remove node from Cluster

mcmyst

Member
Dec 12, 2012
47
2
6
Hi,

I followed the wiki to remove 2 nodes from my cluster:
https://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster#Remove_a_cluster_node

The two nodes where successfully removed without error.

My cluster is now a 3 node cluster (5 nodes before):

pvecm nodes
Node Sts Inc Joined Name
2 M 16068 2015-01-27 15:56:48 vn10
4 M 16176 2015-05-02 02:35:58 vn11
5 M 16164 2015-04-21 12:56:50 vn7

But when I log in to the proxmox WebGUI i can still see one node with two VM (old unused VM).

How can i do to remove this node ?

When I look into /etc/pve/nodes/ I can still see 2 directories named as my old nodes:
ls -l /etc/pve/nodes/
total 0
drwxr-x--- 2 root www-data 0 Aug 21 2014 vn10
drwxr-x--- 2 root www-data 0 Aug 29 2014 vn11
drwxr-x--- 2 root www-data 0 Dec 11 2012 vn3
drwxr-x--- 2 root www-data 0 Mar 8 2013 vn6
drwxr-x--- 2 root www-data 0 Apr 4 2013 vn7


Can I safely remove this directories with "rm -r vn3" and "rm -r vn6" ?

Thank you

Regards
 
Thank you dietmar, I did the "rm" and the node disapeared from the webGUI. ;)

Problem solved !
 
1) If you follow the wiki literally it says that you have to migrate all the VMs from the node that you want to remove.
I didn't do it because theses 2 VM where not needed anymore. If I had deleted them, this problem would not have occurred.

2) It seems that when you delete a node, a directory is staying in /etc/pve/nodes/ but it does not affect anything.
You could delete it without any problem (I did it this morning without problem).

Regards