ethtool is a way to detect link state from the command line, but if the right NIC goes down, I need to give up HB_ALL_RESOURCES, so I don't see a way to do this w/out writing code. Please let me know if I am missing a clue.
Is this easy with v2, hard w/v1? On 10/24/08 1:55 PM, "Brian Reichert" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 12:25:32PM -0700, tje wrote: >> I'm in a situation where I don't have an address that can work as a ping >> address (don't ask). In this case I really just want to detect if the >> freakin ethernet link is gone. I've looked at how ipfail works inside, and >> I've looked at the description of pingd options - both seem to require a >> node to ping. > > 'ethtool eth0' will report if the NIC detects a link. Is that good enough? > >> >> Jeff >> _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
