Libro sobre Proxmox maestria
Task viewer: HA 101 - Start
Fencing must be set up before starting the actual Proxmox HA configuration process. Without a properly set up fencing, the error message shown in the following screenshot will be produced by Proxmox:
Member pmxvm01 trying to enable pvevm:101...Could not connect to resource group manager
TASK ERROR: command 'clusvcadm -e pvevm: 101 -m pmxvm01' failed: exit code 1
Before we get to the actual fencing configuration, we have to enable fencing on all nodes by performing the following steps:
1. Uncomment the very last line in the file # /etc/default/redhat-cluster-pve. Do this only on one node. The edited file should look as follows:
# this file is sourced by the following init scripts:
2. Join each node by using the following command from CLI. Do not join a node into a fence if you do not want it be part of High Availability:
If the node ever needs to be detached from fencing, then simply run the following command from the node itself:
3. After adding all the nodes, check the status using the following command: #fence tool 1s
If all went okay, then the output should look like this:
master nodeid 1 wait state none member