Hello,
> Am I on the right track - do I need to dump Piranha and use a script
> instead?
We're biased here; if you say dump Piranha 99.99% of us nod :). Custom-made
solutions always fit needs more exactly. Sometimes driving a square peg
into a circular hole can be taxing.
> If so are there some good boiler-plate scripts for this sort
> of thing in the public domain?
Keepalived (http://www.keepalived.org) has a "call external script" option.
I can't remember what it was, but Ultramonkey (http://www.ultramonkey.org)
has one as well - maybe in the heartbeat portion. The venerable "Mon
solution" (http://www.linuxvirtualserver.org/HighAvailability.html) is also
an option.
P
|