LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Redirect Question

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Redirect Question
From: Ben Barringer <BBarringer@xxxxxxxxxxxx>
Date: Thu, 18 Jan 2001 12:31:57 -0500
# telnet 192.168.25.18 80 
Trying 192.168.25.18...
telnet: Unable to connect to remote host: Connection refused 

The RealServer never sees the request. 

So far the only thing I Have found is: If i turn off telnet, on the
Director, I can no longer telnet to the 192.168.21.18 23 on the RealServer.
Why is that? 

-----Original Message-----
From: Joseph Mack [mailto:mack.joseph@xxxxxxx]
Sent: Thursday, January 18, 2001 12:12 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Redirect Question


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>