On Fri, Jun 08, 2012 at 02:07:17PM -0700, David Lang wrote:
> I just updated one of my systems to the 3.4 kernel and findif appears to be 
> failing (generic error)


And your version of the resource agents is?
Did you try current upstream (3.9.3)?

There has been a fix in February this year.

> how can I test it from the command line?

/usr/lib/heartbeat/findif

ERROR: IP address parameter is mandatory.
/usr/lib/heartbeat/findif version 2.99.1 Copyright Alan Robertson

Usage: /usr/lib/heartbeat/findif [-C]
Options:
    -C: Output netmask as the number of bits rather than as 4 octets.
    Environment variables:
    OCF_RESKEY_ip            ip address (mandatory!)
    OCF_RESKEY_cidr_netmask netmask of interface
    OCF_RESKEY_broadcast     broadcast address for interface
    OCF_RESKEY_nic           interface to assign to

See there.

OCF_RESKEY_ip=1.2.3.4 findif -C
br0     netmask 24      broadcast 1.2.3.255

Try adding more variables as listed by the help text above
to see what makes it work or fail.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to