Hi ,

I got a problem when starting a failover ip ocf:heartbeat resource 
IPaddr and
the problem seems to be that the /findif/ (version 2.99.1) command 
always return 1 when
starting the resource. So I tried it manually and got an error that I 
don't understand :
/usr/lib64/heartbeat/findif *12.13.0.1*

/usr/lib64/heartbeat/findif version 2.99.1 Copyright Alan Robertson

Usage: /usr/lib64/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

and $?=1

whereas ifconfig displays:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP 
qlen 1000
    link/ether 00:31:22:da:8a:1a brd ff:ff:ff:ff:ff:ff
    inet *12.13.0.1*/16 brd 12.13.255.255 scope global eth0
  etc.

I can't find where is the problem ?

Thanks for your help.
Regards.
Alain Moullé

_______________________________________________
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