[ale] Linux-HA to convert a slave to a master

Matty matty91 at gmail.com
Fri Mar 5 15:15:40 EST 2010


On Thu, Mar 4, 2010 at 9:10 PM, Chris Fowler
<cfowler at outpostsentinel.com> wrote:
> I've loaded Heartbeat from the Linux-HA project and I'm starting to
> think it is overkill for what I'm trying to do.
>
> I have a 2 server configuration running in our data center.   One is a
> master and one a slave.  I want to have a heartbeat between them using a
> x-over ethernet cable on eth1 and if the master  is no longer responsive
> I want the heartbeat program to execute a perl script that I write.  I
> started compiling Heartbeat and Glue from the Linux-HA project and I
> believe it is a bit much for what I want.
>
> Any suggestions?   I can easily write a perl ping daemon but I've ran
> into situations where the Linux kernel would respond to ping but be
> blocking in disk IO due to a failed drive.

What service are you trying to make HA? You could always add a
resource to run when a fail-over occurs, and make sure that runs
before the other resources you define.

- Ryan
--
http://prefetch.net



More information about the Ale mailing list