<div dir="ltr"><div>If you have a hardware **watchdog timer**, then sbd is a good option. With shared storage, you can also implement fence_sbd.</div><div><br></div><div>KVM virtual machines also offer an emulated hardware watchdog. I'm not sure whether that would fit your criteria or not -- it depends on whether you're only excluding a management interface like an iLO/IMM, or whether you're also excluding a watchdog timer.</div><div><br></div><div>If you can't use sbd or conventional power fencing (e.g., fence_ipmilan), then you may be able to use fence_scsi or fence_mpath since you have shared storage.</div><div><br></div><div>What hardware or virtualization platform are you running on, and is there a particular reason you don't want to associate fencing with a hardware device?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 29, 2020 at 8:34 PM Philippe M Stedman <<a href="mailto:pmstedma@us.ibm.com">pmstedma@us.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p><font size="2">Hi ClusterLabs developers,</font><br><br><font size="2">I am looking into how to develop a fencing agent for Pacemaker that is not associated to any underlying hardware device. In our case we have two servers (we will expand to more in the future) which have access to shared storage. When one of the two nodes fails, we expect the surviving node to invoke our user-defined fencing agent and run a series of commands which will "expel" the lost host from accessing shared storage.</font><br><br><font size="2">Do you have any advice on how to go about implementing such a solution? All the examples I can find online revolve around using some sort of underlying hardware device to implement fencing.<br><br>Help is greatly appreciated.<br><br>Thanks,</font><br><br><b><font size="2">Phil Stedman</font></b><br><font size="2">Db2 High Availability Development and Support<br>Email: <a href="mailto:pmstedma@us.ibm.com" target="_blank">pmstedma@us.ibm.com</a></font><br>
</p></div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/developers</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div>