[lvs-users] LVS not working in suse linux

Henrique Fernandes sf.rique at gmail.com
Tue Aug 3 15:48:10 BST 2010


>From 192.168.1.1 try

$ links http://192.168.1.2/teste.html

Or with other browser;

What is your response ?

[]'sf.rique


On Tue, Aug 3, 2010 at 9:14 AM, s.shannathan <s.shannathan at gmail.com> wrote:

>
> Hi i bit new to LVS and today i tried to configure LVS to load balance my
> two
> web servers. But i could not make it to work.
>
> This is my configuration.
>
> LVS Load balancer Real    ip - 192.168.1.1
> LVS Load balancer Virtual ip - 10.1.1.1 ( configured as eth0:1 )
>
> Web Server-1 Real IP - 192.168.1.2
> Web Server-2 Real IP - 192.168.1.3
>
> # cat /etc/sysctl.conf
>
> net.ipv4.ip_forward = 1
>
> # cat /etc/ha.d/ldirectord.cf
> checktimeout=3
> checkinterval=5
> autoreload=yes
> logfile="/var/log/ldirectord.log"
> quiescent=yes
> virtual=10.1.1.1:80
>        fallback=127.0.0.1:80
>        real=192.168.1.2:80 gate
>        real=192.168.1.3:80 gate
>        service=http
>        request="test.html"
>        receive="test"
>        scheduler=wlc
>        protocol=tcp
>        checktype=negotiate
>
>
> This is my ipvsadm -L output..
>
>  # ipvsadm -L
> IP Virtual Server version 1.2.1 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  10.1.1.1:http wlc
>  -> 192.168.1.2:http            Route   1      0          0
>  -> 192.168.1.3:http            Route   1      0          0
>
> Can some one tell what mistake i done. because i did not getting the web
> page. my network is 192.168.1.0/24 network only. also i added 10 series ip
> in client machine but still not got the web page.
>
>
> --
> View this message in context:
> http://old.nabble.com/LVS-not-working-in-suse-linux-tp29334711p29334711.html
> Sent from the LVS mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>



More information about the lvs-users mailing list