[ClusterLabs] implementation of fence and stonith agents for pacemaker

Digimer lists at alteeve.ca
Thu Aug 13 17:19:30 UTC 2015


Ah, yes. If it's a RHEL/CentOS machine, put it in /usr/sbin/. If it's
another OS, locate fence_ipmilan and put your agent in the same directory.

digimer

On 13/08/15 01:03 PM, Kostiantyn Ponomarenko wrote:
> 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
> <mailto: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 <mailto: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
> 
> 
> 
> 
> _______________________________________________
> 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
> 


-- 
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