<div dir="ltr">Hi Ken,<div><br></div><div>Am trying to create shared storage with clvm/gfs2 and when I try to fence I only see scsi option but my storage is conencted through FC is there any otherways can I fence my 1G stonith device other than scsi?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 2:03 PM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 08/02/16 01:56 PM, Ferenc Wágner wrote:<br>
> Ken Gaillot <<a href="mailto:kgaillot@redhat.com">kgaillot@redhat.com</a>> writes:<br>
><br>
>> On 02/07/2016 12:21 AM, G Spot wrote:<br>
>><br>
>>> Thanks for your response, am using ocf:pacemaker:controld resource<br>
>>> agent and stonith-enabled=false do I need to configure stonith device<br>
>>> to make this work?<br>
>><br>
>> Correct. DLM requires access to fencing.<br>
><br>
> I've ment to explore this connection for long, but never found much<br>
> useful material on the subject. How does DLM fencing fit into the<br>
> modern Pacemaker architecture? Fencing is a confusing topic in itself<br>
> already (fence_legacy, fence_pcmk, stonith, stonithd, stonith_admin),<br>
> then dlm_controld can use dlm_stonith to proxy fencing requests to<br>
> Pacemaker, and it becomes hopeless... :)<br>
><br>
> I'd be grateful for a pointer to a good overview document, or a quick<br>
> sketch if you can spare the time. To invoke some concrete questions:<br>
> When does DLM fence a node? Is it necessary only when there's no<br>
> resource manager running on the cluster? Does it matter whether<br>
> dlm_controld is run as a standalone daemon or as a controld resource?<br>
> Wouldn't Pacemaker fence a failing node itself all the same? Or is<br>
> dlm_stonith for the case when only the stonithd component of Pacemaker<br>
> is active somehow?<br>
<br>
</span>DLM is a thing onto itself, and some tools like gfs2 and clustered-lvm<br>
use it to coordinate locking across the cluster. If a node drops out,<br>
the cluster informs dlm and it blocks until the lost node is confirmed<br>
fenced. Then it reaps the lost locks and recovery can begin.<br>
<br>
If fencing fails or is not configured, DLM never unblocks and anything<br>
using it is left hung (by design, better to hang than risk corruption).<br>
<br>
One of many reasons why fencing is critical.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" rel="noreferrer" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without<br>
access to education?<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>