The correct way to centrally maintain PVE clusters

sky_me

Member
Dec 27, 2021
16
0
6
23
hi
I'm confused and I don't feel like I'm going the right way. When a host in my cluster has a hardware failure and needs to be shut down for replacement. I have to do:
1. Migrate the virtual machine on the host machine.
2. Click the shutdown button on the host interface on the web
3. After shutting down, replace and turn on the
4. Check the status of the host in the cluster
5. Migrate virtual machines back in batches.
But I also read that according to this method, the host machine should be separated from the cluster before proceeding.

#systemctl stop pve-cluster.service
#systemctl stop corosync.service
#pmxcfs -l
#rm /etc/pve/corosync.conf
#rm -rf /etc/corosync/*
#killall pmxcfs#pvecm delnode <faulty_node_name>
After the repair is completed, rejoin the cluster through the web UI.
What is the correct one? I'm confused.

thks
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!