Hi Lars, hi all, > -----Ursprüngliche Nachricht----- > Von: "Lars Marowsky-Bree" <[EMAIL PROTECTED]> > Gesendet: 27.08.08 18:19:37 > An: General Linux-HA mailing list <[email protected]> > Betreff: Re: [Linux-HA] Run custom scripts after resource start/stop > > It _is_ built in. > > Create your own RA, and tie it into the dependency tree as you need it.
I just laughed when I read this as I thought exactly this when I read the initial question on the mailing list. :-) Despite that you have to emphasize the following: What do you do if the piece of code in the "do-it-after-resource-start/stop-hock" has an error? What do you send back as result code? What happens if the "do-it-after-resource-start/stop-hock" lets the whole script die? Using a "real" RA for that let's you use the full meachanisms of failure detection and appropriate reaction on this failures. Someone on this list once created a OCF-RA-Template/Wrapper which shall allow you to write a RA with less effort. Best regards Andreas Mock _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
