<div dir="ltr"><div>Digimer,<br></div><div><br></div>Thank you. I will try this out.<div>One more question. What about directories for those agents, what rules are here?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Thank you,<div>Kostya</div></div></div></div>
<br><div class="gmail_quote">On Tue, Aug 11, 2015 at 6:21 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"><div class="HOEnZb"><div class="h5">On 11/08/15 11:17 AM, Kostiantyn Ponomarenko wrote:<br>
> Hi guys,<br>
><br>
> Is there any documentation which describes implementation of fence and<br>
> STONITH agents like those ones for Resource Agents?:<br>
>     <a href="http://www.linux-ha.org/wiki/OCF_Resource_Agents" rel="noreferrer" target="_blank">http://www.linux-ha.org/wiki/OCF_Resource_Agents</a><br>
>     <a href="http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html" rel="noreferrer" target="_blank">http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html</a><br>
><br>
> I am particular interested in the arguments which are passed to a<br>
> stonith resource by stonithd.<br>
> Is there any guidelines what arguments it has to handle and where it<br>
> must be put (which directories are allowed)?<br>
><br>
> So far I found this <a href="http://linux.die.net/man/7/stonithd" rel="noreferrer" target="_blank">http://linux.die.net/man/7/stonithd</a> .<br>
> But for example, it is not clear for me how<br>
> "pcmk_host_check=dynamic-list" which is "(query the device)" works. Do I<br>
> need to handle some action in my stonith agent for that parameter?<br>
><br>
><br>
> Thank you,<br>
> Kostya<br>
<br>
</div></div>This is the API;<br>
<br>
<a href="https://fedorahosted.org/cluster/wiki/FenceAgentAPI" rel="noreferrer" target="_blank">https://fedorahosted.org/cluster/wiki/FenceAgentAPI</a><br>
<br>
It needs to be updated to reflect the need for agents to output the XML<br>
metadata. For now, you should be able to see the format needed by<br>
looking at the metadata output of existing FAs.<br>
<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>
<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>
</blockquote></div><br></div>