[Linux-HA] Re: Integrating OCF framework w/ (Net|Free)BSD rc.d

Alan Robertson alanr at unix.sh
Thu May 18 21:44:10 PDT 2006


Brian A. Seklecki wrote:
> 
> On Tue, 16 May 2006, joerg at britannica.bec.de wrote:
> 
>> On Tue, May 16, 2006 at 01:35:51PM -0400, Brian A. Seklecki wrote:
>> [SNIP]
>>>
>>> I'm interested in any discussion / thoughts on a strategy or apporach 
>>> for
>>> coding OCF compatibility / integration into our rc.d/ system
>>
>> Oh my god, another over-complicated Linux "standard" which uses the
> 
> A lot of this goes without saying.  However, Linux-HA is the only 
> available, portable Failover Management Software (FMS) available for 
> POSIX compliant systems.  It's under active development and the 2.x 
> branch has some game.
> 
> I'm not talking about changing any default behavior, I'm asking what the 
> best strategy would be to put hooks in place to easily enable 
> "compatibility" mode.
> 
> Adding new commands is easy with $extra_commands, but changing return 
> codes requires some if[]'s in-tree.  An extra couple of cycles blown 
> isn't that bad of a tradeoff to bring high availability (HA) / failover 
> features to *BSD.

You could also provide a different plugin in lieu of lsb for the BSD 
systems.  It wouldn't be that hard.  Or we could even leave it the same, 
but change the return code mappings when compiled with some option or 
another...

This is all done through plugins.

-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the freebsd-rc mailing list