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.
--
Horms
|