LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: What Hapen ??

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: What Hapen ??
From: "Rafa Morales P." <rmorales@xxxxxxxxxxxx>
Date: Mon, 24 Nov 2003 14:04:55 -0600
I have tried all !!!! and I can not get to work my LVS :((((.
i tried now by the configure script and the result is this


[root@Director2 configure-lvs_0.9.4]# ./configure 
lvs_dr.conf.one_NIC_one_network
warning: ./configure has not been tested with kernel version 2.4.21
Here's has too many inputs2(Here's my /etc/hosts)
172.16.42.247 has too many inputs1(172.16.42.247 lvs)
172.16.42.240 has too many inputs1(172.16.42.240 RS1)
172.16.42.56 has too many inputs1(172.16.42.56 RS2)
parse_hostname: error: gethostbyname failure - Couldn't lookup hostname lvs : 
No such file or directory

if I do by hand configuring ipvsadm is the same I can not

[root@Director1 root]# ipvsadm -A -t 172.16.42.247:8080 -s rr
[root@Director1 root]# ipvsadm -a -t 172.16.42.247:8080 -r 172.16.42.240:8080 
-m
[root@Director1 root]# ipvsadm
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  Director1:webcache rr
  -> Squid2:webcache              Masq    1      0          0

[root@Director1 root]# echo "1" > /proc/sys/net/ipv4/ip_forward


All seems ok, but when I try to connect with a client (eg. konqueror ) just 
fail all :((
I saw all connections (telnet, ping), ports (8080 in server and LVS). I use 
standar kernel 2.4.21 with linux-2.4.21-ipvs-1.0.10.patch, 
hidden-2.4.20pre10-1.diff and  ipvsadm-1.21.tar.gz.
Something I did after rebuild the kernel with the patches is untar 
ipvs-1.0.10.tar.gz and I did all README says on ../ipvs-1.0.10/ipvs

Is something wrong ????? one thing more, in the realservers I patched them 
with linux-2.4.21-ipvs-1.0.10.patch and hidden-2.4.20pre10-1.diff , I know 
that qith hidden patch is enough but I still did it so.

Someone help me please
<Prev in Thread] Current Thread [Next in Thread>