I did the next test with tcpdump like you say me
with my browser configured with the ip 172.16.42.50 for proxy (director IP)
I tried to www.lunuxvirtualserver.org
tcpdump host 172.16.42.240 <------- proxy server
receive these messages
tcpdump: listening on fxp0
21:33:28.601803 240.42.16.172.in-addr.arpa.8080 >
21.41.16.172.in-addr.arpa.40911: S 2010096823:2010096823(0) ack 1171853965
win 5792 <mss 1460,sackOK,timestamp 4349059 481026444,nop,wscale 0> (DF)
21:33:21:33:28.601803 240.42.16.172.in-addr.arpa.8080 >
21.41.16.172.in-addr.arpa.40911: S 2010096823:2010096823(0) ack 1171853965
win 5792 <mss 1460,sackOK,timestamp 4349059 481026444,nop,wscale 0> (DF)
what it means that server and director are up (i thnk so), but, why my
browser does get www.linuxvirtualserver.org ?????
thanks again you have helped me very much
On Tuesday 18 November 2003 19:42, you wrote:
> On Tue, Nov 18, 2003 at 03:06:10PM -0600, Rafa Morales P. wrote:
> > I have 2 questions.
> >
> > 1. Can I put 2 directors y 3 realservers ??????. This is for add more
> > security, so if a realserver or a director downs, I have the other
> > director or realserver.
>
> I am not sure that I understand the question, but I suspect the answer is
> yes.
>
> > 2. I want to install the LVS for proxy services, and I've setup a
> > director and 2 proxy servers (listen 8080 port), I did this.
> > # check ipvs and I get the next.
> > lsmod | grep
> >
> > Module Size Used by Not tainted
> > ip_vs_wlc 1636 1 (autoclean)
> > ip_vs 83192 2 (autoclean) [ip_vs_wlc]
> >
> > # Then I do this
> > ipvsadm -A -t 172.16.42.50:8080 -s wlc
> > # and
> > ipvsamd -a -t 172.16.42.50:8080 -r 172.16.42.240 -i -w 1
>
> ipvsamd -> ipvsadm :-)
>
> > # where 172.16.42.50 is the director and 172.16.42.240 is the squid
> > server # and I run ipvsadm
> >
> > IP Virtual Server version 1.0.7 (size=4096)
> > Prot LocalAddress:Port Scheduler Flags
> > -> RemoteAddress:Port Forward Weight ActiveConn InActConn
> > TCP Director1:webcache wlc
> > -> 240.42.16.172.in-addr.arpa:webcache Tunnel 1 0 0
> >
> >
> > Now when I put 172.16.42.50 in a browser. the browser does not work out.
> > Someone help me please.
>
> We can see that there is 1 ActiveConn, presumably from your browser.
> Run tcpdump on the linux director and squid server to trace
> the connection. This should indicate where the packets are
> getting lost/dropped/whatever.
|