Libro sobre Proxmox maestria
Proxmox HA- Zero Downtime
The fence_tool program is in the Linux operating system. It is used to join or leave nodes in the default fence domain. It also starts the fence daemon fenced. Even though fenced can be started or stopped without fence_tool, this small tool takes some added measures that are very helpful in a production environment. To get more information on fence_tool and other options that can be used, visit http://linux.die.net/man/8/fence_tool.
4. We are now going to edit the /etc/pve/cluster.conf file to add a fencing device. We can edit the file from the CLI and activate it from the GUI. We must remember to increase the config_version number when we make any changes to the cluster.conf file. This ensures that all the nodes will apply the new settings. Our current cluster.conf file looks as follows: <?xml version="1.0"?>
<clusternode name="pmxvm01" nodeid="1" votes="1"/> <clusternode name="pmxvm02" nodeid="2" votes="1"/> <clusternode name="pmxvm02" nodeid="3" votes="1"/> </clusternodes>
We can also see the cluster.conf file from the Proxmox GUI by navigating to Datacenter | HA. We will see cluster.conf as shown in the following screenshot: