LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Redirect Question

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Redirect Question
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 18 Jan 2001 12:11:56 -0500
Ben Barringer wrote:
> 
> I am trying to get a simple load balancing setup on my boxes. I can't get
> the HTTP to redirect/forward. However Telnet redirect works fine. I can't
> figure out why the telnet redirect is working and the HTTP is not.



> 4. configure ipvsadm on the LVS  So ipvsadm -L -n looks like this.
> 
> IP Virtual Server version 0.9.11 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
> TCP  192.168.25.18:23 wlc persistent 360
>      -> 192.168.25.16:23            Route   1      0          0
>      -> 192.168.25.17:23            Route   1      0          0
> TCP  192.168.25.18:80 wlc persistent 360
>       -> 192.168.25.16:80            Route   1      0          0
>       -> 192.168.25.17:80            Route   1      0          0

When you say you can't get HTTP to redirect/forward, what do you
get at the client end?

What happens when you do

telnet VIP 80
GET /

I would imagine with persistent connection, that with an http
client you would just get the one real-server all the time.

Joe



-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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