LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Usage of ipvsadm

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Usage of ipvsadm
From: "Takeo Shibata" <shibata@xxxxxxxxxx>
Date: Tue, 15 Oct 2002 15:28:34 -0700
Hi I just construct the clustering environment
following
"My example for testing virtual server via tunneling"
from
http://www.linuxvirtualserver.org/VS-IPTunneling.html

Conveniently, Linux 8 has already has ipvsadm and
kernel is build for load balancing using ip tunnel.

It works fine.
But only thing is that
load balancer cannnot detect if the real server is working fine or not.

Whether the real server is on or off, whether connection between load
balancer and a real server
is ok or not, the real server try to forward the request to dead server.

Are ther any way or algorizm to check if server specific port can be
connected and
select the server?

The configuration of load balancer

ipvsadm -A -t 192.168.1.245:8080 -s lblc
ipvsadm -a -t 192.168.1.245:8080 -r 192.168.1.112 -i
ipvsadm -a -t 192.168.1.245:8080 -r 192.168.1.240 -i

When both 192.168.1.112 and 192.168.1.240 are working, it is ok.
But once I stop the 8080 service on 192.168.1.240 for example, and then
try to connect to 192.168.1.245 with 8080,
it seems to try to forward dead 192.168.1.240.

The samething is true for disconnectiong cable between 192.168.1.245 and
192.168.1.240.

Is this for the limitation of ipvsadm command or
there is somethign wrong?

Tak



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