Yep. Ping is not a reliable test. Better to actually use the slave to probe the master for the same functionality the master is supposed to be serving. Likewise setup a watchdog process on the master to look at the slave for a confirmation file. If it&#39;s present, all is ok. If it&#39;s missing, restart the process and flag a counter. Wait an appropriate restart time and retest the slave for confirmation. If it still missing, signal the slave for imminent shutdown and call a halt.<br>
<br><div class="gmail_quote">On Thu, Mar 4, 2010 at 9:10 PM, Chris Fowler <span dir="ltr">&lt;<a href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve loaded Heartbeat from the Linux-HA project and I&#39;m starting to<br>
think it is overkill for what I&#39;m trying to do.<br>
<br>
I have a 2 server configuration running in our data center.   One is a<br>
master and one a slave.  I want to have a heartbeat between them using a<br>
x-over ethernet cable on eth1 and if the master  is no longer responsive<br>
I want the heartbeat program to execute a perl script that I write.  I<br>
started compiling Heartbeat and Glue from the Linux-HA project and I<br>
believe it is a bit much for what I want.<br>
<br>
Any suggestions?   I can easily write a perl ping daemon but I&#39;ve ran<br>
into situations where the Linux kernel would respond to ping but be<br>
blocking in disk IO due to a failed drive.<br>
<br>
Chris<br>
<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness         <br><br>