[ClusterLabs] Antw: How to implement a fencing agent

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Aug 9 01:59:10 EDT 2018

>>> Ryan Thomas <developmentrjt at gmail.com> schrieb am 08.08.2018 um 23:26 in
<CAE_QAjkDx15bR=eb12jCxLX9e0BaGex+zjsTztWQnOugwsKK3w at mail.gmail.com>:
> I’m attempting to implement a fencing agent.
> The ClusterLabs/fence-agent github repo has some helpful information
> including fence-agents/doc/FenceAgentAPI.md, but I haven’t found the
> answers to a few basic questions.

Personally I think a specification should not recommend any library to use,
but state in simple and precise words what the thing (=fencing agent) is
expected to do.
Inspecting the source of SBD I found out thate there is too much undocumented
magic implemented.


>    1. The documentation encourages the use of the python fencing library.  
> How
>    does one install this?
>    2. How to a “register” the agent so it shows up in the “pcs stonith
>    list” output, and the “stonith_admin –list-installed” output?  So, I can
>    use my new agent?
> Thanks,
> Ryan

More information about the Users mailing list