Re: [Pacemaker] How to create OCF Resource Agents

2009-05-13 Thread Dejan Muhamedagic
ejan > -Original Message- > From: Thomas Mueller [mailto:tho...@chaschperli.ch] > Sent: Wednesday, April 29, 2009 11:07 AM > To: pacema...@clusterlabs.org > Subject: Re: [Pacemaker] How to create OCF Resource Agents > > On Wed, 29 Apr 2009 11:12:46 -0400, Paul Osier wrot

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-29 Thread Paul Osier
What should I put in for the meta-data? Sorry, if that's a dumb question, I'm still trying to learn this. -Original Message- From: Thomas Mueller [mailto:tho...@chaschperli.ch] Sent: Wednesday, April 29, 2009 11:07 AM To: pacema...@clusterlabs.org Subject: Re: [Pacemaker] How

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-29 Thread Thomas Mueller
On Wed, 29 Apr 2009 11:12:46 -0400, Paul Osier wrote: > No, I don't. Will this line work? > > > if you provide the "validate-all" function you have to add this action to the meta-data. I just remembered that I once announced it in meta-data and don't provided the function. then i wondered w

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-29 Thread Paul Osier
No, I don't. Will this line work? Thanks. -Original Message- From: Thomas Mueller [mailto:tho...@chaschperli.ch] Sent: Wednesday, April 29, 2009 1:24 AM To: pacema...@clusterlabs.org Subject: Re: [Pacemaker] How to create OCF Resource Agents On Tue, 28 Apr 2009 11:23:22 -0400,

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-29 Thread Thomas Mueller
On Tue, 28 Apr 2009 11:23:22 -0400, Paul Osier wrote: > I ran that and it just says: > > * rc=3: Your agent does not support the validate-all action > > I thought validate-all was optional. But, that being the case, how do I > set it up? My script should just start/stop/monitor SER, there are no

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-28 Thread Paul Osier
maker and how it works. Thanks. -Original Message- From: Dominik Klein [mailto:d...@in-telegence.net] Sent: Monday, April 27, 2009 11:47 PM To: pacemaker@oss.clusterlabs.org Subject: Re: [Pacemaker] How to create OCF Resource Agents Paul Osier wrote: > I'm trying to create an

Re: [Pacemaker] How to create OCF Resource Agents

2009-04-27 Thread Dominik Klein
Paul Osier wrote: > I'm trying to create an OCF resource agent that will start/stop/monitor > SER. I've read through the opencf.org resource agent api doc and the > wiki.linux-ha.org OCF resource agent doc and all those documents talk > about is what is needed in the resource agent, not necessari

[Pacemaker] How to create OCF Resource Agents

2009-04-27 Thread Paul Osier
I'm trying to create an OCF resource agent that will start/stop/monitor SER. I've read through the opencf.org resource agent api doc and the wiki.linux-ha.org OCF resource agent doc and all those documents talk about is what is needed in the resource agent, not necessarily how to format/create it.