[ClusterLabs] implementation of fence and stonith agents for pacemaker

Digimer lists at alteeve.ca
Tue Aug 11 15:21:48 UTC 2015


On 11/08/15 11:17 AM, Kostiantyn Ponomarenko wrote:
> Hi guys,
> 
> Is there any documentation which describes implementation of fence and
> STONITH agents like those ones for Resource Agents?:
>     http://www.linux-ha.org/wiki/OCF_Resource_Agents
>     http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html
> 
> I am particular interested in the arguments which are passed to a
> stonith resource by stonithd.
> Is there any guidelines what arguments it has to handle and where it
> must be put (which directories are allowed)?
> 
> So far I found this http://linux.die.net/man/7/stonithd .
> But for example, it is not clear for me how
> "pcmk_host_check=dynamic-list" which is "(query the device)" works. Do I
> need to handle some action in my stonith agent for that parameter?
> 
> 
> Thank you,
> Kostya

This is the API;

https://fedorahosted.org/cluster/wiki/FenceAgentAPI

It needs to be updated to reflect the need for agents to output the XML
metadata. For now, you should be able to see the format needed by
looking at the metadata output of existing FAs.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the Users mailing list