LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS problem
From: S P <sage_newbie@xxxxxxxxx>
Date: Sun, 7 Sep 2003 12:13:33 -0700 (PDT)
Hi,
I have connected 2 linux boxes, which are configured a
both router & web servers. Given below is the nework
layout


LinuxBox1 : eth0 - 192.168.1.100 (Public network)
            eth1 - 1.2.3.2 (Private network)

LinuxBox2 : eth0 - 192.168.1.101
            eth1 - 1.2.3.3

192.168.1.107 (Virtual IP eth0:1)
1.2.3.254 (nat IP eth1:1)

The failover services are working perfectly fine, but
the LVS is not working. I have selected round-robin
scheduling, but everytime just 1 server is accessed.
Attached is the lvs.cf

Thanks for any help,
SP

service = lvs
primary = 192.168.1.100
backup = 192.168.1.101
backup_active = 1
heartbeat = 1
heartbeat_port = 1050
keepalive = 6
deadtime = 18

rsh_command = ssh
network = nat
nat_router = 1.2.3.254 eth1:1

virtual server1 {
        address = 192.168.1.107 eth0:1
        active = 1
        load_monitor = uptime
        timeout = 5
        reentry = 10
        port = 80
        send = "GET / HTTP/1.0\r\n\r\n"
        expect = "HTTP"
        scheduler = rr
        persistent = 60
        pmask = 255.255.255.255
        protocol = tcp

        server Real1 {
                address = 1.2.3.2
                active = 1
                weight = 1000
        }

        server Real2 {
                address = 1.2.3.3
                active = 1
                weight = 1000
        }
}






__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>