On 2007-07-06T14:33:41, Michael Stiller <[EMAIL PROTECTED]> wrote:
> > It is documented inside the IPaddr RA's metadata. You set it as part of
> > the instance attributes for the resource, like everything else.
> i tried old-style (1.x) heartbeat config. This worked ok so far, besides
> mentioned attributes. I'll look at the new-style config now.
v1-style only exposes the attributes which were present in v1 before, I
think. The lack of flexibility in the legacy v1-scripts is one of the
reasons why we're using OCF now ... The wrappers are a
legacy-compatibility thingy.
> > Thanks for pointing this out!
> Maybe this should be rewritten, sometimes cut -d' ' is used, sometimes
> awk, looks a bit akful. I guess all should use the same method (awk).
Well, cut is faster. But yes, it should be consolidated and standarized.
I even guess that this can be done using shell substitution so we don't
have to call awk/sed/cut for those simple cases ... Feel free to send us
a patch ;-)
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems