It is not like you cannot readd the same node in same cluster. But in a cluster node there are more things involved than pvecm delnode deletes.
i understand this. I just expect a FOSS project to explain in some way all procedures, problems and all things involved. even "more things".
I use the following procedure to delete a node from the cluster and readd later if i want to:
I've seen you procedure before, and while I could use that too, since it is an "unsupported" way (see
this and
this), I wish to know what every step does and why. And the wiki reports also
this, similar in some points but not the same thing
- official (supported) procedure -
1) delete the node (from another cluster member)
2) Shut server down & re-install from scratch
3) rejoin your node
- your procedure -
1) backup pve-cluster related file/folders.
2) stop pve-cluster service
3) unmount a folder
4) stop cman service
5) delete relevant files/folders (configs?)
6) restart pve-cluster service
7) rejoin your node
btw:
* why backup those files, since you're not going to use them again? just for safety, to revert (how if)?
* what about cman? is it started in other ways?
* will the pve-cluster service restart recreate all needed files/folder/configs?
- wiki procedure-
1) stop services pvestatd, pvedaemon, cman, pve-cluster
2) backup pve-cluster related file/folders.
3) backup /root/.ssh, note down two existing ssh symlinks
4) Shut server down & re-install from scratch. Make sure the hostname is the same as it was before you continue.
5) stop services pvestatd, pvedaemon, cman, pve-cluster
6) restore saved /root/.ssh
7) restore saved pve-cluster related file/folders.
8) restart services pve-cluster and cman
9) restore two ssh symlinks
10) restart services pvestatd, pvedaemon
11) rejoin your node
I would just like very much to see some proxmox team member jump in, at least and comment it, saying what works and what not, and why. if those are not the recommended way, unsupported, but cannot harm the cluster in any way, maybe it's just too complicated for beginners, but from the technical point it can work well. I feel some "obscurity" about these cluster concepts and operations, here and I dont' know why.
We are not talking about common linux clustering software (like cman), pvecm is a proxmox software, there's the "man" but nearly nothing else. Or, I could not find it.
Oh yes, if I was a coder, I could read & understand all cluster related code, and then figure it out, just until code changes and I have to restart...
this is why I also started this thread
http://forum.proxmox.com/threads/16...quot-cluster-docs-and-operations-quot-section
but it seems that my threads get zero responses these days... :-D
Thanks for your procedure, anyway
Marco