On Sat, Dec 24, 2005 at 04:46:02PM +0700, Eugene Konev wrote: > Package: heartbeat > Version: 1.2.3-9sarge4 > Severity: important > > > The script uses ifconfig to find interfaces and ifconfig only shows first 9 > characters of interface name. Thus, if aliased interface name has more than 9 > symbols (and original has more than 7) IPaddr fails to release the ip and > heartbeat immediately reboots machine. > > Sample session: > [EMAIL PROTECTED]:~# sh /etc/ha.d/resource.d/IPaddr 10.4.99.9 start > 2005/12/24_16:14:38 info: /sbin/ifconfig nic1.499:1 10.4.99.9 netmask > 255.255.255.0 broadcast 10.4.99.255 > 2005/12/24_16:14:38 info: Sending Gratuitous Arp for 10.4.99.9 on nic1.499:1 > [nic1.499] > 2005/12/24_16:14:38 /usr/lib/heartbeat/send_arp -i 1010 -r 5 -p > /var/lib/heartbeat/rsctmp/send_arp/send_arp-10.4.99.9 nic1.499 10.4.99.9 auto > 10.4.99.9 ffffffffffff > > [EMAIL PROTECTED]:~# sh /etc/ha.d/resource.d/IPaddr 10.4.99.9 stop > 2005/12/24_16:15:21 info: /sbin/route -n del -host 10.4.99.9 > SIOCDELRT: No such process > 2005/12/24_16:15:21 info: /sbin/ifconfig nic1.499: down > SIOCSIFFLAGS: Cannot assign requested address > 2005/12/24_16:15:21 WARN: IP Address 10.4.99.9 NOT released > > I'd suggest switching the default ip script to IPaddr2 on linux platforms > which uses ip and doesn't have this limitation.
Yes, please specify IPaddr2 in your haresources file instead of IPaddr. -- Horms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

