LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Real Server not balancing to the backup server

To: Xavier Mertens <xavier@xxxxxxxxxxxxxx>
Subject: Re: Real Server not balancing to the backup server
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Fri, 27 Apr 2001 12:44:48 +0300 (EEST)
        Hello,

On Fri, 27 Apr 2001, Xavier Mertens wrote:

> Hi,
>
> I've the following config:
>
> RealServer (Linux box 2.2.16-22) with two nodes configured to reveive
> RADIUS traffic. Weight are set to force a kind of fail over:
>
> UDP  radius-vs:rad-auth rr
>   -> hades:rad-auth Route   1      0          1
>   -> virgo:rad-auth Route   65535  0          0
> UDP  radius-vs:rad-acct rr
>   -> hades:rad-acct Route   1      0          1
>   -> virgo:rad-acct Route   65535  0          0
>
> I wrote a small daemon which monitors the 2 RADIUS servers and issues
> "ipvsadm -(a|d)" in case of troubles with one of the RADIUS.
>
> Problem: once the daemon removed the node "hades" (weight 1), the traffic
> is NOT forwarded to virgo (weight 65535)! Any idea? If a few minutes later,
> hades is back, the traffic is still send to this host.

        Any effect from ipchains -M -S 0 0 10 executed in the LVS box?
May be you can reduce the UDP timeout even more in your setup.
May be there are still UDP entries that are not timed out after you
delete the real server.

> Regards,
> Xavier
>
> --
> Xavier Mertens      &Wanadoo Belgium  "Contrary to popular belief, Unix is
> NOC Manager         a subsidiary of   userfriendly. It just happens to be
> XM1-6BONE XM3-RIPE  France Telecom    selective about who it makes friends 
> with"


Regards

--
Julian Anastasov <ja@xxxxxx>



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