[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: resources by andrew from
Andrew Beekhof (GMail)
beekhof at gmail.com
Tue Apr 12 00:51:19 MDT 2005
On Apr 11, 2005, at 9:49 PM, Lars Marowsky-Bree wrote:
> On 2005-04-11T18:01:17, Andrew Beekhof <beekhof at gmail.com> wrote:
>
>>> It's either running and no special handling is required, or it is
>>> broken or stopped. This doesn't make any sense at all.
>>>
>>
>> Not true (i think), it might be running on the loopback device which
>> might mean its running or its stopped - depending on what OS we're on
>> and if we're trying to support LVS. I added "i think" because to be
>> honest I dont quite understand what the LVS requirements are.
>>
>> Previously the RA was echoing "loopback" and parsing that which was a
>> little yucky.
>
> Yeah, but basically, being configured on "loopback" didn't count as
> running. And, that makes sense, because that just meant the IP was in
> "standby" mode for LVS.
Thanks for the clarification... I've updated IPaddr accordingly and I
was
able to ditch the OCF_SUCCESS_VARIANT rubbish.
>
> And yes, I did never really like that support in IPaddr, but it was
> needed if you wanted the box to be both a real server (ie, a load
> balancing target) in LVS Direct Routing mode (which required the IP
> address to be bound locally somewhere, ie on loopback), and capable of
> failing over to become the LVS DR load balancer itself (in which case
> it
> needed to be moved to a real ethernet interface).
>
> Probably, that yucky support should not be handled under the covers but
> really as a "lvs_dr_magick" configuration option.
Look for the lvs_support parameter I added a few days ago.
>
>> But then if the status operation is returning a non-OCF_SUCCESS
>> "success", then I figured the least we could do was standardize it...
>> I'm definitely open to better ideas.
>
> See above ;-)
>
>
> Sincerely,
> Lars Marowsky-Brée <lmb at suse.de>
>
> --
> High Availability & Clustering
> SUSE Labs, Research and Development
> SUSE LINUX Products GmbH - A Novell Business
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
>
--
Andrew Beekhof
"Eating fruit is mean and vicious... keep your hands off Golden
Delicious" - TISM
More information about the Linux-HA-Dev
mailing list