[Pacemaker] Full API description for Fence Agent

Digimer lists at alteeve.ca
Tue Jun 11 09:34:10 EDT 2013


Hi Andreas,

   The metadata section of the document has not been added yet, but we 
are aware of it missing and are working to add it. The rest of the 
document is accurate though. If you build an agent to follow that API, 
it will work with red hat's cluster and pacemaker.

   In the meantime, it's not ideal, but if you call any other fence 
agent and pass '-o metadata', you will see the output that the cluster 
expects. It should be easy to adapt to your new agent.

   If you have any trouble, please don't hesitate to ask here and we 
will do our best to help.

digimer

On 06/11/2013 07:04 AM, Andreas Mock wrote:
> Hi all,
>
> we need to implement a fence_agent (stonith agent) for
> cman/corosync/pacemaker (RHEL 6.x). I found the following documentation
> https://fedorahosted.org/cluster/wiki/FenceAgentAPI
>
> But in this document the required metadata action is not
> described. Can anybody point me to a documentation which
> is complete?
>
> Where is the schema of the xml returned by 'metadata'?
>
> What has to be done that a fence_agent can also be used
> by pacemaker?
>
> What is the right return code of action 'metadata'?
>
> Is there some explanation how the stonith/fence parts
> play together?
>
> Best regards
> Andreas Mock
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> 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 Pacemaker mailing list