LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

2 node virtual server with webstone.

To: linux-virtualserver@xxxxxxxxxxxx
Subject: 2 node virtual server with webstone.
From: g4165217@xxxxxxxxxxxxxxxxxxxx
Date: Wed, 10 Mar 1999 00:39:24 -0700
Hello,
I have test vs-0.8 with 2 server (with local node, tunneling feature, weighted 
round robin)
and I set it up as this...

*** Server 1 (load balancer + web server)
- IP add. = 192.168.0.2
- virtual IP eth0:0 = 192.168.0.1
        echo "1" > /proc/sys/net/ipv4/ip_forward
        ifconfig eth0:0 192.168.0.1 netmask 255.255.255.192 arp up
        ippfvsadm -A -t 192.168.0.1:80 -R 192.168.0.2 -w 1
        ippfvsadm -A -t 192.168.0.1:80 -R 192.168.0.3 -w 1
        ifconfig tunl0 192.168.0.1 up

*** Server 2 (web server)
- IP add. = 192.168.0.3
        ifconfig tunl0 192.168.0.1 up

I test it with webstone on the other machine ... yep, it work ... but the load 
is not well balance
(server 1 's load is 40, server 2 is 0.2)  ... and the webstone result is too 
lower than 1 server 
(170 Connections /s compare to 600+ Connections /s) ... I can't figure out why 
it's too low ...
but when I run "ifconfig" it show that the tunnel interface on server 2 is 
never used ( TX:0 RX:0 )?

                                                                Regards,
                                                                Nartpong.

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