[Pacemaker] How to create OCF Resource Agents

Dejan Muhamedagic dejanmm at fastmail.fm
Wed May 13 09:56:42 EDT 2009


Hi,

On Wed, Apr 29, 2009 at 04:07:09PM -0400, Paul Osier wrote:
> What should I put in for the meta-data? Sorry, if that's a dumb
> question, I'm still trying to learn this.

There's the Dummy OCF RA which should be a good starting point to
create your own RA.

Thanks,

Dejan

> -----Original Message-----
> From: Thomas Mueller [mailto:thomas at chaschperli.ch] 
> Sent: Wednesday, April 29, 2009 11:07 AM
> To: pacemaker at clusterlabs.org
> Subject: Re: [Pacemaker] How to create OCF Resource Agents
> 
> On Wed, 29 Apr 2009 11:12:46 -0400, Paul Osier wrote:
> 
> > No, I don't. Will this line work?
> > 
> > <action name="validate-all"	timeout="30s" />
> > 
> 
> 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 why pacemaker/heartbeat was 
> failing all the time... 
> 
> - Thomas
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker



More information about the Pacemaker mailing list