LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS problem
From: "Andy Harding" <andy.harding@xxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Sep 2003 18:28:21 +0100 (BST)
What happens if you take a server real server down? Is the other used then?

You set persistence to 60 so it will keep sending you to the same server
until it times out? How long have you left it between tries?

> 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
> _______________________________________________
> 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
>

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