[ClusterLabs] implementation of fence and stonith agents for pacemaker

Kostiantyn Ponomarenko konstantin.ponomarenko at gmail.com
Thu Aug 13 13:03:56 EDT 2015


Sorry, I should be more clear.
I mean the place where I must put my agent so it is visible to the cluster.
For example I know that you need to put your agent into /usr/sbin/ and
start its name with "fence_" in order to get it visible to the cluster.
So I want to know the rules, are there other places which I also can put my
agent in and get it visible to the cluster?

Thank you,
Kostya

On Thu, Aug 13, 2015 at 5:34 PM, Digimer <lists at alteeve.ca> wrote:

> On 13/08/15 07:54 AM, Kostiantyn Ponomarenko wrote:
> > Digimer,
> >
> > Thank you. I will try this out.
> > One more question. What about directories for those agents, what rules
> > are here?
> >
> > Thank you,
> > Kostya
>
> I'm not entirely sure I understand the question, sorry. What do you mean
> by "directories for those agents"? If you're asking about implementation
> details like language to use, etc, there are no rules. Python and bash
> are the most common languages, I think, but I write my fence agents in
> perl just fine. I think a couple are even in C.
>
> I suspect that python is the language upstream maintainer are happier
> with, but as beekhof said in the RA script; the person doing the work
> gets to make the decisions. :)
>
> If I didn't answer your question, please clarify.
>
> --
> 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?
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150813/04d66785/attachment-0003.html>


More information about the Users mailing list