Fencing with Pacemaker

  • Thread starter Thread starter jerim
  • Start date Start date
J

jerim

Guest
So I have four Proxmox nodes. I just got finished setting up a DRBD cluster to use for NFS storage. I am trying to get the Proxmox nodes setup in a similar HA cluster. On DRBD I used fence_pcmk, which I am trying to implement in the Proxmod cluster. I haven't been able to find examples of the /etc/pve/cluster.conf to go by, so I am posting mine in hopes that someone can point out any problems with it. I am having some minor issues and I just want to check that my cluster.conf is correct first:

Code:
<?xml version="1.0"?><cluster name="Cluster" config_version="6">
    <cman keyfile="/var/lib/pve-cluster/corosync.authkey">
    </cman>


    <fencedevices>
        <fencedevice agent="fence_pcmk" name="pcmk" power_wait="5"/>
    </fencedevices>


    <clusternodes>
        <clusternode name="Node1" votes="1" nodeid="1">
                <fence>
                        <method name="1">
                                <device name="pcmk"/>
                        </method>
                </fence>
        </clusternode>


        <clusternode name="Node2" votes="1" nodeid="2">
                <fence>
                        <method name="1">
                                <device name="pcmk"/>
                        </method>
                </fence>
        </clusternode>


        <clusternode name="Node3" votes="1" nodeid="3">
                <fence>
                        <method name="1">
                                <device name="pcmk"/>
                        </method>
                </fence>
        </clusternode>


        <clusternode name="Node4" votes="1" nodeid="4">
                <fence>
                        <method name="1">
                                <device name="pcmk"/>
                        </method>
                </fence>
        </clusternode>
</clusternodes>


<rm>
</rm>
</cluster>
 
Last edited by a moderator:
Proxmox itself doesn't use pacemaker but I should be able to install pacemaker and use it as a fencing agent. At least that is what I did on my DRBD cluster. Unless of course Proxmox doesn't support pacemaker as a fencing agent.