Hi,

On Wed, May 07, 2008 at 08:33:57AM +0200, Andrew Beekhof wrote:
> On Wed, May 7, 2008 at 4:53 AM, Wayne Hannam <[EMAIL PROTECTED]> wrote:
> > How does the GUI determine if an RA should have a class of OCF or HEARTBEAT.

Also, make sure that the agent is under $OCF_ROOT (typically
/usr/lib/ocf). All scripts in /etc/ha.d/heartbeat are considered
to be of class heartbeat. LSB agents live in /etc/init.d.

Thanks,

Dejan

> 
> 
> your resource definition tells the cluster this information with the
> "class" variable
> 
> eg.
> <primitive id="foo" class="ocf" provider="heartbeat" type="apache"/>
> 
> vs.
> 
> <primitive id="foo" class="lsb" type="apache"/>
> 
> or
> 
> <primitive id="foo" class="heartbeat" type="apache"/>
> 
> >  ?
> >
> >
> >
> >  The reason I ask is that it would appear that none of my attributes are
> >  being passed to my RA script, and I'm wondering if it is because my RA has 
> > a
> >  class of heartbeat, not ocf.
> >
> >
> >
> >  Thanks
> >
> >  Wayne
> >
> >  _______________________________________________
> >  Linux-HA mailing list
> >  [email protected]
> >  http://lists.linux-ha.org/mailman/listinfo/linux-ha
> >  See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to