nevermind
i found the reason.
the host name of 192.168.10.2 was setted on
192.168.10.1
restarting apache i noticed that
--- massimiliano conteduca <paladino72@xxxxxxxxx>
wrote:
> hi all,
> i thought to setup correctly an LVS using 1 director
> and 2 real server.
> using ipvsadm -L :
> TCP 192.168.1.2: http rr
> -> 192.168.10.1:http masq
> -> 192.168.10.2:http masq
>
> using ipvsadm -L -n --stats
> TCP 192.168.1.2:80 7468 54414 outpkts inbyte outbyte
> -> 192.168.10.2:80 3734 27207 outpkts inbyte outbyte
> -> 192.168.10.1:80 3734 27207 outpkts inbyte outbyte
>
> ive value for outpkts inbyte and outbyte
> so LVS seems working .
>
> using ipvsadm -L -n --connection
> i notice a strange behaviour
> all the connections redirected to 192.168.10.2 have
> the state=CLOSE and expire=00:05 or less
>
> i unplugged the network cable from 192.168.10.1
> and nothing is working anymore, the webpage is not
> displayed.
>
> i removed the ipvsadm entry for 192.168.10.1
> and in this case i get error :connection refused
>
> i checked with iptables -L -v all realservers and
> director, the only DROP policy has been applied to
> port 22
>
> doing iptables -L -v on 192.168.10.2 it shows that
> only 6 packet are in INPUT!! (how it is possible if
> ipvsadm redirect thousand of them to this
> realserver?)
>
> what ive to do? whats wrong ?
>
> thank you
>
> ps.
> im using Fedora Core 3
> i did all the check from external client non in lan
> of lvs-nat
> _______________________________________________
> LinuxVirtualServer.org mailing list -
> lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to
> lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to
> http://www.in-addr.de/mailman/listinfo/lvs-users
>
|