P
P
Printip2015-09-18 20:25:58
Proxmox
Printip, 2015-09-18 20:25:58

How to properly delete a proxmox node?

Hello. There is a cluster on Proxmox.
There was a need to remove the node8 node.
To do this, we did what is indicated in the wiki here:
https://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluste...
1. We physically turned off our node that we want to remove from the cluster
2. We went to the master node
3. We displayed the list of nodes in the cluster with the pvecm nodes command
4. We copied the name of the node we want to drop from the cluster (node8) and gave the pvecm delnode node8 command
5. We typed the pvecm nodes command and the node8 node disappeared from the list.
But:
The node has not disappeared from the cluster management web interface. Please tell me what you missed when deleting the node?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
@
@ualinux, 2016-10-07
_

1. delete folders with GCD names from the
/etc/pve/nodes directory
2. delete lines with keys of the removed GCDs from the /etc/pve/priv/authorized_keys file
3. restart the cluster /etc/init.d/pve-cluster restart

D
Di ExTreMe, 2016-01-06
@ExTreMeUA

service pvestatd
stop
service pvedaemon stop
service cman stop
service pve-cluster stop
---------------------------
service pvestatd start
service pvedaemon start
service cman start
service pve-cluster start

N
Nick Petrov, 2017-06-01
@NickDragon

Unable to remove folder with remote node:
[email protected]:/etc/pve/nodes# rm -rf pve2
rm: cannot remove 'pve2/lrm_status': Permission denied
rm: cannot remove 'pve2/openvz': Permission denied
rm: cannot remove 'pve2/pve-ssl.pem': Permission denied
rm: cannot remove 'pve2/qemu-server': Permission denied
rm: cannot remove 'pve2/lxc': Permission denied
rm: cannot remove 'pve2/priv': Permission denied

P
Puma Thailand, 2017-06-01
@opium

tried recently on proxmox fifth, everything works fine through the
node node, the node does not need to be extinguished before deleting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question