LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Manualy killed link Keepalived

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Manualy killed link Keepalived
From: Alex Senin <alex@xxxxxxxxxxxxxxx>
Date: Thu, 28 Feb 2002 14:02:58 +0200
ip link set down dev eth2 down - works. But with this command
I also kill all ip-addresses and aliases that belongs to this device.
But need to kill just virtual_ipaddress.

Roberto Nibali wrote:
Hi,

If I manualy kill virtual_address ( ip addr del 10.0.0.233 dev eth2 ) on
the first computer ( MASTER ) , as keepalived daemon on the BACKUP didn't recognize that something happaned with MASTER , and didn't up
virtual_ipaddress.

How explain it, where the BUG ???


Well, I give it a try. I don't know about the internals of keepalived but I guess that it might only check for the link state which in your case would still be UP. You can check that if you do:

ip addr del 10.0.0.233 dev eth2 && ip link set dev eth2 down

If it works then, this was the problem, if not, I'm sure Alexandre will happily help you.

Maybe you can send an 'ip link show dev eth0' and 'ip addr show dev eth2' before and after your test.

Cheers,
Roberto Nibali, ratz




_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users



--
Alex Senin
System Engineer
Bladefusion, Ltd.
6 Magshimim St. P.O.Box 7086
Israel 49127

Main    972-3-9127010
Fax     972-3-9217011




<Prev in Thread] Current Thread [Next in Thread>