On 2006-06-22T13:30:18, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:

> > Just FYI, I'm attaching the resource agent which I wrote a couple of
> > years ago for Oracle + SGI FailSafe. Maybe there's some ideas in there
> > which are useful to you. Just so it doesn't get lost.
> This is not unknown to me. I did some research before :)

Great! That's really amazing work you're doing there.

> What is interesting is how to stop Oracle. I opted for shutdown
> abort with a checkpoint before. According to the Oracle doc
> shutdown abort should be safe. alter system checkpoint makes it
> then start faster.

Seems reasonable, yes.

> > (There were also SAP R/3, SAP DB, SAP router, Informix, DB2 agents for
> > FailSafe, in case you want to write one for that too, you might find
> > that helpful.)
> SAP is interesting and with v2 we may be able to support the
> weird SAP setups :)

I assume you've got the FailSafe sources then, so I don't need to send
them to you.

The sap agent signal_sap(), signal_all_sap(), find_all_children()
functions, I'm still sort of proud of those ;-)

The check_db() function probably can benefit quite nicely from hb2's
ability to order start-up even across node boundaries, that will be
useful.

s2_run_command was also a quite useful tool provided in the FailSafe
shellscript wrappers; timeouts, run as user, etc... Sometimes I miss
that when writing OCF RAs nowadays.


Sincerely,
    Lars Marowsky-Brée

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business     -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to