Re: [Pacemaker] Full API description for Fence Agent

2013-07-08 Thread Andrew Beekhof
the agent and config. I'm glad you've got it working, but its hard to discuss whether an agent is correct/sane without knowing more about it. > > Additions and corrections welcome for all > fence agent programmers. > > Best regards > Andreas Mock > > > &

Re: [Pacemaker] Full API description for Fence Agent

2013-07-08 Thread Andreas Mock
ns and corrections welcome for all fence agent programmers. Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Andrew Beekhof [mailto:and...@beekhof.net] Gesendet: Montag, 8. Juli 2013 05:27 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] Full API descriptio

Re: [Pacemaker] Full API description for Fence Agent

2013-07-07 Thread Andrew Beekhof
ds >> Andreas >> >> -Ursprüngliche Nachricht- >> Von: Digimer [mailto:li...@alteeve.ca] >> Gesendet: Dienstag, 11. Juni 2013 15:34 >> An: The Pacemaker cluster resource manager >> Cc: Andreas Mock >> Betreff: Re: [Pacemaker] Full API descrip

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Digimer
On 04/07/13 05:24, Andreas Mock wrote: Hi digimer, I would like to take your offer and asking the following: The API documents says nothing about the correct way of giving messages back to the stonith daemon. So, what is the right way to write error/warn/info messages. Looking at the scripted

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Digimer
On 04/07/13 08:31, Andreas Mock wrote: Hi Digimer, hi all, there is a little thing in the API doc which is also unclear to me. It says: "[...] status - this is not implemented by most agents nor used by fenced at this time. Return values: 0 if the fence device is reachable and the port is

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
quot;? Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Andreas Mock [mailto:andreas.m...@web.de] Gesendet: Donnerstag, 4. Juli 2013 11:25 An: 'Digimer'; 'The Pacemaker cluster resource manager' Betreff: Re: [Pacemaker] Full API description for Fence Agent

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] Full API description for Fence Agent On 04/07/2013, at 7:24 PM, Andreas Mock wrote: > Hi digimer, > > I would like to take your offer and asking the following: > > The API documents says nothing about the correct

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andrew Beekhof
e Pacemaker cluster resource manager > Cc: Andreas Mock > Betreff: Re: [Pacemaker] Full API description for Fence Agent > > 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 o

Re: [Pacemaker] Full API description for Fence Agent

2013-07-04 Thread Andreas Mock
: Digimer [mailto:li...@alteeve.ca] Gesendet: Dienstag, 11. Juni 2013 15:34 An: The Pacemaker cluster resource manager Cc: Andreas Mock Betreff: Re: [Pacemaker] Full API description for Fence Agent Hi Andreas, The metadata section of the document has not been added yet, but we are aware of it

Re: [Pacemaker] Full API description for Fence Agent

2013-06-15 Thread Lars Marowsky-Bree
On 2013-06-15T08:26:33, Andrew Beekhof wrote: > > (I'm not sure I get the second point. Even the "old" cluster-glue > > scripts were executable from the commandline?) > The RH ones are executable directly, not relying on separate command line > utils. Well, you can call the cluster-glue ones di

Re: [Pacemaker] Full API description for Fence Agent

2013-06-14 Thread Andrew Beekhof
On 15/06/2013, at 12:25 AM, Lars Marowsky-Bree wrote: > On 2013-06-14T10:50:21, Andrew Beekhof wrote: > >> If I had my way, they'd >> - have env variables the same as OCF >> - be executable from the command line like the RH ones > > (I'm not sure I get the second point. Even the "old" cluster

Re: [Pacemaker] Full API description for Fence Agent

2013-06-14 Thread Lars Marowsky-Bree
On 2013-06-14T10:50:21, Andrew Beekhof wrote: > If I had my way, they'd > - have env variables the same as OCF > - be executable from the command line like the RH ones (I'm not sure I get the second point. Even the "old" cluster-glue scripts were executable from the commandline?) > - avoid the

Re: [Pacemaker] Full API description for Fence Agent

2013-06-13 Thread Andrew Beekhof
On 14/06/2013, at 6:26 AM, Digimer wrote: > On 06/13/2013 10:51 AM, Lars Marowsky-Bree wrote: >> On 2013-06-11T09:34:10, Digimer wrote: >> >>> If you have any trouble, please don't hesitate to ask here and we will do >>> our best to help. >> >> I wonder what the perspective is on standardiz

Re: [Pacemaker] Full API description for Fence Agent

2013-06-13 Thread Digimer
On 06/13/2013 10:51 AM, Lars Marowsky-Bree wrote: On 2013-06-11T09:34:10, Digimer wrote: If you have any trouble, please don't hesitate to ask here and we will do our best to help. I wonder what the perspective is on standardizing on one fencing API. Both the "old" cluster-glue one and th

Re: [Pacemaker] Full API description for Fence Agent

2013-06-13 Thread Lars Marowsky-Bree
On 2013-06-11T09:34:10, Digimer wrote: > If you have any trouble, please don't hesitate to ask here and we will do > our best to help. I wonder what the perspective is on standardizing on one fencing API. Both the "old" cluster-glue one and this one are remarkably similar (except for passing i

Re: [Pacemaker] Full API description for Fence Agent

2013-06-11 Thread Digimer
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

[Pacemaker] Full API description for Fence Agent

2013-06-11 Thread Andreas Mock
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 wh