Subject: Re: [Linux-HA] Integrating OCF framework w/ (Net|Free)BSD rc.d
To: Alan Robertson <alanr@unix.sh>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-userlevel
Date: 05/31/2006 13:11:08
Alan Robertson wrote:
> Brian A. Seklecki wrote:
>>
>> What is OCF? The extensions required to make any RC script register a
>> system service as a Cluster Resource in the Linux-HA infrastructure.
>>
>> For those of you unfamiliar with OCF, please refer to the draft
>> standard at:
>> http://www.opencf.org/cgi-bin/viewcvs.cgi/specs/ra/resource-agent-api.txt?rev=HEAD
>>
>> http://linux-ha.org/HeartbeatResourceAgent
>> http://linux-ha.org/LSBResourceAgent
>> http://linux-ha.org/OCFResourceAgent
>> http://linux-ha.org/ResourceAgentSpecs
>>
>> Fortunately, our rc.d system infrastructure is sufficiently extensible
>> in nature to easily mitigate the need for duplicate OCF script coding
>> efforts by Port maintainers.  Existing in-tree and Ports-provided
>> rc.d/ compliant scripts can be extended with very little effort.
> 
> OK.  You don't have to write OCF scripts if you don't want to.  BUT, for
> R2, you really do want something equivalent to "status" operations.  Is
> that available in *BSD rc.d scripts?

/etc/rc.d/<script> status

Does that do what you want?

-- 
Gillette - the best a man can forget